| Revision: | 8 |
| Committed: | Sat May 5 04:21:19 2012 UTC (13 years, 10 months ago) by ninoborges |
| Content type: | text/x-python |
| Original Path: | Python/NinoCode/learning/Tkinter/tkFileDialog.py |
| File size: | 289 byte(s) |
| Log Message: | Initial Import |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | ninoborges | 8 | ##Tests of the tkFileDialog class. |
| 2 | |||
| 3 | import tkFileDialog | ||
| 4 | |||
| 5 | root=Tk() | ||
| 6 | |||
| 7 | ##This one actually opens the file | ||
| 8 | #file=tkFileDialog.askopenfile(parent=root) | ||
| 9 | ##This one just returns the dir and file name in the varible. | ||
| 10 | #file=tkFileDialog.askopenfilename(parent=root) | ||
| 11 | mainloop() | ||
| 12 | print file |