def function(): print var if __name__ == "__main__": var = 'value'