<!DOCTYPE html>
<!-- saved from url=(0047)https://www.cnblogs.com/DTCLOUD/p/17138471.html -->
<html lang="zh-cn" style="--olcb-folder-code-block-max-height: 80vh; --cnb-code-bg: rgb(245, 245, 245); --cnb-code-font-size: 12px; --cnb-code-color: rgb(68, 68, 68);"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="origin-when-cross-origin">
<meta name="description" content="@(文章目录) python读取excel表数据的方法:首先安装Excel读取数据的库xlrd;然后获取Excel文件的位置并且读取进来;接着读取指定的行和列的内容,并将内容存储在列表中;最后运行程序即可。 python读取excel表数据的方法: 安装Excel读取数据的库 xlrd 直接pip ">
<meta property="og:description" content="@(文章目录) python读取excel表数据的方法:首先安装Excel读取数据的库xlrd;然后获取Excel文件的位置并且读取进来;接着读取指定的行和列的内容,并将内容存储在列表中;最后运行程序即可。 python读取excel表数据的方法: 安装Excel读取数据的库 xlrd 直接pip ">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>python如何读取excel表数据 - 中亿丰数字科技 - 博客园</title>
<link rel="canonical" href="https://www.cnblogs.com/DTCLOUD/p/17138471.html">
<link rel="shortcut icon" id="favicon" href="https://assets.cnblogs.com/favicon.svg?v=2" type="image/svg+xml">
<style>#home :not(.cnblogs_code):not(.cnblogs_Highlighter)>pre:not([highlighted]):not([class*="brush:"]) code:not(.hljs), :not(.cnblogs_code):not(.cnblogs_Highlighter)>pre:not([highlighted]):not([class*="brush:"]) code:not(.hljs) {background: rgb(245, 245, 245);
padding: 12px;
border: 1px solid rgb(204, 204, 204);
border-radius: 3px;
border-color: transparent;
color: rgb(68, 68, 68);
font-family: "Courier New", sans-serif;
font-size: 12px</style><link rel="stylesheet" href="./python如何读取excel表数据_files/blog-common.min.css">
<link id="MainCss" rel="stylesheet" href="./python如何读取excel表数据_files/bundle-bluesky.min.css">
<link id="highlighter-theme-cnblogs" type="text/css" rel="stylesheet" href="./python如何读取excel表数据_files/cnblogs.css">
<link id="mobile-style" media="only screen and (max-width: 767px)" type="text/css" rel="stylesheet" href="./python如何读取excel表数据_files/bundle-bluesky-mobile.min.css">
<link type="application/rss+xml" rel="alternate" href="https://www.cnblogs.com/DTCLOUD/rss">
<link type="application/rsd+xml" rel="EditURI" href="https://www.cnblogs.com/DTCLOUD/rsd.xml">
<link type="application/wlwmanifest+xml" rel="wlwmanifest" href="https://www.cnblogs.com/DTCLOUD/wlwmanifest.xml">
<script>
var currentBlogId = 781981;
var currentBlogApp = 'DTCLOUD';
var isLogined = false;
var isBlogOwner = false;
var skinName = 'BlueSky';
var visitorUserId = '';
var hasCustomScript = false;
window.cb_enable_mathjax = false;
window.mathEngine = 1;
window.codeHighlightEngine = 1;
window.enableCodeLineNumber = false;
window.codeHighlightTheme = 'cnblogs';
window.darkModeCodeHighlightTheme = 'vs2015';
window.isDarkCodeHighlightTheme = false;
window.isDarkModeCodeHighlightThemeDark = true;
window.isDisableCodeHighlighter = false;
window.enableCodeThemeTypeFollowSystem = false;
window.enableMacStyleCodeBlock = false;
</script>
<script>
window.currentPostId = 17138471;
window.currentPostDateAdded = '2023-02-20 18:28';
</script>
<script src="./python如何读取excel表数据_files/jquery-3.3.1.min.js.下载"></script>
<script src="./python如何读取excel表数据_files/blog-common.min.js.下载"></script><style>.medium-zoom-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
transition: opacity 300ms;
will-change: opacity;
}
.medium-zoom--opened .medium-zoom-overlay {
cursor: pointer;
cursor: zoom-out;
opacity: 1;
}
.medium-zoom-image {
cursor: pointer;
cursor: zoom-in;
/*
The `transition` is marked as "!important" for the animation to happen
even though it's overriden by another inline `transition` style attribute.
This is problematic with frameworks that generate inline styles on their
images (e.g. Gatsby).
See https://github.com/francoischalifour/medium-zoom/issues/110
*/
transition: transform 300ms cubic-bezier(0.2, 0, 0.2, 1) !important;
}
.medium-zoom-image--hidden {
visibility: hidden;
}
.medium-zoom-image--opened {
position: relative;
cursor: pointer;
cursor: zoom-out;
will-change: transform;
}
</style><script id="hljs-script" src="./python如何读取excel表数据_files/highlight.min.js.下载" type="text/javascript" async=""></script>
<meta property="og:image" content="https://assets.cnblogs.com/logo_square.png"></head>
<body class="skin-bluesky has-navbar hljs-engine">
<a name="top"></a>
<div id="bannerbar" class="bannerbar-mobile bannerbar-text-mobile formobile">
<a href="https://www.cnblogs.com/cmt/p/18094172" onclick="countCreativeClicks('M2-博客园-鼠标垫')" rel="nofollow">
<img src="./python如何读取excel表数据_files/35695-20240115080910898-1157541931.jpg" alt="" onload="countCreativeImpressionsOnMobile('M2-博客园-鼠标垫')">
<span id="m2_impression" style="display:none"></span>
</a>
</div>
<div id="top_nav" class="navbar forpc">
<nav id="nav_main" class="navbar-main">
<ul id="nav_left" class="navbar-list navbar-left">
<li class="navbar-branding">
<a href="https://www.cnblogs.com/" title="开发者的网上家园" role="banner">
<img src="./python如何读取excel表数据_files/logo.svg" alt="博客园Logo">
</a>
</li>
<li><a href="https://cnblogs.vip/">会员</a></li>
<li><a href="https://cnblogs.vip/store">周边</a></li>
<li>
<a href="https://news.cnblogs.com/" onclick="countClicks('nav', 'skin-navbar-news')">新闻</a>
</li>
<li>
<a href="https://q.cnblogs.com/" onclick="countClicks('nav', 'skin-navbar-q')">博问</a>
</li>
<li>
<a href="https://www.cnblogs.com/cmt/p/18172236" target="_blank">融资</a>
</li>
<li><a href="https://market.cnblogs.com/" target="_blank">云市场</a></li>
</ul>
<ul id="nav_right" class="navbar-list navbar-right">
<li>
<form id="zzk_search" class="navbar-search dropdown" action="https://zzk.cnblogs.com/s" method="get" role="search">
<input name="w" id="zzk_search_input" placeholder="代码改变世界" type="search" tabindex="3" autocomplete="off">
<button id="zzk_search_button" onclick="window.navbarSearchManager.triggerActiveOption()">
<img id="search_icon" class="focus-hidden" src="./python如何读取excel表数据_files/search.svg" alt="搜索">
<img class="hidden focus-visible" src="./python如何读取excel表数据_files/enter.svg" alt="搜索">
</button>
<ul id="navbar_search_options" cl
没有合适的资源?快使用搜索试试~ 我知道了~
python如何读取excel表数据.rar
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共24个文件
svg:9个
css:4个
下载:4个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
0 下载量 42 浏览量
2024-05-17
10:21:04
上传
评论
收藏 544KB RAR 举报
温馨提示
python读取excel数据 python读取excel表数据的方法:首先安装Excel读取数据的库xlrd;然后获取Excel文件的位置并且读取进来;接着读取指定的行和列的内容,并将内容存储在列表中;最后运行程序即可。
资源推荐
资源详情
资源评论
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/HTML.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/JPG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/JPG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/SVG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
共 24 条
- 1
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/31acff919e6f4722ba5673807dfa9840_weixin_44188399.jpg!1)
![avatar-vip](https://csdnimg.cn/release/downloadcmsfe/public/img/user-vip.1c89f3c5.png)
比特流1024
- 粉丝: 1984
- 资源: 185
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)