Dear Friends,
I am now working on GUI python (Tkinter).
I want to use combobox as my widget, but I cannot find it in any document.
Does anybody have experience with that?
Thanks,
da
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman
On 06/06/06, Keo Sophon <[EMAIL PROTECTED]> wrote:
> What to do in order to get FileDialogBox in Tkinter for using? Where to find a
> complete reference of Tkinter?
Fredrik Lundh's guide (which Bernard linked) is a good Tkinter
reference. For the FileDialogBox, you will need another import
statem
how do i clear the scseer ?? suppose i have two pages to display one after the other ,how should i do it ?
Yahoo! India Answers: Share what you know. Learn something new Click here
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now_
Hi Phon,
This is the most complete Tkinter reference I could find (although
it's not exactly "complete"):
http://www.pythonware.com/library/tkinter/introduction/
As to how to make the file dialog box to work, I found this
introduction tutorial extremely helpful to get started with the
Tkinter wid
Hi all,
What to do in order to get FileDialogBox in Tkinter for using? Where to find a
complete reference of Tkinter?
Thanks,
Phon
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Peter Jessop wrote:
> Thanks Andre
>
> I realise now I did not make it too clear.
> Basically the variable names are predictable but the values aren't.
>
> Maybe I should have expressed it like this
>
> f0_n = "arbitrayValue"
> f0_v ="another valule"
> f1_n="something else"
> f1_v="etc.."
> ...
André
Thanks a lot for clearing this up for me.
Regards
Peter Jessop
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On 6/5/06, Peter Jessop <[EMAIL PROTECTED]> wrote:
Thanks AndreI realise now I did not make it too clear.Basically the variable names are predictable but the values aren't.I assumed that. I just recreated the list as you gave it because it was easy :-)
Maybe I should have expressed it like thisf0_
Thanks Andre
I realise now I did not make it too clear.
Basically the variable names are predictable but the values aren't.
Maybe I should have expressed it like this
f0_n = "arbitrayValue"
f0_v ="another valule"
f1_n="something else"
f1_v="etc.."
...
f100_n = "another value"
f100_v = "nexvalue
I'm not sure if it's exactly what you need, but here's something that may come close.On 6/5/06, Peter Jessop <[EMAIL PROTECTED]
> wrote:The best way to explain my problem is with an examplef0_n = "field0"
f0_v ="value0"f1_n="field1"f1_v="value1"...f100_n = "field100"f100_v = "value100"Ok, I'm going
The best way to explain my problem is with an example
f0_n = "field0"
f0_v ="value0"
f1_n="field1"
f1_v="value1"
...
f100_n = "field100"
f100_v = "value100"
I now want to define a list of 2ples of the form
[(f0_n,f0_v),(f1_n,f1_v),...,(f100_n,f100_v)]
I wish to define the list using a for loop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yi Qiang wrote, On 06/05/2006 01:22 PM:
> Kent Johnson wrote, On 06/05/2006 07:25 AM:
>>> No, the find_global() hook is for cPickle. See the next-to-last
>>> paragraph on this page:
>>> http://docs.python.org/lib/pickle-sub.html
> Sorry, I don't follo
Wait, all of this "not really a number" and "carry-over from binary"
stuff deals with the *numeral* zero, which is neither here nor there.
We could use a picture of a bunny-rabbit instead of the numeral zero,
making this year 26.
The discussion here is over the *value* zero -- the identity ele
It seems that the confusion is exacerbated by the fact
that we're using the theoretical number set to
reference the common one. I suppose this is a
carry-over from binary, since in binary if you don't
have a zero, you also won't have a bunch of other
numbers like 2, 4 and so forth.
__
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kent Johnson wrote, On 06/05/2006 07:25 AM:
> No, the find_global() hook is for cPickle. See the next-to-last
> paragraph on this page:
> http://docs.python.org/lib/pickle-sub.html
Sorry, I don't follow. How does one get access to the find_global
att
Greetings:
> -Original Message-
> Date: Sun, 04 Jun 2006 18:43:25 -0700
> From: Yi Qiang <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] Not Really Questions
> To: tutor@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> -BEGIN PGP SIGNED MESSAG
Carlos:
Thank you for your response.
It turns out that Python and os.path.isfile() are working as expected.
A permissions conflict on my Linux-based system caused the isfile
function to return false for all the entries in the directory. The web
server is running as user apache. The files were
Yi Qiang wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Kent Johnson wrote, On 06/05/2006 03:12 AM:
>> From a quick read of the docs, it looks like you should set the
>> unpickler's find_global attribute to a function you define. This
>> function can first attempt to load the desi
On Sun, 4 Jun 2006, John Connors wrote:
> The first one is lists... I can't for the life of me understand why a
> list starts at zero. In everything else in life other than programming
> the 1st item in a list is always 1.
Edsger Dijkstra wrote a technical note on why zero is a more natural
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kent Johnson wrote, On 06/05/2006 03:12 AM:
> From a quick read of the docs, it looks like you should set the
> unpickler's find_global attribute to a function you define. This
> function can first attempt to load the desired class (see
> pickle.fi
From a quick read of the docs, it looks like you should set the
unpickler's find_global attribute to a function you define. This
function can first attempt to load the desired class (see
pickle.find_class() for an example). If the load fails, then return a
placeholder class that you define.
T
21 matches
Mail list logo