Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import python-module
- # call Calculator Class and its objects from python-module
- calc = python-module.Calculator()
- calc.add(2)
- print(calc.get_current())
- # call hello_world function from python-module
- python-module.hello_world("Peter")
- # ---------------- OUTPUT ----------------
- # 2
- # Hello, World! My name is Peter
Add Comment
Please, Sign In to add comment