a penguin, a gnu and a snake
and an X animal participate in
a poem contest. who will win?
Ellipsis
--
nirinA
--
--
http://mail.python.org/mailman/listinfo/python-list
A tuple, a dict, and a list,
And whitespace which mus'n't be missed.
Imported together,
And stirred with a feather,
Yields a language whose name must be hissed!
A char, an integer and a float,
And a decimal which precision is fixed
Computerised altogether
Then shaked down with a mixer
Christos TZOTZIOY Georgiou wrote:
the 'in' operator searches for existance of *elements* in a set, not
of *subsets*. BTW, only a frozenset can be included in a set.
ah! yes. that's clear now. thanks!
after all:
for element in aset:
print element,
why did i think that 'in' was
Christos TZOTZIOY Georgiou wrote:
On Tue, 15 Mar 2005 16:48:17 +0300,
rumours say that [i] might have written:
yes, indeed.
import Tkconstants
'True' and 'YES' in dir(Tkconstants)
True
thanks Harlin,
I hope you also know that
. 'inexistent keyword' and 'YES' in dir(Tkconstants)
Jack Orenstein wrote:
I'm using Python 2.2 on RH9. I have a set of Python modules
organized
into a root package and one other package named foobar. setup.py
looks
like this:
from distutils.core import setup
setup(
name = 'foobar',
version = '0.3',
Harlin Seritt wrote:
either YES, True, or 1 should work.
yes, indeed.
import Tkconstants
'True' and 'YES' in dir(Tkconstants)
True
thanks Harlin,
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
yes i'm deadly wrong and should refuse the
temptation to guess!
and ougth to read clearly the post.
No, I'm referring to bin/foobar, as specified
in scripts = ['bin/foobar'].
Jack
so, you want the script foobar included in your package?
what command are you issueing?
does this include
Jack wrote:
No, I'm referring to bin/foobar, as specified
in scripts = ['bin/foobar'].
yes i'm deadly wrong and should refuse the
temptation to guess!
and ougth to read clearly the post.
so, you want the script foobar included in your package?
what command are you issueing?
does this
Jack Orenstein wrote:
No, I'm referring to bin/foobar, as specified
in scripts = ['bin/foobar'].
yes i'm deadly wrong and should refuse the
temptation to guess!
and ougth to read clearly the post.
so, you want the script foobar included in your package?
what command are you issueing?
does
Jack Orenstein wrote:
Quoting [i]:
as you use Python22 on RH9, maybe:
python setup.py bdist_rpm --install-script foobar
Is install-script really needed? I would have thought that
specifying
setup( ... scripts = [...] ...) would suffice, based on the python
docs.
i think you need to
Harlin Seritt wrote:
Is there a way to call up the Font dialog box (at least in the
Windows API) from Tkinter or another module?
i'll use the tkFont module and the same way as IDLE calls it.
looking at the source code may help you:
import tkFont, idlelib.configDialog, inspect
print
Martin Franklin wrote:
Harlin Seritt wrote:
I am trying the following:
Listbox(parent).pack(fill=BOTH, expand=YES)
I notice that the listbox will fill on the X axis but will not on
the Y axis unlike other widgets.
Is there any way to force this?
thanks,
Harlin
Harlin,
Wim Goffin wrote:
Hi,
hello,
I'm trying to get a bitmap onto a button, but I can't.
Can anyone tell me where to look for a solution?
The call I use is this one:
self.b = Button(toolbar, text=nieuw, bitmap=@/test.xbm,
width=20, command=self.print_msg)
The message I get is this:
Jan Ekström wrote:
Here is the error.
IDLE 1.1
python
Traceback (most recent call last):
File pyshell#0, line 1, in -toplevel-python
NameError: name 'python' is not defined
this should be a success install report! not an error.
start coding and see what happens.
print Hello World!
Harlin Seritt wrote:
I've created a ghetto-ized ComboBox that should work nicely for
Tkinter
(unfortunately no dropdown capabilities yet).
how about:
import Tix
print Tix.ComboBox.__doc__
ComboBox - an Entry field with a dropdown menu. The user can select a
choice by either typing in
Martin Franklin wrote:
Benjamin Rutt wrote:
I have a tkinter 'Text' and 'Scrollbar' connected and working
normally. When a new line of text is inserted (because I'm
monitoring
an output stream), I'd like the text and scrollbar to be scrolled
to
the bottom, so the latest line of
16 matches
Mail list logo