HOME/Articles/

my module (snippet)

Article Outline

Python example 'my module'

Functions in program:

  • def sayHello():

my module

Python beginners example: my module

def sayHello():
  print('Hello')

print('Module ', __name__, ' initialized')