If I define a variable as the directory from which I will import a file, such as:
a = 'C:\Users\Windows 7\Desktop\Program10.py
If I try to from a import foo , I'm given ModuleNotFoundError: No module named 'a'.
In context,...
asked by
12.04.2018 / 14:09