Running file on global variables

Viewed 104

So this is a piece of the code:

global episode = "Episode404"
import testing
reload (testing)
#or
python testing.py

testing.py:

def doIt():
    print episode
doIt()

And this throws me

# Error: invalid syntax # 

I'm guessing this is because I'm trying to pass a global variable and run? How can I fix this?

2 Answers
Related