repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
The 0.5 release happened on 2/15, not on 2/14. :-)
[python/dscho.git]
/
Demo
/
stdwin
/
TestDirList.py
blob
321c2d92b36c73d7447797ed9ce1df2749b640c7
1
#! /usr/bin/env python
2
3
# TestDirList
4
5
from
DirList
import
DirListWindow
6
from
WindowParent
import
MainLoop
7
8
def
main
():
9
import
sys
10
args
=
sys
.
argv
[
1
:]
11
if not
args
:
12
args
= [
'.'
]
13
# Mac: args = [':']
14
for
arg
in
args
:
15
w
=
DirListWindow
().
create
(
arg
)
16
MainLoop
()
17
18
main
()