]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PyShell.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / PyShell.py
index d93fc9b4ca8ab33d2eae304cdfb93b8d340f3b67..0c9fa949c0516758b47b759d278bf9f1cef8128f 100644 (file)
@@ -1,7 +1,5 @@
 
-
-from wx import py
-
+import  wx.py   as  py
 
 #----------------------------------------------------------------------
 
@@ -19,5 +17,5 @@ overview = py.shell.__doc__
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])