Importing from within package

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Wed Sep 23 14:41:13 EDT 2020


In shopyo/shopyo (the same folder as __main__.py) there is a folder called
shopyoapi.

What i want is to import create_module from cmd.py from shopyoapi in
__main__.py but it does not work or more precisely i am looking how to make
it work!

Since this is not py2 i guess no init needed in shopyoapi

Kind Regards,


Abdur-Rahmaan Janhangeer

https://www.github.com/Abdur-RahmaanJ

Mauritius

sent from gmail client on Android, that's why the signature is so ugly.


More information about the Python-list mailing list