0
0
mirror of https://github.com/python/cpython.git synced 2024-11-27 23:47:29 +01:00
cpython/Demo/stdwin/TestDirList.py
Guido van Rossum 93a35f40a9 Actualized
1992-12-14 14:12:10 +00:00

19 lines
278 B
Python
Executable File

#! /usr/local/bin/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()