0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
cpython/Demo/stdwin/TestDirList.py

19 lines
278 B
Python
Raw Normal View History

1992-12-14 15:12:10 +01:00
#! /usr/local/bin/python
1992-03-30 12:54:51 +02: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()