I have a Python project with 2 files:epic.pysite.py
in the epic.py I have the lines
from site import *bark()
in site.py I have the lines
def bark(): print('arf!')
when I try to run epic.py, it returns "bark is not defined"
this is weird.
I have a Python project with 2 files:epic.pysite.py
in the epic.py I have the lines
from site import *bark()
in site.py I have the lines
def bark(): print('arf!')
when I try to run epic.py, it returns "bark is not defined"
this is weird.