Guest User

Untitled

a guest
Jul 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import python-module
  2.  
  3. # call Calculator Class and its objects from python-module
  4. calc = python-module.Calculator()
  5. calc.add(2)
  6. print(calc.get_current())
  7.  
  8.  
  9. # call hello_world function from python-module
  10. python-module.hello_world("Peter")
  11.  
  12. # ---------------- OUTPUT ----------------
  13. # 2
  14. # Hello, World! My name is Peter
Add Comment
Please, Sign In to add comment