Suppressing banner on interactive startup?

Tim Chase python.list at tim.thechases.com
Fri Jul 28 09:01:21 EDT 2006


> Change sys.ps1 and sys.ps2: <http://tinyurl.com/lgqth>.

Thanks!  I knew I had seen a solution to this involving something 
like ps1 and ps2, but the things I kept finding referred to the 
bash/sh PS1 and PS2 prompt level variables.  All it took was 
learning that they *really were* ps1 and ps2...just namespaced 
off into the sys module.

Works like a charm.

-tim





More information about the Python-list mailing list