OK I am doing some threading, and I guess when I started doing threading I assumed you can't return values like a definition (its the end of the day and my brain is about to die so maybe this is incorrect and I should start going back to get rid of global variables)
Anyway I have a test program to figure out why I can't modularize my code
a file called config.py
a_variable=0
a file called test_for_sean.py
from config import *
def blah():
global a_variable
a_variable=14
return 0
a file called main.py
from config import *
from test_for_sean import *
print a_variable #this prints correctly
blah()
print a_variable #this is still printing 0....
someone link me to something so I don't kill myself