Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. def f4(x):
  2. return x+x
  3.  
  4. f4("something")
  5.  
  6. with open("testme.py") as f:
  7. code = compile(f.read(), "testme.py", 'exec')
  8. exec(code, globals(), locals())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement