execute python file from another file
Posted
by ariel
on Stack Overflow
See other posts from Stack Overflow
or by ariel
Published on 2010-04-17T14:10:04Z
Indexed on
2010/04/17
14:13 UTC
Read the original article
Hit count: 395
Hi I have a python file that has functions and classes. now I am writting another program (in another file). and I want to start the new file with running the old file (with the function and classes). I have tried using exec(path_2_oldFile.pyw) but it didn't work.
thanks for any help Ariel
© Stack Overflow or respective owner