- 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.
推薦閱讀
- Java EE框架整合開發(fā)入門到實戰(zhàn):Spring+Spring MVC+MyBatis(微課版)
- Learning C++ Functional Programming
- Vue.js快跑:構(gòu)建觸手可及的高性能Web應(yīng)用
- Designing Hyper-V Solutions
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Kotlin從基礎(chǔ)到實戰(zhàn)
- Service Mesh實戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實踐
- Learning PHP 7
- Learning AWS
- Django 3.0應(yīng)用開發(fā)詳解
- Android嵌入式系統(tǒng)程序開發(fā)(基于Cortex-A8)
- Building Microservices with Go
- GO語言編程從入門到實踐
- Python程序員面試算法寶典
- 深度剖析ApacheDubbo核心技術(shù)內(nèi)幕