Excute script only from another file

Himanshu Garg hgarg.india at gmail.com
Mon Nov 25 11:52:46 CET 2013

I was also thinking to add a sys argument when invoking script and check it.

My motive is "I will give scripts to somebody else and he should not run the script directly without running the parent script".

More information about the Python-list mailing list