Re: [python-win32] Message: 4 -- Re: How can improvement time of response of Python cx_Oracle

2010-06-17 Thread Mauricio Martinez Garcia
Tanks for the response. The next change modified the time of response and its more best. Old Time: 1 - 2 mins by rows New Time: 1.58548355103e-06 - 5.64257303874e-07 segs prom. This it is an example: LOG_PYTHON: Iniciando el proceso de conciliacion espere...

Re: [python-win32] Parse HTML String only not file

2010-06-17 Thread Randy Syring
We have had great success with PyQuery for getting API access to XML data: http://pypi.python.org/pypi/pyquery -- Randy Syring Intelicom 502-644-4776 "Whether, then, you eat or drink or whatever you do, do all to the glory of God." 1 Cor 10:31 Tim Robert

Re: [python-win32] Parse HTML String only not file

2010-06-17 Thread Tim Roberts
On 6/17/2010 11:09 AM, Mauricio Martinez Garcia wrote: > Hi, how can parse an HTML String. > I need parse next Line : > > 'BSCS > statusstringnoneTopCre_lifeinteger0' That's not HTML. It's XML. You CAN parse this with the SGMLParser (since XML is a variant of SGML), but you might consider whethe

Re: [python-win32] python-win32 Digest, Vol 87, Issue 3

2010-06-17 Thread Mauricio Martinez Garcia
On response: row--mins--LOG_PYTHON: register info 192--1.62111605008--LOG_PYTHON: 526862501806|6130314|6130314|01|01|s|s| CELIT710|CELIT710|AC|0|57.22| 0 193--1.6306677858--LOG_PYTHON: 523330779616

[python-win32] Parse HTML String only not file

2010-06-17 Thread Mauricio Martinez Garcia
Hi, how can parse an HTML String. I need parse next Line : 'BSCS statusstringnoneTopCre_lifeinteger0' And this is the program: == #!/usr/bin/env python from sgmllib import SGMLParser import urllib import pdb class ParserHTML(SGMLParser): #pdb

[python-win32] shelve / pickle error

2010-06-17 Thread Vineet Deodhar
Hi ! I am using python ver 2.6.5 Trying to use shelve to save an object on the disc. = In the code # There are 'Person' & 'Manager' classes. # I created instance objects a,b,c from these classes. from person import Person, Manager a = Person('A A') b = Person('B