Advertisement
Guest User

Untitled

a guest
Jan 25th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. ****wow_much_useful_functions.py****
  2.  
  3. def foo(arg = CONSTANT)
  4.     var = $doing stuff with arg$
  5.     date = datetime.datetime.now()
  6.     return arg, date
  7. ************************************
  8. ***main.py***
  9. import wow_much_useful_functions
  10. import datetime
  11.  
  12. CONSTANT = 'anon'
  13.  
  14. result = wow_much_useful_functions.foo()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement