summaryrefslogtreecommitdiffstats
path: root/Demo/stdwin/TestDirList.py
blob: 321c2d92b36c73d7447797ed9ce1df2749b640c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/env 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()