- 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.
推薦閱讀
- UNIX編程藝術
- Visual C++數字圖像模式識別技術詳解
- Mastering Rust
- 單片機應用與調試項目教程(C語言版)
- Webpack實戰:入門、進階與調優
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- MATLAB GUI純代碼編寫從入門到實戰
- Orleans:構建高性能分布式Actor服務
- Mastering Adobe Captivate 7
- Training Systems Using Python Statistical Modeling
- WildFly Cookbook
- 大學計算機應用基礎(Windows 7+Office 2010)(IC3)
- 黑莓(BlackBerry)開發從入門到精通
- WCF全面解析
- 秒懂算法:用常識解讀數據結構與算法