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
Hi, how can parse an HTML String.
I need parse next Line :
'FIELDNAMEBSCS
status/NAMETYPEstring/TYPEVALUEnone/VALUE/FIELDFIELDNAMETopCre_life/NAMETYPEinteger/TYPEVALUE0/VALUE/FIELD'
And this is the program:
==
#!/usr/bin/env python
from sgmllib
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:
On 6/17/2010 11:09 AM, Mauricio Martinez Garcia wrote:
Hi, how can parse an HTML String.
I need parse next Line :
'FIELDNAMEBSCS
status/NAMETYPEstring/TYPEVALUEnone/VALUE/FIELDFIELDNAMETopCre_life/NAMETYPEinteger/TYPEVALUE0/VALUE/FIELD'
That's not HTML. It's XML. You CAN parse this with
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 Roberts
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...