Design Pattern Examples
Overview of object-oriented design patterns
__main__.py
Go to the documentation of this file.
1
5
6
# The following is used during debugging; VS2022 does not allow for launching
7
# Python package in such a way as to set the package name, which allows relative
8
# import to work. The work-around is to force the package name here. Then
9
# the debugger can launch __main__.py with a working directory set to "../../".
10
__package__ =
"python.DesignPatternExamples_python"
if
not
__package__
else
__package__
11
12
import
sys
13
from
.
import
main
14
from
.enablevtmode
import
EnableVTMode
15
16
sys.exit(EnableVTMode(main))
python
DesignPatternExamples_python
__main__.py
Generated on Tue Aug 29 2023 19:47:44 for Design Pattern Examples by
1.9.6