Advertisement
dequone

demko

Nov 10th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. import os
  2.  
  3. print("path to the current script: "+str(os.getcwd()))
  4.  
  5.  
  6. #defenition of your funcs
  7. def func1():
  8.   print("this is func", str(1))
  9.  
  10.  
  11. def func2(Int=2):
  12.   return "this is func" + str(Int)
  13.  
  14.  
  15. def main():
  16.   func1()
  17.   print(func2(3))
  18.  
  19.  
  20. func1()
  21.  
  22. print(func2(3))
  23.  
  24. #better to do so:
  25. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement