diff options
author | Guido van Rossum <guido@python.org> | 1992-03-30 10:54:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-03-30 10:54:51 (GMT) |
commit | 9cf8f3372c3b7896b085e590c1a11373b58695fb (patch) | |
tree | 024c99b4964dee21aa8bb0f37f641f5b18bad2cc /Demo/stdwin/TestDirList.py | |
parent | 7ebb23c6375a028eb8a5f0a20a2e04652b977803 (diff) | |
download | cpython-9cf8f3372c3b7896b085e590c1a11373b58695fb.zip cpython-9cf8f3372c3b7896b085e590c1a11373b58695fb.tar.gz cpython-9cf8f3372c3b7896b085e590c1a11373b58695fb.tar.bz2 |
Initial revision
Diffstat (limited to 'Demo/stdwin/TestDirList.py')
-rwxr-xr-x | Demo/stdwin/TestDirList.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Demo/stdwin/TestDirList.py b/Demo/stdwin/TestDirList.py new file mode 100755 index 0000000..1376cd8 --- /dev/null +++ b/Demo/stdwin/TestDirList.py @@ -0,0 +1,18 @@ +#! /usr/local/python + +# TestDirList + +from DirList import DirListWindow +from WindowParent import MainLoop + +def main(): + import sys + args = sys.argv[1:] + if not args: + args = ['.'] + # Mac: args = [':'] + for arg in args: + w = DirListWindow().create(arg) + MainLoop() + +main() |