Re: idle

2005-09-23 Thread TK
Hi Franz, >>is there no IDLE in Python2.4? > > Sure, > on Windows: > > C:\Python24\Lib\idlelib\idle.pyw > You should have a shortcuts in your StartMenu > und Python 2.4 What about with Suse 9.3 und Python 2.4? o-o Thomas -- http://mail.python.org/mailman/listinfo/python-list

codecs

2005-11-15 Thread TK
Hi there, sys.stdout = codecs.lookup('utf-8')[-1](sys.stdout) What does this line mean? Thanks. o-o Thomas -- http://mail.python.org/mailman/listinfo/python-list

idle

2005-09-22 Thread TK
Hi, is there no IDLE in Python2.4? o-o Thomas -- http://mail.python.org/mailman/listinfo/python-list

Install MySQLdb on Mac OS X (10.3)

2005-02-10 Thread TK
Hi, I can't install MySQLdb on Mac OS X (Ver. 10.3) properly. Here's my environment: 1. MySQL-python-1.0.0 2. Python 2.3 3. mysql -V /usr/local/mysql-standard-4.1.9-apple-darwin7.7.0-powerpc/bin/mysql Ver 14.7 Distrib 4.1.9, for apple-darwin7.7.0 (po werpc) 4. platform.platform() -> 'Darwin-7.

Re: Install MySQLdb on Mac OS X (10.3)

2005-02-11 Thread TK
Skip Montanaro wrote: TK> I can't install MySQLdb on Mac OS X (Ver. 10.3) properly. Here's my TK> environment: TK> 1. MySQL-python-1.0.0 ... Try a more recent version of mysql-python. I think 1.1.7 is the latest. Skip Hi Skip, > Try a more recent versi

__call__

2005-05-28 Thread TK
Hi, how can handle __call__? Can you give a sample? Thanks o-o Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: __call__

2005-05-28 Thread TK
class Test(object): > > ... def __call__(self): > ... print "the instance was called" > ... > t = Test() t() > > the instance was called > > Is this what you wanted? Yeah! Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: __call__

2005-05-28 Thread TK
Simon Percivall wrote: > Look at http://docs.python.org/ref/callable-types.html > > class Test(object): > > ... def __call__(self): > ... print "the instance was called" > ... > t = Test() t() > > the instance was called > > Is this what you wanted? Sorry but it does

Re: __call__

2005-05-28 Thread TK
tiissa wrote: > TK wrote: > >> Sorry but it does not work. > > > It _does_ work. It just don't do what you expect. Seems so;-). Thanks a lot for help!!! o-o Thomas -- http://mail.python.org/mailman/listinfo/python-list

newbie-question

2007-07-03 Thread TK
Hi, how can I implement a socket timeout? Thanx for help. o-o THomas -- http://mail.python.org/mailman/listinfo/python-list

Newbie question: Install Tkinter with Python2.5

2007-02-22 Thread TK
Hi there, how can I install Tkinter with Python2.5? I can install Python2.5 (tarball) in the usual way but there is no Tkinter? What's wrong? Traceback (most recent call last): File "mbox.py", line 12, in from Tkinter import * File "/usr/local/lib/python2.5/lib-tk/Tkin

Re: Newbie question: Install Tkinter with Python2.5

2007-02-24 Thread TK
Hi, > I see that Tcl/Tk detection has been moved in the Python source > distribution (since the "good old days" when I last had to deal with > this kind of thing) from the configure machinery to the setup.py > program. However, a few things worth checking include (1) wheth

newbie question: apply()

2008-10-04 Thread TK
HI, I need an example for the usage of the apply()-function. Can you help me? Thanks. o-o Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie question: apply()

2008-10-04 Thread TK
pos_args = ["spam", 1, [3]] kwd_args = {"b":7, "c":9} result = some_function(*pos_args, **kwd_args) Which is equivalent to: result = some_function("spam", 1, [3], b=7, c=9) Which was equivalent to: result = apply(some_function, pos_args, kwd_args) Thanks a lot. o-o Thomas -- http://mail.pyth

newbie: decorator

2008-10-05 Thread TK
Hi, I need an understandable Decorator-Example? Who can help? Thanks. o-o Thomas -- http://mail.python.org/mailman/listinfo/python-list

Python-2.4.1 Build error on AIX

2005-08-10 Thread Srinivasan TK
All, I get the below error when trying to build python on AIX. Is there a way to ignore _tkinter. Please help Sri I do the following in my command line. export CC=gcc ld: 0706-006 Cannot find or open library file: -l tk8.3 ld:open(): A file or directory in the path name does not exis

python2.4/site-packages

2005-08-11 Thread Srinivasan TK
All, I have been successful in build/install of python2.4 on AIX. Now ,Is it mandatory that I build the third-party packages ( python2.4/site-packages) .If so is there a list that needs to be built and installed . Please advise. __

Query : sys.excepthook exception in Python

2006-04-26 Thread Pramod TK
oblem with python? Is there any known solution. I am using Python 2.4. Thanks in Advance With Best Regards, Pramod TK -- http://mail.python.org/mailman/listinfo/python-list

Query regarding support for IPv6 in python

2006-04-26 Thread Pramod TK
introduced. Is this new function getaddrinfo() of IPv6 is supported in Win32 Extensions for python. Thanks in Advance, Pramod TK -- http://mail.python.org/mailman/listinfo/python-list

Query : sys.excepthook exception in Python

2006-04-10 Thread Pramod, TK
terminated, they continue to execute normally. Is this is a problem with python? Is there any known solution. I am using Python 2.4. Thanks in Advance With Best Regards, Pramod TK -- http://mail.python.org/mailman/listinfo/python-list