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
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
Looks like a space is missing before VALUES keyword ?
--
http://mail.python.org/mailman/listinfo/python-list
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())
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
Thanks for the hint !
--
http://mail.python.org/mailman/listinfo/python-list
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
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))
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
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
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
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
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)
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
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
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
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
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
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
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
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
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
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
23 matches
Mail list logo