Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 5th, 2013  |  syntax: Python  |  size: 0.10 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. def f():
  2.     a = 5
  3.     locals()["a"] = 6
  4.     print(a)
  5.  
  6. f()
  7. b = 5
  8. locals()["b"] = 6
  9. print(b)