How to run another python script?
jeanmichel at sequans.com
Mon Feb 14 19:55:32 CET 2011
Dan Lee wrote:
> I just knew what python is.
> Now I'm about to write backup script.Now I got 2 scripts.
> AAA : generate zip file
> BBB : delete old file.
> AAA is done.
> Now I'm going to code BBB file. and I will fix AAA to call BBB to
> delete dump file at the end.
> Please let me know How can I call the BBB file from AAA file.
> Thanks in advance.
In that case, code the delete function in AAA => No BBB file, problem
There is of course plenty of ways to execute BBB from AAA but that would
If you really want to write the BBB file, then write it, import it in
AAA and call the BBB.deleteOldFile function.
More information about the Python-list