Multiple times python file import from different directories? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Multiple times python file import from different directories?

There are two different directories and I want to run function which is placed in different python file in different directory. I used sys.path.append(other directory )but it calls only for first time,

7th Apr 2020, 10:51 AM
Muhammad Saood Sarwar
Muhammad Saood Sarwar - avatar
0 Answers