Passing command line argument to program from within IDLE?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Feb 4 19:09:28 EST 2010


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

-- 
Gabriel Genellina




More information about the Python-list mailing list