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

python 里像 SimpleHTTPServer 这样可以直接当做脚本执行的模块还有哪些?

  •  
  •   yingluck ·
    zhao-ji · Aug 6, 2014 · 5454 views
    This topic created in 4325 days ago, the information mentioned may be changed or developed.
    9 replies    2014-08-07 21:23:50 +08:00
    limon
        1
    limon  
       Aug 6, 2014   ❤️ 1
    venv, ensurepip
    est
        2
    est  
       Aug 6, 2014   ❤️ 1
    python -m pdb xxxx.py

    调试神器。一般人我不告诉TA。
    ThunderEX
        3
    ThunderEX  
       Aug 6, 2014   ❤️ 1
    python -m timeit
    python -m calendar
    yingluck
        4
    yingluck  
    OP
       Aug 6, 2014
    @est 这个我一般直接 pdb XXX.py 这样用
    yingluck
        5
    yingluck  
    OP
       Aug 6, 2014
    @ThunderEX Linux 下 shell 也有条类似命令 cal , 不过是显示一个月,当天还有黑色标记
    dorentus
        6
    dorentus  
       Aug 6, 2014   ❤️ 1
    @yingluck
    其实 cal 也可以显示一年的,像这样:cal 2014
    xdata
        7
    xdata  
       Aug 6, 2014   ❤️ 2
    python -m json.tool
    例如 vim 下直接用这个格式化json..
    yjfuk
        8
    yjfuk  
       Aug 6, 2014   ❤️ 1
    echo '{"json":"obj"}' | python -m json.tool
    fay
        9
    fay  
       Aug 7, 2014
    python -m unittest 单元测试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4224 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 65ms · UTC 05:24 · PVG 13:24 · LAX 22:24 · JFK 01:24
    ♥ Do have faith in what you're doing.