mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			278 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			278 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
#! /usr/local/bin/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()
 |