[Tutor] Python gui for file input

Jason Massey jason.massey at gmail.com
Fri Jan 5 17:21:47 CET 2007


The simplest way would be to use TkInter which is distributed with Python.

Check out the cookbook recipe at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/438123 for a bunch
of examples.


jason

On 1/5/07, Mike Ellis <maellis002 at yahoo.com> wrote:
>
> Hi all,
>
> I am looking to create a simple gui interface to a small script.  The
> script requires the user to input a directory.  I would like to allow the
> user to browse the windows file system for the desired directory rather than
> type in the full path by hand.  This would operate in much the same way as
> any program when you select File>Open.  Is this possible to do with python?
> Can anyone point me in the proper direction to find more info on this or
> perhaps an example script using a similar feature?
>
> Thanks for your help,
> Michael
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070105/e6451341/attachment-0001.htm 


More information about the Tutor mailing list