Using switches with exec?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Premshree Pillai

    Using switches with exec?

    Hello,

    I need to run a Python program dynamically within
    another program. I am using exec for the purpose. Is
    there a way to pass parameter switches to exec?

    -Premshree
    [http://www.qiksearch.com/]

    _______________ _______________ _______________ _______________ ____________
    Yahoo! India Mobile: Download the latest polyphonic ringtones.
    Go to http://in.mobile.yahoo.com

  • Diez B. Roggisch

    #2
    Re: Using switches with exec?

    > I need to run a Python program dynamically within[color=blue]
    > another program. I am using exec for the purpose. Is
    > there a way to pass parameter switches to exec?[/color]

    You can pass a globals-dictionary to exec, which can hold the switches
    values.

    Diez

    Comment

    Working...