On 02/14/2011 04:51 PM, Dan Lee wrote:
Hi.

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.

One possibility:

exec( "<PATH_TO_BBB>/BBB" )

Or make import of BBB module as below:

from BBB import main
BBB.main()

Regards
Karim

Please let me know How can I call the BBB file from AAA file.

Thanks in advance.
Dan

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to