mirror of
https://github.com/python/cpython.git
synced 2024-12-12 03:04:15 +08:00
19 lines
276 B
Python
Executable File
19 lines
276 B
Python
Executable File
#! /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()
|