X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..a400c2ec04f77b3a72d23cb2b122866f3fddfd45:/wxPython/demo/FileDialog.py diff --git a/wxPython/demo/FileDialog.py b/wxPython/demo/FileDialog.py index 0d42aa54e6..903f14dbfb 100644 --- a/wxPython/demo/FileDialog.py +++ b/wxPython/demo/FileDialog.py @@ -1,7 +1,3 @@ -# 11/17/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import os import wx @@ -9,7 +5,7 @@ import wx #--------------------------------------------------------------------------- # This is how you pre-establish a file filter so that the dialog -# only shows the extention(s) you want it to. +# only shows the extension(s) you want it to. wildcard = "Python source (*.py)|*.py|" \ "Compiled Python (*.pyc)|*.pyc|" \ "All files (*.*)|*.*" @@ -66,5 +62,5 @@ filenames combined as a Python list. 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:])