Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed import issues in ocx and app pywin Demos #2291

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
4 changes: 1 addition & 3 deletions Pythonwin/pywin/Demos/app/demoutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,4 @@ def NeedApp():


if __name__ == "__main__":
import demoutils

demoutils.NotAScript()
NotAScript()
Empty file.
4 changes: 1 addition & 3 deletions Pythonwin/pywin/Demos/ocx/demoutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,4 @@ def NeedApp():


if __name__ == "__main__":
from . import demoutils

demoutils.NotAScript()
NotAScript()
2 changes: 1 addition & 1 deletion Pythonwin/pywin/Demos/ocx/ocxserialtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test():


if __name__ == "__main__":
from . import demoutils
import demoutils

if demoutils.NeedGoodGUI():
test()
2 changes: 1 addition & 1 deletion Pythonwin/pywin/Demos/ocx/ocxtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def demo():


if __name__ == "__main__":
from . import demoutils
import demoutils

if demoutils.NeedGoodGUI():
testall()
Loading