Skip to content

Instantly share code, notes, and snippets.

@b1naryth1ef
Created July 28, 2011 17:03
Show Gist options
  • Save b1naryth1ef/1111959 to your computer and use it in GitHub Desktop.
Save b1naryth1ef/1111959 to your computer and use it in GitHub Desktop.
Method 1: Eval()
def MyFunction(iny):
print iny
MyVar = MyFunction
eval('MyVar("hi!")')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment