You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following file structure in Pythonista:
Program A
-includes
--includes.py
-Program A.py
Program B
-includes
--includes.py
-Program B.py
Program A.py from includes.includes import VARIABLE_A; print(VARIABLE_A)
includes.py in Program A-folder VARIABLE_A="A"
Program B.py from includes.includes import VARIABLE_B; print(VARIABLE_B)
includes.py in Program B-folder VARIABLE_B="B"
Now when I run Program A first I get the output "A" as expected. When I then run Program B without restarting Pythonista I get the following error: from includes.includes import VARIABLE_B ImportError: cannot import name 'VARIABLE_B' from 'includes.includes' (/private/var/mobile/Containers/Shared/AppGroup/F8EA7E25-9668-4A7B-882C-6A74E7C01FD7/Pythonista3/Documents/TestPythonistaIncludes/Program A/includes/includes.py)
I already tried deleting and reinstallting Pythonista, same behaviour.
Can you guys reproduce this? Is this a known bug?
The text was updated successfully, but these errors were encountered:
Hello!
I have the following file structure in Pythonista:
Program A
-includes
--includes.py
-Program A.py
Program B
-includes
--includes.py
-Program B.py
Program A.py
from includes.includes import VARIABLE_A; print(VARIABLE_A)
includes.py in Program A-folder
VARIABLE_A="A"
Program B.py
from includes.includes import VARIABLE_B; print(VARIABLE_B)
includes.py in Program B-folder
VARIABLE_B="B"
Now when I run Program A first I get the output "A" as expected. When I then run Program B without restarting Pythonista I get the following error:
from includes.includes import VARIABLE_B ImportError: cannot import name 'VARIABLE_B' from 'includes.includes' (/private/var/mobile/Containers/Shared/AppGroup/F8EA7E25-9668-4A7B-882C-6A74E7C01FD7/Pythonista3/Documents/TestPythonistaIncludes/Program A/includes/includes.py)
I already tried deleting and reinstallting Pythonista, same behaviour.
Can you guys reproduce this? Is this a known bug?
The text was updated successfully, but these errors were encountered: