Design Pattern Examples
Overview of object-oriented design patterns
__init__.py
Go to the documentation of this file.
9
10
11# For the DesignPatternExamples_python namespace
12import sys
13from .program import Program
14
15
16def main():
17 prog = Program()
18 args = []
19 for index in range(1, len(sys.argv)):
20 args.append(sys.argv[index])
21 return prog.Run(args)
22
23
24if __name__ == "__main__":
25 sys.exit(main())
Contains all the top-level Design Pattern Examples to match C#.
Definition: program.py:32
def main()
Main entry point into this example program.
Definition: __init__.py:16