Passing command line argument to program from within IDLE?

Steve Holden steve at holdenweb.com
Thu Feb 4 19:20:38 EST 2010


Gabriel Genellina wrote:
> En Thu, 04 Feb 2010 20:46:52 -0300, John Bokma <john at castleamber.com>
> escribió:
>> John Bokma <john at castleamber.com> writes:
> 
>>>>>> On 2/4/2010 3:55 PM, Alan Biddle wrote:
>>>>>>> Just finishing my first Python (2.6 on Win XP)  program, which is
>>>>>>> working fine.  My "Duh?" question is about how to run it from within
>>>>>>> IDLE and pass it command line arguments.
> 
>>> I guess that Terry means that a solution that makes it possible to
>>> specify in IDLE *outside* of the Python code the arguments would be
>>> better. Hardcoding the command line arguments isn't something I would do
>>> for testing.
>>
>> Oops, that should've been Steve, my apologies.
> 
> See http://bugs.python.org/issue5680
> 
So we've had a patch since April and it still didn't make it into 3.1?
That's disappointing. I wonder if there's any chance it'll get into 2.7.

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010  http://us.pycon.org/
Holden Web LLC                 http://www.holdenweb.com/
UPCOMING EVENTS:        http://holdenweb.eventbrite.com/




More information about the Python-list mailing list