Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

start_pythonwin.pyw 570B

1 year ago
12345678910111213141516171819
  1. # A Python file that can be used to start Pythonwin, instead of using
  2. # pythonwin.exe
  3. import os
  4. import sys
  5. import win32ui
  6. import pywin.framework.intpyapp # InteractivePythonApp()
  7. assert pywin.framework.intpyapp # not unused
  8. # Pretend this script doesn't exist, or pythonwin tries to edit it
  9. sys.argv[:] = sys.argv[1:] or [""] # like PySys_SetArgv(Ex)
  10. if sys.path[0] not in ("", ".", os.getcwd()):
  11. sys.path.insert(0, os.getcwd())
  12. # And bootstrap the app.
  13. app = win32ui.GetApp()
  14. if not app.InitInstance():
  15. # Run when not already handled by DDE
  16. app.Run()