Re: exponential float formmating

2007-09-07 Thread zunbeltz
On 7 sep, 15:42, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Fri, 07 Sep 2007 06:08:19 -0700, zunbeltz wrote: > > For compatibility reasons with an old program I have to format string > > in exponential format with the following format > > &g

exponential float formmating

2007-09-07 Thread zunbeltz
0.13000E+02 I always get 1.3E001 Thanks, Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

float to string with different precision

2007-08-10 Thread zunbeltz
he string formating operations only fixed number of decimal digits is allow. Thanks in advance for the help, Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

Re: zope 3.2 and imprt errors

2006-02-20 Thread zunbeltz
Hi Benji Thanks, but i've solved installing zope from svn instead of tarball Regars Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

zope 3.2 and imprt errors

2006-02-17 Thread zunbeltz
Hi, I've installed zope3.2 froma tarball. It has been installed in /usrlocal/Zope-3-2. I am developing a package under ~/zope3instance/lib/python/ (which is my instance directory). My PYTHONPATH is: /home/zunbeltz/libs/python/:/usr/local/Zope-3.2.0/lib/python:/home/zunbeltz/zope3instanc

html entity to unicode

2006-02-10 Thread zunbeltz
Hi, I'm parsing html. I have a page with a lot of html enitties for hebrew characters. When i print what i get are blanks, dots and commas. How can i decode this entities to unicode charachters? TIA Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

resume TCP comunication

2005-11-28 Thread zunbeltz
n i do resume the Measurement when the conection is resumed? Can i use a yield for this? Thanks in advance Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

Re: asynchronous comunication, wxPython and threads.

2005-06-22 Thread Zunbeltz Izaola
lose it down, and go back to waiting all in one place (so to speak... > of course this would be several methods all called from a top-level loop > in that thread). No chance of mis-steps. I corrected the problem. A bit of the comunication was done in the GUI thread. Thanks again for yo

Re: asynchronous comunication, wxPython and threads.

2005-06-22 Thread Zunbeltz Izaola
for someone here to > help you fix it. > Thanks. First i would check if the problem is what Toby says. > > No more so than using threads, unless your problem is caused by the > threads themselves (as I suggested above) in which case it might be > easier to just fix the problem. > > -Peter Thank you very much Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

Re: asynchronous comunication, wxPython and threads.

2005-06-21 Thread Zunbeltz Izaola
On Tue, 21 Jun 2005 15:30:41 +0100, Toby Dickenson wrote: > On Tuesday 21 June 2005 14:22, Zunbeltz Izaola wrote: > > > I guess you are accessing the socket from both your GUI thread and > communications thread. Dont do that. An action in the GUI thread should > signal

asynchronous comunication, wxPython and threads.

2005-06-21 Thread Zunbeltz Izaola
l arrive in the correct order (one after each sended socket)? Thanks for your help Zunbeltz Izaola -- http://mail.python.org/mailman/listinfo/python-list

asyncore and GUI (wxPython)

2005-06-13 Thread Zunbeltz Izaola
thout distourbing the main program; or (it is very likeyly) i am totaly wrong and i should take another way? Thanks in advance Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

Re: avl tree

2005-06-01 Thread Zunbeltz Izaola
on't know if i can use the avl instaead an ordinary binary tree. I have to construct a tree like this A B C A C A B B C A B B C A C but i think i can construct a avl using left/right. Am I correct? Thanks again, Zunbeltz > Please report any pro

Re: avl tree

2005-05-31 Thread Zunbeltz Izaola
blish our > version the next days. Thanks. I will be looking forward to the release. regards, Zunbeltz > > Regards > Berthold -- http://mail.python.org/mailman/listinfo/python-list

avl tree

2005-05-30 Thread Zunbeltz Izaola
d livavl.a, but i don't understan where is Python/Modules/Setup and where goes the AVLModule.c file goes. Could anyone help me, Thanks, Zunbeltz -- http://mail.python.org/mailman/listinfo/python-list

Re: stop a thread safetely

2005-05-13 Thread Zunbeltz Izaola
self.WriteLog("Answer",Answer) The Client function send a Request (them write it in a log file), gets and answer and and write it. The problem is that when i stop the thread a get somethime the Request writed but not the answer, as if the funciton Client returns before it ends. Zunbeltz

stop a thread safetely

2005-05-13 Thread Zunbeltz Izaola
Hi, I have a wxPython application that call makes a thread (with threading module). In some moment i've to stop the thread but i need to finish a funtion in the thread before it can stop. How can i achive this? Thanks in advance Zunbletz -- http://mail.python.org/mailman/listinfo/python-list

Re: save an opengl canvas (wxPython)

2004-12-15 Thread Zunbeltz Izaola
r the moment png or jpeg is ok, but maybe in the future i'll like to save the image as postscript to use it with LaTeX font and so on. I've se the gl2ps library and the last version is 21 September 2004. Can you send me the SWIG file? I don't know much about swig and it would be easier to

save an opengl canvas (wxPython)

2004-12-13 Thread Zunbeltz Izaola
Hi, I've a drawing made in an OpenGL canvas. I want to save it to a file (preferibly PostScript format). Somebody knows how to do it? TIA Zunbeltz -- Zunbeltz Izaola Azkona| wmbizazz at lg dot ehu dotes Materia Kondentsatuaren Fisika Saila | Zientzia eta Tekno