[ python-Feature Requests-1728488 ] -q (quiet) option for python interpreter
SourceForge.net
noreply at sourceforge.net
Fri Aug 3 04:06:52 CEST 2007
Feature Requests item #1728488, was opened at 2007-05-31 00:14
Message generated for change (Comment added) made by orsenthil
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1728488&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marcin Wojdyr (wojdyr)
Assigned to: Nobody/Anonymous (nobody)
Summary: -q (quiet) option for python interpreter
Initial Comment:
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
----------------------------------------------------------------------
Comment By: O.R.Senthil Kumaran (orsenthil)
Date: 2007-08-03 07:36
Message:
Logged In: YES
user_id=942711
Originator: NO
+1 for this option.
----------------------------------------------------------------------
Comment By: Raymond Hettinger (rhettinger)
Date: 2007-08-02 09:56
Message:
Logged In: YES
user_id=80475
Originator: NO
+1 I think this would be nice.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1728488&group_id=5470
More information about the Python-bugs-list
mailing list