file browser

Davor Cengija dcengija_remove_ at inet.hr
Mon Mar 17 08:10:26 CET 2003


Ali Dada wrote:

> hi all:
> 
> i am writing an application in Python/Tkinter that excessively uses a file
> browser ..
> 
> any idea if there is a ready implementation or useful library or if not
> how i proceed????

Use tkFileDialog module. 

import tkFileDialog
print tkFileDialog.askopenfilename(filetypes=[("All files","*"), 
("Executables", "*.exe")])


-- 
Davor Cengija, dcengija_remove_ at inet.hr




More information about the Python-list mailing list