optparse, allowing both --foo and foo=99?

2009-10-16 Thread Mark Harrison
ug']); print opts Many TIA! Mark -- Mark Harrison Pixar Animation Studios -- http://mail.python.org/mailman/listinfo/python-list

test,please ignore 2 qrm

2007-01-30 Thread Mark Harrison
please ignore -- http://mail.python.org/mailman/listinfo/python-list

test, please ignore qrm

2007-01-30 Thread Mark Harrison
test, please ignore -- http://mail.python.org/mailman/listinfo/python-list

--enable-shared, how do i set the rpath?

2006-11-27 Thread Mark Harrison
I've built a python with --enable-shared in order to support mod_python, but now I have to set LD_LIBRARY_PATH to $prefix/lib. Worse, it seems mod_python will die on some import statements, I'm suspecting ones that need to pull in .so's. Any clues appreciated... Mark. -- Mark

who is maintainer of xml-rpc module?

2006-11-25 Thread Mark Harrison
patch for 64 bit int values. I'd like to get these into wider circulation if possible... what's the best way to do this? Many TIA! Mark -- Mark Harrison Pixar Animation Studios -- http://mail.python.org/mailman/listinfo/python-list

Re: state of SOAP and python?

2006-08-15 Thread Mark Harrison
Gabriel Genellina <[EMAIL PROTECTED]> wrote: > At Thursday 10/8/2006 03:38, Mark Harrison wrote: > > >So I'm investigating doing some SOAP work... Any concensus on > >what the best python libraries are for doing this? > > > >Too bad, xmlrpc is choking on o

state of SOAP and python?

2006-08-09 Thread Mark Harrison
So I'm investigating doing some SOAP work... Any concensus on what the best python libraries are for doing this? Too bad, xmlrpc is choking on our long longs. :-( Many TIA, Mark -- Mark Harrison Pixar Animation Studios -- http://mail.python.org/mailman/listinfo/python-list

create a c++ wrapper for python class?

2006-05-10 Thread Mark Harrison
data via getters and setters, etc. It seems a first cut of this is pretty straightforward, using introspection to get the required methods. Something needs to be done to specify the C++ types of the parameters. Is there any work being done in this area? Many TIA, Mark -- Mark Harrison Pix

easy way to dump a class instance?

2006-05-05 Thread Mark Harrison
Is there a way to automatically print all the instance data in a class? This is for debugging, I would like to do something like dump(self) to snapshot the state of the object. Many TIA! Mark -- Mark Harrison Pixar Animation Studios -- http://mail.python.org/mailman/listinfo/python-list

to thine own SELF be true...

2006-05-05 Thread Mark Harrison
elf." references, or is this just something I need to get my brain to accept? Many TIA, Mark -- Mark Harrison Pixar Animaion Studios -- http://mail.python.org/mailman/listinfo/python-list

xml-rpc and 64-bit ints?

2006-05-02 Thread Mark Harrison
I've got an API that deals with 64 bit int values. Is there any way of handling this smoothly? Right now I'm casting the values into and out of strings for the API. If not, are there any nice alternatives to XML-RPC that support this? Many TIA! Mark -- Mark Harrison Pixar Animati

Re: creat a DOM from an html document

2006-02-07 Thread Mark Harrison
Mark Harrison <[EMAIL PROTECTED]> wrote: > Now I can't seem to find this... does anybody have a recommendation > as to a good package to look at? Ahh, it's BeautifulSoup... Thanks All!! -- http://mail.python.org/mailman/listinfo/python-list

creat a DOM from an html document

2006-02-07 Thread Mark Harrison
I thought I saw a package that would create a DOM from html, with allowances that it would do a "best effort" job to parse non-perfectly formed html. Now I can't seem to find this... does anybody have a recommendation as to a good package to look at? Many TIA! Mark -- http://mail.python.org/mail

best options for oracle/python?

2005-07-05 Thread Mark Harrison
Any recommendations for Oracle bindings for the DB-API 2.0 specification? This is for Oracle 10g if that makes any difference. Also, any other Oracle related goodies that might be useful? Many TIA! Mark -- Mark Harrison Pixar Animation Studios -- http://mail.python.org/mailman/listinfo

Re: splitting delimited strings

2005-06-15 Thread Mark Harrison
Paul McNett <[EMAIL PROTECTED]> wrote: > Mark Harrison wrote: > > What is the best way to process a text file of delimited strings? > > I've got a file where strings are quoted with at-signs, @like [EMAIL > > PROTECTED] > > At-signs in the string are represen

splitting delimited strings

2005-06-15 Thread Mark Harrison
tring into characters and use a FSM, but it seems that's not very pythonesqe. @rv@ 2 @db.locks@ @//depot/hello.txt@ @mh@ @mh@ 1 1 44 @pv@ 0 @db.changex@ 44 44 @mh@ @mh@ 1118875308 0 @ :@@: :: @ (this is from a perforce journal file, btw) Many TIA! Mark -- Mark Harrison Pixar Animation S