[Python] Can the Python interpreter welcome message be suppressed?

Discussão em 'Python' iniciado por Stack, Fevereiro 22, 2025.

  1. Stack

    Stack Membro Participativo

    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
    >>>

    Continue reading...

Compartilhe esta Página