Karim Ali wrote:
> def MAIN(expression2parse)<- add a main so can
> call from other script
Of course you don't mean you want another python interpreter to fire up
and run the other script?
Here is an example of the way to do what you are suggesting:
# mod1.py
def doit(
Hi,
I would really appreciate help on this. I have a script (s1.py) which I
would like to call from another script (s2.py). No problem there.
The first issue is that s1.py has a command line parser which I would like
to keep but instead of fetching the information from the command line, I
woul