Running scripts within scripts

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Tue Jul 2 19:11:31 EDT 2002


"Todd" <todd_gable at invision.iip.com> writes:
> Is it posible for a python to call a second without importing a module? I
> don't really want to call os.system and have to include paths. Just call a
> second script in the same directory as the parent one.

You could say

  os.system("./other-script.py")

which doesn't need to include any paths.



More information about the Python-list mailing list