- Secret Recipes of the Python Ninja
- Cody Jackson
- 98字
- 2021-06-25 22:14:47
Utilizing Python command options
When used non-interactively, the Python interpreter monitors the command line and parses all input before the command is actually executed. The following snippet shows all the possible options available when calling Python from the command line:
python [-bBdEhiIOqsSuvVWx?] [-c command | -m module-name | script | - ] [args]
When working with a command line interface (CLI), examples of shell commands often show square brackets [] to indicate optional instructions. In this case, there are three groups of optional input that can be provided to the python command: generic options, interface options, and arguments.
推薦閱讀
- Learning Microsoft Windows Server 2012 Dynamic Access Control
- 圖解Java數據結構與算法(微課視頻版)
- Django開發從入門到實踐
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第2版)
- Mastering Unity Shaders and Effects
- 精通Scrapy網絡爬蟲
- PhpStorm Cookbook
- The DevOps 2.5 Toolkit
- Java程序設計案例教程
- Kotlin開發教程(全2冊)
- SQL Server 2008 R2數據庫技術及應用(第3版)
- Mastering Concurrency Programming with Java 9(Second Edition)
- Python Web自動化測試設計與實現
- Slick2D Game Development