Trouble importing a Python module
Question: I have a Python project with 2 files: epic.py site.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.


Answer: Try renaming site.py to mysite.py or something like that because there is a
standard Python `site` module.

