Re: Drawing charts and graphs.

2006-04-26 Thread tooper
I'm quite satisfied with MatPlotLib for scientific plotting. ReportLab has also a very good package for high quality PDF production incl. graphics. For more interactive, Grace plotter has a good Graceplot.py python front-end. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python advocacy in scientific computation

2006-02-28 Thread tooper
Maybe I'd also emphasize the nice COM interface that allow your wrapped Fortran to be made available in your Excel macros in a snap. It happens that Fortran programmers/users tends to be poor Office users except for Excel which they master at unbelievable level... My own best low work/high user

Re: cx_Oracle string problems...

2006-02-13 Thread tooper
Looks like a space is missing before VALUES keyword ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Oddities of Tkinter

2006-01-25 Thread tooper
Tuvas, I fully agree with Eric's post above. You may additionnaly have to kill the main window before exit, to avoid a nasty thread related error message and occasionally some zombie procs: import Tkinter,atexit top=Tkinter.Tk() .../... atexit.register(lambda top=top: top.destroy())

Re: tools to manipulate PDF document?

2006-01-19 Thread tooper
Try reportlab PDF library (www.reportlab.org). Many things for graphs but also basic handling. Works fast reliably for my requirements. -- http://mail.python.org/mailman/listinfo/python-list

Re: Registering COM python based components when not admin

2006-01-19 Thread tooper
Thanks for the hint ! -- http://mail.python.org/mailman/listinfo/python-list

Registering COM python based components when not admin

2006-01-18 Thread tooper
Hello, I'm failing to register a python based COM component without having admin rights... Using the usual hello world COM server that exist in many books/tutorial, and works perfecty when tested as admin, I first faced problems to write in registry as normal user. Some inspection of

Re: python-soappy

2006-01-11 Thread tooper
On the client side : from SOAPpy import SOAPProxy server= SOAPProxy(http://foo.bar.org:8090;) print server.Hello(world) On the server side : from SOAPpy import SOAPServer def Hello(name): return Hello +name+ ! server= SOAPServer((localhost,8080))

Pickle for MPI

2005-12-06 Thread tooper
Hello, Did anybody tried python pickle module over heterogeneous 32/64 bits mpi exchanges to overcome the translation problem ? i.e. pickling on one side (let's say a 32-bits OS side), sending the buffer as string through mpi and unpickling on the other side (let's say a 64-bits OS side) Any

Re: Launching Python programs from Linux shell script

2005-09-09 Thread tooper
Yes, provided your python interpreter is installed, and in your path ($ whereis python should give you something like /usr/bin/python or /usr/local/bin/python) -- http://mail.python.org/mailman/listinfo/python-list

Re: Launching Python programs from Linux shell script

2005-09-09 Thread tooper
Yes, provided your python interpreter is installed, and in your path ($ whereis python should give you something like /usr/bin/python or /usr/local/bin/python) -- http://mail.python.org/mailman/listinfo/python-list

Re: Extend Python

2005-09-01 Thread tooper
PyQT is using SIP to wrap Qt : looks nice and works great for PyQt which is a quite big wrapping. Never had the occation to use it myself however, except for this. -- http://mail.python.org/mailman/listinfo/python-list

using python_ldap for authentication

2005-08-31 Thread tooper
Hello all, I'd like to use an ldap server just for authentication, but I'm a complete beginner with all the ldap stuff... I've tried this from the python_ldap Demo examples : -- import ldap, getpass ldap_url=... validation ldap server URL port ... l = ldap.initialize(ldap_url)

Re: graphical or flow charting design aid for python class development?

2005-08-31 Thread tooper
You may want to use Doxygen, which generates nice diagrams. It's normally only for C++, but there are nice filters (for ex. http://i31www.ira.uka.de/~baas/pydoxy) that generates C++ header from python code that Doxygen can crunch. Another solution is to use IDE such as Eric3 that can generate UML

Re: Python port on Palm Treo?

2005-08-30 Thread tooper
I'm not aware of any Treo dedicated port, but as Treo is running Palm, the Palm port of Python should be OK (if I remember well it's pypi or pipy, standing for PYthon for palm PIlot) Hope it helps... -- http://mail.python.org/mailman/listinfo/python-list

Re: Python port on Palm Treo?

2005-08-30 Thread tooper
I'm not aware of any Treo dedicated port, but as Treo is running Palm, the Palm port of Python should be OK (if I remember well it's pypi or pipy, standing for PYthon for palm PIlot) Hope it helps... -- http://mail.python.org/mailman/listinfo/python-list

Re: python xml DOM? pulldom? SAX?

2005-08-29 Thread tooper
Hi, I'd advocate for using SAX, as DOM related methods implies loading the complete XML content in memory whereas SAX grab things on the fly. SAX method should therefore be faster and less memory consuming... By the way, if your goal is to just combine the text out of page:title and

Inheritance problem ?

2005-08-24 Thread tooper
Hello all, I'm trying to implement a common behavior for some object that can be read from a DB or (when out of network) from an XML extract of this DB. I've then wrote 2 classes, one reading from XML the other from the DB, both inheritating from a common one where I want to implement several

Re: execfile in global scope

2005-08-24 Thread tooper
What about : globdict= globals() def changevar(): global globdict execfile(changevar.py,globdict) x = 111 # global var changevar() print x # returns 111 instead of 555 -- http://mail.python.org/mailman/listinfo/python-list

Re: execfile in global scope

2005-08-24 Thread tooper
What about : globdict= globals() def changevar(): global globdict execfile(changevar.py,globdict) x = 111 # global var changevar() print x # returns 111 instead of 555 -- http://mail.python.org/mailman/listinfo/python-list

Re: Variables in REs

2005-08-24 Thread tooper
Use os.sep to get / or \ or whatever character used to build pathes on the os you're working on -- http://mail.python.org/mailman/listinfo/python-list

Re: Inheritance problem ?

2005-08-24 Thread tooper
Thanks, at least makes it running ! I'll have to teach myself to move to this new style classes by default anyway... -- http://mail.python.org/mailman/listinfo/python-list

Re: Inheritance problem ?

2005-08-24 Thread tooper
Not always easy to follow but great ! Using __str__ instead of __repr__ makes it work also with old style (thanks to Simon Brunning for suggesting it, and with your link I even now understand why !) -- http://mail.python.org/mailman/listinfo/python-list