python import



Looking at different way you can import python modules


Generally it begins by path to a module, for example, if you have a custom module, you can do something like this ::


from email.emailer import *


Hence 'from' keyword is for.  The asterisk tells python to import all.


Don't forget the __init__.py file







Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm