推荐学习书目
› 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
icedx
V2EX  ›  Python

Windows 和 OSX 自古两难全...

  •  
  •   icedx · Nov 2, 2014 · 4959 views
    This topic created in 4351 days ago, the information mentioned may be changed or developed.
    
    Supplement 1  ·  Nov 2, 2014
    问题已找到
    用xlrd 将xls 转换为csv 的时候, 两个系统输出csv 的用的换行符不同
    11 replies  •  2014-11-02 13:25:33 +08:00
    joyjoke2001
        1
    joyjoke2001  
       Nov 2, 2014
    .CSV 文件可以使用 Numbers 或则 FileMaker 等软件打开。
    icedx
        2
    icedx  
    OP
       Nov 2, 2014
    @joyjoke2001 这不是问题的关键啊 关键是同一个Python脚本 抓出来的却不一样
    canautumn
        3
    canautumn  
       Nov 2, 2014
    路径的斜杠错了?
    Sylv
        4
    Sylv  
       Nov 2, 2014
    文件名不同??
    icedx
        5
    icedx  
    OP
       Nov 2, 2014
    @Sylv 恩 OSX下都乱掉了
    @canautumn 斜杠很好...
    joyjoke2001
        6
    joyjoke2001  
       Nov 2, 2014   ❤️ 1
    @icedx - -那就没办法了。。。
    anjianshi
        7
    anjianshi  
       Nov 2, 2014   ❤️ 1
    @icedx 应该还是脚本哪里出了问题吧,要不没理由啊
    Sylv
        8
    Sylv  
       Nov 2, 2014   ❤️ 1
    没道理文件名会不同啊,贴文件命名相关代码出来看看吧
    zzNucker
        9
    zzNucker  
       Nov 2, 2014
    发现楼主很能挖坑
    icedx
        10
    icedx  
    OP
       Nov 2, 2014
    @zzNucker 做了一半客户才说是OSX...
    pH
        11
    pH  
       Nov 2, 2014
    =0= 总有些无法调和的事情
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   797 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 96ms · UTC 20:01 · PVG 04:01 · LAX 13:01 · JFK 16:01
    ♥ Do have faith in what you're doing.