def hello_somebody(somebody):
print("hello %s" % somebody)
def hello_somebody(somebody):
print("hello %s" % somebody)
hello_somebody(input())
python file.py hello_somebody("Igor")
import fire
class Calculator(object):
"""A simple calculator class."""
def double(self, number):
return 2 * number
if __name__ == '__main__':
fire.Fire(Calculator)
python calculator.py double 10 # 20
python calculator.py double --number=15 # 30