Hi, i've check documentation, and found that logging.basicConfig takes
no arguments (probably we have different versions of logging package),
and i've never used it.
just try this:
fileName = 'testlog.log'
logName = 'LOG'
iHandler = logging.FileHandler(fileName)
iHandler.setFormatter(
logging.F
Hi all.
i'm faced to trouble using minidom:
#i have a string (xml) within CDATA section, and the section includes
"\r\n":
iInStr = '\n\n'
#After i create DOM-object, i get the value of "Data" without "\r\n"
from xml.dom import minidom
iDoc = minidom.parseString(iInStr)
iDoc.childNodes[0].childN
Hi all.
i'm faced to trouble using minidom:
#i have a string (xml) within CDATA section, and the section includes
"\r\n":
iInStr = '\n\n'
#After i create DOM-object, i get the value of "Data" without "\r\n"
from xml.dom import minidom
iDoc = minidom.parseString(iInStr)
iDoc.childNodes[0].childN
On 22 май, 16:45, "sim.sim" <[EMAIL PROTECTED]> wrote:
> Hi all.
> i'm faced to trouble using minidom:
>
> #i have a string (xml) within CDATA section, and the section includes
> "\r\n":
> iInStr = '\n\n'
>
> #After i create DOM-
On 25 май, 12:45, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>, sim.sim wrote:
> > Below the code that tryes to parse an well-formed xml, but it fails
> > with error message:
> > "not well-formed (invalid token): lin
Hi all!
I had touch with some different python behavior: I was tried to write
into a file a string with the '\x1a' symbol, and for FreeBSD system,
it gives expected result:
>>> open("test", "w").write('before\x1aafter')
>>> open('test').read()
'before\x1aafter'
but for my WinXP box, it gives so
On 10 янв, 23:40, John Machin wrote:
> On Jan 11, 2:45 am, "sim.sim" wrote:
>
>
>
> > Hi all!
>
> > I had touch with some different python behavior: I was tried to write
> > into a file a string with the '\x1a' symbol, and for FreeBSD syste
On 12 янв, 16:00, John Machin wrote:
> On Jan 13, 12:45 am, "sim.sim" wrote:
>
>
>
> > On 10 ÑÎ×, 23:40, John Machin wrote:
>
> > > On Jan 11, 2:45šam, "sim.sim" wrote:
>
> > > > Hi all!
>
> > > > I had touch