推荐学习书目
› 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 · 5819 views
    This topic created in 4488 days ago, the information mentioned may be changed or developed.
    9 replies  •  2014-08-07 21:23:50 +08:00
    limon
    limon
    Aug 6, 2014❤️1
    1
    venv, ensurepip
    est
    est
    Aug 6, 2014❤️1
    2
    python -m pdb xxxx.py

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