Re: Submission for Python Limmerick Contest

2005-03-24 Thread Raseliarison nirinA
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

Re: Submission for Python Limmerick Contest

2005-03-22 Thread Raseliarison nirinA
> 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 As

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-17 Thread Raseliarison nirinA
"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'

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-16 Thread Raseliarison nirinA
"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 '

Re: distutils setup ignoring scripts

2005-03-15 Thread Raseliarison nirinA
"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

Re: distutils setup ignoring scripts

2005-03-15 Thread Raseliarison nirinA
"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? d

Re: distutils setup ignoring scripts

2005-03-15 Thread Raseliarison nirinA
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 inc

Re: distutils setup ignoring scripts

2005-03-15 Thread Raseliarison nirinA
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 inc

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-15 Thread Raseliarison nirinA
"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

Re: distutils setup ignoring scripts

2005-03-15 Thread Raseliarison nirinA
"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'

Re: Listbox fill=BOTH expand=YES (Tkinter)

2005-03-14 Thread Raseliarison nirinA
"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, > >

Re: A Font Dialog (Tkinter)

2005-03-14 Thread Raseliarison nirinA
"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 >>> pri

Re: tkinter: always scroll to show last line of text

2005-03-13 Thread Raseliarison nirinA
"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 late

Re: Searching for a ComboBox for Tkinter?

2005-03-13 Thread Raseliarison nirinA
"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

Re: Install problem Windows xp HE

2005-03-13 Thread Raseliarison nirinA
"Jan Ekström" wrote: > Here is the error. > IDLE 1.1 > >>> python > > Traceback (most recent call last): > File "", 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 "He

Re: Tkinter Bitmap Newbie question

2005-03-13 Thread Raseliarison nirinA
"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