cpython/Demo/stdwin/TestDirList.py

19 lines
276 B
Python
Raw Normal View History

#! /usr/bin/env python
1992-03-30 10:54:51 +00:00
# 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()