How to run another python script?

rantingrick rantingrick at gmail.com
Mon Feb 14 16:56:53 CET 2011


On Feb 14, 9:51 am, Dan Lee <allbory.... at gmail.com> wrote:

> 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.

Simple: Make a call using the underlying os from the aptly named "os"
module (or other!). OR import BBB and execute the code.



More information about the Python-list mailing list