python-import tag

2 questions


1 answers
147 views
0
Can I import the module again?

Without disrupting or restarting the Python serverThe module needs to be updated.If mymodule.py changes unimport mymoduleimport mymoduleOr If mymodule.py changes reimport mymoduleIs there a way to uni...


1 answers
136 views
0
I want to know how to import files in different folders

at application/app/folder1/file.pyHow do I import application/app2/folder2/import_file.py?from application.app.folder2.import_file import func_nameI thought this would work, but it's not working ㅜ


© 2024 OneMinuteCode. All rights reserved.