According to this Question , it is said that to use a library or file from local folder, we use:
import sys
sys.path.append("/path/to/your/directory")
But what my doubt is that, is :
import sys
sys.path.append("/path/to/your/directory")
and:
locals()['path'].append("/path/to/your/directory")
and:
globals()['path'].append("/path/to/your/directory")
do the same function to import the directory files, or do vary by de-merits?
(I haven't seen any discussion about this anywere else)