Skip to content

Instantly share code, notes, and snippets.

@williamsjj
Created October 23, 2010 22:59
Show Gist options
  • Select an option

  • Save williamsjj/642796 to your computer and use it in GitHub Desktop.

Select an option

Save williamsjj/642796 to your computer and use it in GitHub Desktop.
def main():
def inner1():
global domain_name
domain_name = "hi"
inner2()
def inner2():
print domain_name
domain_name = ""
inner1()
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment