| Revision: | 591 |
| Committed: | Tue Nov 3 22:45:12 2015 UTC (10 years, 4 months ago) by nino.borges |
| Content type: | text/x-python |
| File size: | 289 byte(s) |
| Log Message: | Moved dir out of main dir. |
| # | 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 |