Issue 1728488: -q (quiet) option for python interpreter (original) (raw)
I'd like to suggest the new option for python:
-q Do not print the version and copyright messages. These messages are also suppressed in non-interactive mode.
Why: I often use python as a calculator, for a couple-lines calculations, and would prefer to avoid having printed these three lines. There is a similar option in e.g. gdb.
AFAICS the implementation would require small changes in Modules/main.c, Misc/python.man and probably in other docs. If it would be accepted, I can do it.
Marcin