Hai Friends ,
First I thank everyone , who give such support for newbie . When I started learning about creating custom module . Some Question raised in my mind .
In __init__.py , what are the module (or) sub-module to be imported ?
If my module _inherit another module , should i import the _inherit module in __init__.py ?
What is purpose of declaring the module in __init__.py ?
Please clarify my doubt & once again thanks for everyone .
Thanks & Regards OMPRAKASH.A
n __init__.py file the modules which u going to import are ...the business logic files, having extension .py , for sales.py .
There is no need of _inheriting the module in __init__.py file.
__init__.py is used to initialize your module and its mandatory in each and every module u create
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/20/13, 12:03 PM|
|Seen: 5384 times|
|Last updated: 4/11/16, 3:51 AM|