推荐学习书目
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 · 3283 views
    This topic created in 2537 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   ·   Solana   ·   951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 19:36 · PVG 03:36 · LAX 12:36 · JFK 15:36
    ♥ Do have faith in what you're doing.