Sorry not if name == main, basically

if module is being imported:
    __file__.callable = True

Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/7BNX3PATUD3PPMNZGGNZT4AV2RDCHG6L/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to