This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benp
Recipients benp
Date 2019-03-10.14:17:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552227449.7.0.67751285833.issue36255@roundup.psfhosted.org>
In-reply-to
Content
To my knowledge and extensive research on the problem, there is no simple way to disable python's welcome message:

"""
Python 3.7.2 (default, Jan 13 2019, 12:50:01)
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
"""

It is appended to stdout before the execution of `PYTHONSTARTUP` and is very difficult to remove. This could be easily fixed by:

 1. Allowing modification of the welcome message in `PYTHONSTARTUP`
 2. Provide an option to disable it (IPython provides a `--no-banner` option to disable it)
 3. At least provide a documented way of disabling it without hijacking the shell.
History
Date User Action Args
2019-03-10 14:17:29benpsetrecipients: + benp
2019-03-10 14:17:29benpsetmessageid: <1552227449.7.0.67751285833.issue36255@roundup.psfhosted.org>
2019-03-10 14:17:29benplinkissue36255 messages
2019-03-10 14:17:29benpcreate