Excute script only from another file

Himanshu Garg hgarg.india at gmail.com
Mon Nov 25 05:52:46 EST 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