Re: Project directory management

2020-02-28 Thread Naveen Arora
Hi, from .. import abc is not working ? or somewhat like that. At last sys.path.append() is one of the solutions. Cheers, Naveen Arora On Friday, 28 February 2020 16:38:15 UTC+5:30, Devender Kumar wrote: > > Hi, > BTW it is flask app question. > > dir structure > service > config/__ini

Re: Project directory management

2020-02-28 Thread Agoua David
Since the flask app config is a singleton, I think you can just call it in your config/config.py module by import src/app.py if src is a package Le ven. 28 févr. 2020 à 11:09, Devender Kumar a écrit : > Hi, > BTW it is flask app question. > > dir structure > service > config/__init__.py >

Re: Project directory management

2020-02-28 Thread Andréas Kühne
If it is a flask app question, you should ask it on a flask mailing list. You will probably get better responses :-) Regards, Andréas Den fre 28 feb. 2020 kl 12:08 skrev Devender Kumar : > Hi, > BTW it is flask app question. > > dir structure > service > config/__init__.py > config/c

Project directory management

2020-02-28 Thread Devender Kumar
Hi, BTW it is flask app question. dir structure service config/__init__.py config/config.py src/app.py src/__init__.py Running the flask app by writing command python src/app.py Question: I want to access config parameter in flask app from config module of config package how