Greetings list,

Let's say i import module1


import module1

can we do


module1()

straight out of the box?

If not i propose something like

if __name__ == '__main__':
    __file__.callable = True

Kind Regards,

Abdur-Rahmaan Janhangeer
github
Mauritius