Jun-27-2019, 05:53 AM
I am working to make a pyhton web framework, I make a package and installed that, and the main directory is in
venv/lib/python3.6/site-packages/main-folder ,
In the directort where venv is situated there I made a file and importing a module, that module is situated in the main-folder , but from parent directory i can't import that. I am working in virtual environment. Is there any way that I can easily import that needed stuff even though I am not in same directory as main-folder.
I want to import just like, import time
how to make my module so that it can be easily imported without copying directory to current path.?
venv/lib/python3.6/site-packages/main-folder ,
In the directort where venv is situated there I made a file and importing a module, that module is situated in the main-folder , but from parent directory i can't import that. I am working in virtual environment. Is there any way that I can easily import that needed stuff even though I am not in same directory as main-folder.
I want to import just like, import time
how to make my module so that it can be easily imported without copying directory to current path.?