Re: [Tkinter-discuss] New member howdy And is there a better way to use Buttons ?

2008-06-12 Thread Bob Greschke
On Jun 11, 2008, at 13:52, John Edens wrote: Hi all, I’ve just started working with Python and Tkinter. One of the things I think I’ve noted is that Button commands do not pass parameters. Is there a way around this? And is there a better way to code the following: I’ve written a small a

Re: [Tkinter-discuss] New member howdy And is there a better way to use Buttons ?

2008-06-12 Thread John Edens
That is exactly what I was looking for - seems like something that should go into the wiki! -Original Message- From: Bob Greschke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 11:52 AM To: John Edens Cc: tkinter-discuss@python.org Subject: Re: [Tkinter-discuss] New member howdy

[Tkinter-discuss] Easy way to get a file explorer?

2008-06-12 Thread Alexnb
Okay, so in the small app I am creating I want to have a button that activates a file explorer and then once the user selects a file I want to be able to get the path of that file. Is there a way to do this without going into serious detail? and if not could someone point me in the right direction

Re: [Tkinter-discuss] New member howdy And is there a better way to use Buttons ?

2008-06-12 Thread Guilherme Polo
On Thu, Jun 12, 2008 at 1:51 PM, Bob Greschke <[EMAIL PROTECTED]> wrote: > > On Jun 11, 2008, at 13:52, John Edens wrote: > >> Hi all, I've just started working with Python and Tkinter. >> >> One of the things I think I've noted is that Button commands do not pass >> parameters. >> >> Is there a wa

Re: [Tkinter-discuss] Easy way to get a file explorer?

2008-06-12 Thread Kevin Walzer
Alexnb wrote: Okay, so in the small app I am creating I want to have a button that activates a file explorer and then once the user selects a file I want to be able to get the path of that file. Is there a way to do this without going into serious detail? and if not could someone point me in the

Re: [Tkinter-discuss] Easy way to get a file explorer?

2008-06-12 Thread Alexnb
Thanks, this is exactly what I am looking for, but I can't find much useful documentation on it. So I want to have it give me a string of the path of the file they selected, which seems simple, but I am having issues. for example: path = tkFileDialog.askopenfile() print path it prints this: b

Re: [Tkinter-discuss] Easy way to get a file explorer?

2008-06-12 Thread Guilherme Polo
On Thu, Jun 12, 2008 at 4:36 PM, Alexnb <[EMAIL PROTECTED]> wrote: > > Thanks, this is exactly what I am looking for, but I can't find much useful > documentation on it. So I want to have it give me a string of the path of > the file they selected, which seems simple, but I am having issues. for >