diff --git a/Pythonwin/pywin/Demos/app/demoutils.py b/Pythonwin/pywin/Demos/app/demoutils.py index ee1fefcfa..171549a0e 100644 --- a/Pythonwin/pywin/Demos/app/demoutils.py +++ b/Pythonwin/pywin/Demos/app/demoutils.py @@ -60,6 +60,4 @@ def NeedApp(): if __name__ == "__main__": - import demoutils - - demoutils.NotAScript() + NotAScript() diff --git a/Pythonwin/pywin/Demos/ocx/__init__.py b/Pythonwin/pywin/Demos/ocx/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/Pythonwin/pywin/Demos/ocx/demoutils.py b/Pythonwin/pywin/Demos/ocx/demoutils.py index 80d8c2450..171549a0e 100644 --- a/Pythonwin/pywin/Demos/ocx/demoutils.py +++ b/Pythonwin/pywin/Demos/ocx/demoutils.py @@ -60,6 +60,4 @@ def NeedApp(): if __name__ == "__main__": - from . import demoutils - - demoutils.NotAScript() + NotAScript() diff --git a/Pythonwin/pywin/Demos/ocx/ocxserialtest.py b/Pythonwin/pywin/Demos/ocx/ocxserialtest.py index 326d312c8..ae17127ec 100644 --- a/Pythonwin/pywin/Demos/ocx/ocxserialtest.py +++ b/Pythonwin/pywin/Demos/ocx/ocxserialtest.py @@ -127,7 +127,7 @@ def test(): if __name__ == "__main__": - from . import demoutils + import demoutils if demoutils.NeedGoodGUI(): test() diff --git a/Pythonwin/pywin/Demos/ocx/ocxtest.py b/Pythonwin/pywin/Demos/ocx/ocxtest.py index 695f708b8..31a63a3e1 100644 --- a/Pythonwin/pywin/Demos/ocx/ocxtest.py +++ b/Pythonwin/pywin/Demos/ocx/ocxtest.py @@ -238,7 +238,7 @@ def demo(): if __name__ == "__main__": - from . import demoutils + import demoutils if demoutils.NeedGoodGUI(): testall()