Instead of:
$ 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. >>>
I'd like, for example:
$ python --quiet
>>>
You can try this:
$ python -ic ""
>>>
I have a startup file, so this works for me:
python -i "$PYTHONSTARTUP"
Although Python 3 now has a -q
flag:
python3 -q
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.