How to run script from interpreter?

Mikael Olofsson mikael at isy.liu.se
Fri Jan 19 10:04:52 EST 2001


On 19-Jan-01 Rolander, Dan wrote:
 >  See, I knew it was something simple. Thanks for pointing me in the right
 >  direction!
 >  
 >  One more thing, is there a way to pass a command line parameter to the
 >  script named in execfile? Say if I have a script to test which expects a
 >  value in sys.argv[1]?

I'm afraid that's beyond me. You'll have to wait for someone else to
jump in.

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael               
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    19-Jan-01
Time:    16:03:21

         /"\
         \ /     ASCII Ribbon Campaign
          X      Against HTML Mail
         / \

This message was sent by XF-Mail.
-----------------------------------------------------------------------




More information about the Python-list mailing list