Starting Python from the terminal with no welcome message

alex goretoy agoretoy at gmail.com
Sun Feb 28 18:42:51 EST 2010


On Sun, Feb 28, 2010 at 5:23 PM, candide <candide at free.invalid> wrote:

> Hi,
>
> Does exist some option I could send to the python interpreter during an
> interactive session in order to avoid the printing of the  introductory
> message just above the top prompt ?
>
> In my case, the welcome message is the following :
>
> Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>
>
> gdb has such an option (the so-called quiet option).
>
>
> Compare this :
>
> $ gdb
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu".
> (gdb)
>
> with that
>
> $ gdb -q
> (gdb)
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

good idea, could be very useful. I don't think I recall seeing that option
in python.
+1

-Alex Goretoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100228/36480a91/attachment-0001.html>


More information about the Python-list mailing list