I have a workspace structure like this:
folder
file1
file2
I want to import the variables of file1 to file 2. I am using python 3.7.6 on Anaconda Environment.
When I write in file 2
import file1
I get
Error: ModuleNotFoundError: No module named 'file1'
I have tried to save an empty file called __init__.ipynb
in the directory but it does not work.
I have tried:
from file1 import #variables
but I get this. Error
Thanks in advance.