$ python Python 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>
我想,例如:
$ python --quiet
>>>
$ python Python 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>
我想,例如:
$ python --quiet
>>>
我有一個啓動文件,所以這對我的作品:
python -i "$PYTHONSTARTUP"
儘管Python 3現在有一個-q
標誌:
python3 -q
僅供參考,看起來像兩年前可能已經添加到Python3 +的選項。 http://hg.python.org/cpython/rev/b7be652daf6e/ – sberry