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

欲将一整套项目迁移、部署到 Python3 去 ~ 有没有特别需要注意的事情?

  •  
  •   Feiox ·
    feiox · Jul 24, 2014 · 3115 views
    This topic created in 4335 days ago, the information mentioned may be changed or developed.
    自己玩 Py3K 好久了,感觉处理中文字符串和字典数据结构时,效率比 Python 2 好一些。
    那么,将一整套项目迁移到 Python 3 ,回付出什么代价,有哪些需要注意的点呢?
    PS. 目前用的是 Flask 0.11 框架。
    4 replies    2014-07-26 09:46:51 +08:00
    izoabr
        1
    izoabr  
       Jul 24, 2014
    找个测试机,跑一下试试,幻想下直接就跑起来了呢
    jakwings
        2
    jakwings  
       Jul 25, 2014
    cdwyd
        3
    cdwyd  
       Jul 25, 2014
    主要看你用到哪些第三方库了
    Feiox
        4
    Feiox  
    OP
       Jul 26, 2014
    @cdwyd 结巴分词,NLTK ~ 主要是语义分析相关库 ~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2663 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 10:30 · PVG 18:30 · LAX 03:30 · JFK 06:30
    ♥ Do have faith in what you're doing.