Finding name of variable?

2006-09-05 Thread Gardner Pomper
Hi,I am writing a specialized xml serialization function, and I would like to be able to serialize the value of a simple object with the object name as the tag. For example:   first_name = 'Fred'  sXML = my_xml_serializer(first_name) should result in sXML = 'Fred'I can get class and field names, bu

Specifying a custom formatter in logging config file

2006-09-07 Thread Gardner Pomper
I have been wanting to have my logging messages indented based on the level in the call stack. I found a recipe online for defining such a formatter ( Stack-based indentation of formatted logging) but I can't figure out how to specify that formatter in the file that I read using logging.fileConfig.

pyLinda?

2006-09-12 Thread Gardner Pomper
Hi,I have been lurking and see that there are a number of people interested in pyLinda. I thought that I might post some very basic questions here that I don't seem to have found on the web site. I expect the answers are there, so if you could post a url to the page that answers them, that would be

How to spider through a secure site?

2007-12-20 Thread Gardner Pomper
Hi, My daughter's school just put up an "Infinite Campus" website, which requires a login and does everything through https. I can find examples of how to spider a regular web site with python, but I can't figure out how to deal with the ssl certificate and how to supply name and password. I have

Re: How to spider through a secure site?

2007-12-20 Thread Gardner Pomper
ut a certificate file, and then receive the response back with the certificate file, so that I can then reconnect using the certificate? Anyone have some sample code out there for this? - Gardner On Dec 20, 2007 10:26 PM, Terry Reedy <[EMAIL PROTECTED]> wrote: > > "Gardner Pomper&quo