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

Python 有什么可以直接操作 shell 的?

  •  
  •   viewsonic · Jun 22, 2019 · 3525 views
    This topic created in 2652 days ago, the information mentioned may be changed or developed.

    请指点,谢谢.

    4 replies  •  2019-06-28 16:30:25 +08:00
    leishi1313
        1
    leishi1313  
       Jun 22, 2019
    www.google.com/search?q=python 有什么可以直接操作 shell 的
    viewsonic
        2
    viewsonic  
    OP
       Jun 22, 2019
    不好意思,已经找到了, pythonshell 直接可以,替代 shell 更好.
    tchqiq
        3
    tchqiq  
       Jun 22, 2019
    subprocess
    Milker90
        4
    Milker90  
       Jun 28, 2019
    os.system(cmd_shell_str)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2556 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:27 · PVG 20:27 · LAX 05:27 · JFK 08:27
    ♥ Do have faith in what you're doing.