V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
bestehen
V2EX  ›  Python

Python 打开 xlsx 文件的问题

  •  
  •   bestehen · 2018-08-07 18:11:59 +08:00 · 1897 次点击
    这是一个创建于 2082 天前的主题,其中的信息可能已经有所发展或是发生改变。

    [<Cell 'Table1'.A1971>, <Cell 'Table1'.B1971>, <Cell 'Table1'.C1971>, <Cell 'Table1'.D1971>, <Cell 'Table1'.E1971>, <Cell 'Table1'.F1971>, <Cell 'Table1'.G1971>, <Cell 'Table1'.H1971>, <Cell 'Table1'.I1971>]

    我打 xlsx 文件 的格式是这样的,这是为啥呢?和我看到的内容不一样

    求问是为啥

    3 条回复    2018-09-07 15:02:40 +08:00
    hannibalm
        1
    hannibalm  
       2018-08-07 21:53:18 +08:00 via Android
    用 pandas 读 excel
    hjq98765
        2
    hjq98765  
       2018-08-08 10:30:51 +08:00
    你是怎么打开的,别告诉我是 f = open('aaa.xlsx', 'r')
    jeadong
        3
    jeadong  
       2018-09-07 15:02:40 +08:00
    这题我会 233333
    试试看 xlrd 库?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2723 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:09 · PVG 12:09 · LAX 21:09 · JFK 00:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.