src/eric7/eric7_shell.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
9 9
10 This is the main Python script that performs the necessary initialization 10 This is the main Python script that performs the necessary initialization
11 of the ShellWindow module and starts the Qt event loop. 11 of the ShellWindow module and starts the Qt event loop.
12 """ 12 """
13 13
14 import os
14 import sys 15 import sys
15 import os
16 16
17 originalPathString = os.getenv("PATH") 17 originalPathString = os.getenv("PATH")
18 18
19 for arg in sys.argv[:]: 19 for arg in sys.argv[:]:
20 if arg.startswith("--config="): 20 if arg.startswith("--config="):
33 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir 33 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir
34 ) 34 )
35 sys.argv.remove(arg) 35 sys.argv.remove(arg)
36 36
37 from eric7.Globals import AppInfo 37 from eric7.Globals import AppInfo
38
39 from eric7.Toolbox import Startup 38 from eric7.Toolbox import Startup
40 39
41 40
42 def createMainWidget(argv): 41 def createMainWidget(argv):
43 """ 42 """

eric ide

mercurial