else/Syshub/syshub_example_slave.py

14 lines
262 B
Python
Raw Normal View History

2015-08-26 11:38:43 +00:00
'''
Notice how this file does not import syshub or know about it
in any way.
'''
import sys
def say_something():
print('hello')
def input_something():
print('prompt: ', end='')
print(sys.stdin.readline())
def raise_something():
raise ValueError