Design Pattern Examples
Overview of object-oriented design patterns
__init__.py
Go to the documentation of this file.
1
9
10
11
# For the DesignPatternExamples_python namespace
12
import
sys
13
from
.program
import
Program
14
15
16
def
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
24
if
__name__ ==
"__main__"
:
25
sys.exit(
main
())
DesignPatternExamples_python.program.Program
Contains all the top-level Design Pattern Examples to match C#.
Definition:
program.py:32
DesignPatternExamples_python.main
def main()
Main entry point into this example program.
Definition:
__init__.py:16
python
DesignPatternExamples_python
__init__.py
Generated on Tue Aug 29 2023 19:47:44 for Design Pattern Examples by
1.9.6