Posted on 19th August 2022|9 views
How to import a file from a subdirectory?
I have a file named sample located in my project, I have a subdirectory called lib, including a file called box.py, now I want to import box from sample how can I do this?
Posted on 19th August 2022
Try inserting it inside sys.path like this
STILL GOT QUERIES?
Copyright © 2013 - 2022 MindMajix Technologies