Re: A Unique XML Parsing Problem

2010-10-24 Thread Stefan Behnel
Devon, 24.10.2010 01:40: I must quickly and efficiently parse some data contained in multiple XML files in order to perform some learning algorithms on the data. I have thousands of files, each file corresponds to a single song. Each XML file contains information extracted from the song (called

Interface centering

2010-10-24 Thread Jah_Alarm
sorry 4 the sillu question. I've designed a GUI. How can I center on the screen? (i.e. it's always launched in the center of the screen) cheers, Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Interface centering

2010-10-24 Thread Chris Rebert
On Sun, Oct 24, 2010 at 12:21 AM, Jah_Alarm wrote: > sorry 4 the sillu question. > > I've designed a GUI. How can I center on the screen? (i.e. it's always > launched in the center of the screen) Which GUI toolkit did you use? Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list

newbie to python

2010-10-24 Thread Hrishikesh
I want to start python, I have just downloaded python compiler, Can somebody please tell me what python really is and explain its architecture, in what problems it is used and from where should I start? -- http://mail.python.org/mailman/listinfo/python-list

Re: Interface centering

2010-10-24 Thread Jah_Alarm
hi, I'm using Tkinter cheers, Alex On 24 окт, 20:26, Chris Rebert wrote: > On Sun, Oct 24, 2010 at 12:21 AM, Jah_Alarm wrote: > > sorry 4 the sillu question. > > > I've designed a GUI. How can I center on the screen? (i.e. it's always > > launched in the center of the screen) > > Which GUI too

Re: newbie to python

2010-10-24 Thread Chris Rebert
On Sun, Oct 24, 2010 at 12:29 AM, Hrishikesh wrote: > I want to start python, I have just downloaded python compiler, Most consider it an interpreter (though it does compile the source code into high-level bytecode). > Can > somebody please tell me what python really is A programming language.

Re: newbie to python

2010-10-24 Thread Arnaud Delobelle
Hrishikesh writes: > I want to start python, I have just downloaded python compiler, Can > somebody please tell me what python really is and explain its > architecture, in what problems it is used and from where should I > start? I would start by looking at http://www.python.org To learn P

Re: newbie to python

2010-10-24 Thread Hrishikesh
On Oct 24, 12:48 am, Arnaud Delobelle wrote: > Hrishikesh writes: > > I want to start python, I have just downloaded python compiler, Can > > somebody please tell me what python really is and explain its > > architecture, in what problems it is used and from where should I > > start? > > I would

Re: newbie to python

2010-10-24 Thread Arnaud Delobelle
Hrishikesh writes: > Thanks guys, > > I knew its an interpreter, mistakenly put compiler [...] Oops! You just started a flame war ;) -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list

Re: Exception Handling in Python 3

2010-10-24 Thread Martin v. Loewis
Am 24.10.2010 07:01, schrieb Steve Holden: > I was somewhat surprised to discover that Python 3 no longer allows an > exception to be raised in an except clause (or rather that it reports it > as a separate exception that occurred during the handling of the first). I think you are misinterpreting

Re: Interface centering

2010-10-24 Thread Peter Otten
Jah_Alarm wrote: > hi, I'm using Tkinter > > cheers, > > Alex > > On 24 окт, 20:26, Chris Rebert wrote: >> On Sun, Oct 24, 2010 at 12:21 AM, Jah_Alarm wrote: >> > sorry 4 the sillu question. >> >> > I've designed a GUI. How can I center on the screen? (i.e. it's always >> > launched in the ce

*** Fundamental Right of Every Child ****

2010-10-24 Thread neha shena
*** Fundamental Right of Every Child Education is a human right with immense power to transform. On its foundation rest the cornerstones of freedom, democracy and sustainable human development."Education is an act or experience that has a formative effect on the mind, character or physical p

Tools for turning Python code into XMI?

2010-10-24 Thread Stefan Schwarzer
Hello, I'm looking for a tool which can read Python files and write a corresponding XMI file for import into UML tools. Ideally, the conversion tool should: - be open source or freeware - be available for Linux - be a command line tool - allow to specify exactly the Python files that should t

<<< What Online University Scholarships Are Available? >>>

2010-10-24 Thread neha shena
<<< What Online University Scholarships Are Available? >>> Contrary to what you might believe, college scholarships and grants are available to students other than those with a perfect SAT score, or the star of the basketball team. They are available for every type of student interested in a highe

Re: Exception Handling in Python 3

2010-10-24 Thread Peter Otten
Steve Holden wrote: > On 10/24/2010 1:26 AM, Chris Rebert wrote: >>> I was somewhat surprised to discover that Python 3 no longer allows an >>> > exception to be raised in an except clause (or rather that it reports >>> > it as a separate exception that occurred during the handling of the >>> > fi

Re: Unix-head needs to Windows-ize his Python script (II)

2010-10-24 Thread Dave Angel
On 2:59 PM, Lawrence D'Oliveiro wrote: In message , Dave Angel wrote: Presumably the original pythonw.exe was called that because it's marked as a windows-app. In win-speak, that means it has a gui. Applications that are not so-marked are console-apps, and get a console created if they weren't

Interactive mode under DOS?

2010-10-24 Thread huisky
Hi, I'm trying to use the interactive mode under DOS for Python 2.7. As a newbie, I do NOT know what is the following problem: >>>world_is_flat=1 >>>if world_is_flat: . . . print "be carefule to be not fall out!" File "", line 2 print "be carefule to be not fall out!" ^ In

Re: Interactive mode under DOS?

2010-10-24 Thread Lie Ryan
On 10/24/10 21:37, huisky wrote: > Hi, > > I'm trying to use the interactive mode under DOS for Python 2.7. As a > newbie, I do NOT know what is the following problem: > world_is_flat=1 if world_is_flat: > .. . . print "be carefule to be not fall out!" > File "", line 2 > prin

Re: Interactive mode under DOS?

2010-10-24 Thread Peter Otten
huisky wrote: > Hi, > > I'm trying to use the interactive mode under DOS for Python 2.7. As a > newbie, I do NOT know what is the following problem: > world_is_flat=1 if world_is_flat: > . . . print "be carefule to be not fall out!" > File "", line 2 > print "be carefule to be

Re: Exception Handling in Python 3

2010-10-24 Thread Steve Holden
On 10/24/2010 4:48 AM, Martin v. Loewis wrote: > Am 24.10.2010 07:01, schrieb Steve Holden: >> I was somewhat surprised to discover that Python 3 no longer allows an >> exception to be raised in an except clause (or rather that it reports it >> as a separate exception that occurred during the handl

Re: newbie to python

2010-10-24 Thread Steve Holden
On 10/24/2010 3:29 AM, Hrishikesh wrote: > I want to start python, I have just downloaded python compiler, Can > somebody please tell me what python really is and explain its > architecture, in what problems it is used and from where should I > start? If you don't know the answers to *any* of thos

Re: Exception Handling in Python 3

2010-10-24 Thread Steve Holden
On 10/24/2010 2:22 AM, Lawrence D'Oliveiro wrote: > In message , Steve > Holden wrote: > >> I was somewhat surprised to discover that Python 3 no longer allows an >> exception to be raised in an except clause (or rather that it reports it >> as a separate exception that occurred during the handli

Google AdWords $100 $75 $50 Promotional Vouchers Codes

2010-10-24 Thread tapaas
Need Google AdWords Coupons $100,$75,$50 .. Contact me at turnier76 @ gmail.com Only @ Cheap Rates. -- http://mail.python.org/mailman/listinfo/python-list

Re: A Unique XML Parsing Problem

2010-10-24 Thread Piet van Oostrum
Devon writes: > I must quickly and efficiently parse some data contained in multiple > XML files in order to perform some learning algorithms on the data. > Info: > > I have thousands of files, each file corresponds to a single song. > Each XML file contains information extracted from the song (c

Re: A good decorator library

2010-10-24 Thread Felipe Bastos Nunes
I thought about that. I won't use decorators for all the things. I will use it only to free the simulator users to set which methods they wanna log or save in a statistic, eq.: number of packets sent, received, lost... 2010/10/24, Tim Roberts : > Felipe Bastos Nunes wrote: >> >>Hi! I was looking

Re: Python3: API Documentation generator

2010-10-24 Thread Tim Diels
On 27/09/2010 20:44, Ken Watford wrote: On Mon, Sep 27, 2010 at 1:15 PM, Tim Diels wrote: On 27/09/2010 09:02, Chris Rebert wrote: On Sun, Sep 26, 2010 at 11:56 PM, Tim Dielswrote: Hi all I've just switched to python3 and it turns out my current API documentation generator (epydoc) no

Re: Exception Handling in Python 3

2010-10-24 Thread Lie Ryan
On 10/24/10 16:01, Steve Holden wrote: > I was somewhat surprised to discover that Python 3 no longer allows an > exception to be raised in an except clause (or rather that it reports it > as a separate exception that occurred during the handling of the first). FYI, Java has a similar behavior. In

Re: Interactive mode under DOS?

2010-10-24 Thread huisky
On Oct 24, 1:15 pm, Peter Otten <__pete...@web.de> wrote: > huisky wrote: > > Hi, > > > I'm trying to use the interactive mode under DOS for Python 2.7. As a > > newbie, I do NOT know what is the following problem: > > world_is_flat=1 > if world_is_flat: > > . . . print "be carefule to be n

time difference interms of day

2010-10-24 Thread mukkera harsha
Hello I was wondering if there is an existing function that would let me determine the difference in time. To explain: Upon starting a program: startup = time.time() After some very long processing: now = time.time() On, doing now - startup I want the program to return in terms of days. How

Re: time difference interms of day

2010-10-24 Thread Steve Holden
On 10/24/2010 1:55 PM, mukkera harsha wrote: > Hello > I was wondering if there is an existing function that would let me > determine the difference in time. To explain: > > Upon starting a program: > > startup = time.time() > > After some very long processing: > now = time.time() > >

Re: time difference interms of day

2010-10-24 Thread Jonas H.
On 10/24/2010 07:55 PM, mukkera harsha wrote: On, doing now - startup I want the program to return in terms of days. How ? >>> import datetime >>> now = datetime.datetime.now() >>> after_few_seconds = datetime.datetime.now() >>> after_few_seconds - now datetime.timedelta(0, 14, 256614) >>> (aft

Re: yield all entries of an iterable

2010-10-24 Thread Stefan Schwarzer
Hi Sebastian, On 2010-10-21 00:27, Sebastian wrote: > Is there a simpler way to yield all elements of a sequence than this? > for x in xs: > yield x Can you give an example where you would need this? Can't you just iterate over the sequence? If you really need an iterator, you can use `iter(s

linking on OSX Snow Leopard

2010-10-24 Thread john skaller
I'm not able to find the shared library version of Python3 on my Mac. There are libpython.dylib things for Python2. There is a Python3 libpython.a static lib. The docs on linking indicate a serious problem, there is mention of applications containing symbols needed by dynamically loaded extension

HTMLParser not parsing whole html file

2010-10-24 Thread josh logan
Hello, I wanted to use python to scrub an html file for score data, but I'm having trouble. I'm using HTMLParser, and the parsing seems to fizzle out around line 192 or so. None of the event functions are being called anymore (handle_starttag, handle_endtag, etc.) and I don't understand why, becau

Re: HTMLParser not parsing whole html file

2010-10-24 Thread josh logan
On Oct 24, 4:36 pm, josh logan wrote: > Hello, > > I wanted to use python to scrub an html file for score data, but I'm > having trouble. > I'm using HTMLParser, and the parsing seems to fizzle out around line > 192 or so. None of the event functions are being called anymore > (handle_starttag, ha

Re: Exception Handling in Python 3

2010-10-24 Thread John Nagle
On 10/23/2010 10:42 PM, Steve Holden wrote: On 10/24/2010 1:26 AM, Chris Rebert wrote: I was somewhat surprised to discover that Python 3 no longer allows an exception to be raised in an except clause (or rather that it reports it as a separate exception that occurred during the handling of the

Re: linking on OSX Snow Leopard

2010-10-24 Thread Benjamin Kaplan
On Sun, Oct 24, 2010 at 4:15 PM, john skaller wrote: > I'm not able to find the shared library version of Python3 on my Mac. > There are libpython.dylib things for Python2. There is a Python3 > libpython.a static lib. > > > The docs on linking indicate a serious problem, there is mention > of app

Re: newbie to python

2010-10-24 Thread rantingrick
On Oct 24, 7:31 am, Steve Holden wrote: > On 10/24/2010 3:29 AM, Hrishikesh wrote: > > > I want to start python, I have just downloaded python compiler, Can > > somebody please tell me what python really is and explain its > > architecture, in what problems it is used and from where should I > > s

Re: Exception Handling in Python 3

2010-10-24 Thread Steve Holden
On 10/24/2010 4:44 PM, John Nagle wrote: > Are exception semantics changing in a way which would affect that? No, I don't believe so. I simply felt that the traceback gives too much information in the case where an exception is specifically being raised to replace the one currently being handled.

Re: newbie to python

2010-10-24 Thread Steve Holden
On 10/24/2010 5:19 PM, rantingrick wrote: > On Oct 24, 7:31 am, Steve Holden wrote: >> On 10/24/2010 3:29 AM, Hrishikesh wrote: >> >>> I want to start python, I have just downloaded python compiler, Can >>> somebody please tell me what python really is and explain its >>> architecture, in what pro

How do I chain methods?

2010-10-24 Thread chad
I tried the following... #!/usr/bin/python class foo: def first(self): print "Chad " def last(self): print "A " x = foo() y = x.first() y.last() But when I ran it, I got the following... [cdal...@localhost oakland]$ ./chain.py Chad Traceback (most recent call last):

Re: How do I chain methods?

2010-10-24 Thread Chris Rebert
On Sun, Oct 24, 2010 at 3:47 PM, chad wrote: > How do I chain methods? > I tried the following... > > #!/usr/bin/python > > class foo: >    def first(self): >        print "Chad " > >    def last(self): >        print "A " > > x = foo() > y = x.first() > y.last() > > But when I ran it, I got the f

Re: yield all entries of an iterable

2010-10-24 Thread Cameron Simpson
On 24Oct2010 20:58, Stefan Schwarzer wrote: | On 2010-10-21 00:27, Sebastian wrote: | > Is there a simpler way to yield all elements of a sequence than this? | > for x in xs: | > yield x | | Can you give an example where you would need this? Can't | you just iterate over the sequence? The us

Re: How do I chain methods?

2010-10-24 Thread James Mills
On Mon, Oct 25, 2010 at 8:47 AM, chad wrote: > I tried the following... > > > > #!/usr/bin/python > > class foo: >    def first(self): >        print "Chad " > >    def last(self): >        print "A " > > x = foo() > y = x.first() > y.last() > > But when I ran it, I got the following... > > [cdal.

Re: How do I chain methods?

2010-10-24 Thread James Mills
On Mon, Oct 25, 2010 at 9:02 AM, Chris Rebert wrote: > Method chaining is usually* not idiomatic in Python. I don't agree but anyway... I've just not seen it commonly used amongst python programmers. cheers James -- -- James Mills -- -- "Problems are solved by method" -- http://mail.python.or

Re: How do I chain methods?

2010-10-24 Thread chad
On Oct 24, 4:11 pm, James Mills wrote: > On Mon, Oct 25, 2010 at 9:02 AM, Chris Rebert wrote: > > Method chaining is usually* not idiomatic in Python. > > I don't agree but anyway... I've just not seen it commonly used > amongst python programmers. > > cheers > James > I just saw this technique

Re: yield all entries of an iterable

2010-10-24 Thread Stefan Schwarzer
Hi Cameron, On 2010-10-25 01:08, Cameron Simpson wrote: > On 24Oct2010 20:58, Stefan Schwarzer wrote: > | On 2010-10-21 00:27, Sebastian wrote: > | > Is there a simpler way to yield all elements of a sequence than this? > | > for x in xs: > | > yield x > | > | Can you give an example where y

Re: How do I chain methods?

2010-10-24 Thread James Mills
On Mon, Oct 25, 2010 at 9:21 AM, chad wrote: > I just saw this technique used in python script that was/is used to > automatically log them in myspace.com. Hence the question. Function/Method Chaining is probably used a lot in Python itself: >>> x = 4 >>> x.__add__(1).__sub__(3) 2 The implement

Re: Exception Handling in Python 3

2010-10-24 Thread Ben Finney
Steve Holden writes: > I simply felt that the traceback gives too much information in the > case where an exception is specifically being raised to replace the > one currently being handled. Ideally, that description of the problem would suggest the obvious solution: replace the class of the exc

Re: How do I chain methods?

2010-10-24 Thread Steve Holden
On 10/24/2010 7:39 PM, James Mills wrote: > On Mon, Oct 25, 2010 at 9:21 AM, chad wrote: >> I just saw this technique used in python script that was/is used to >> automatically log them in myspace.com. Hence the question. > > Function/Method Chaining is probably used a lot in Python itself: > >>

Re: pythagorean triples exercise

2010-10-24 Thread BartC
"Tim Roberts" wrote in message news:5na7c6dlv0qii3pta58as50lmjcrrtk...@4ax.com... Baba wrote: a^a + b^b = c^c is the condition to satisfy No, it's not. It's a^2 + b^2 = c^2, where a, b, and c are integers. Perhaps you meant a*a + b*b = c*c. Or possibly a**2 + b**2 = c**2 and i need t

Re: yield all entries of an iterable

2010-10-24 Thread Cameron Simpson
On 25Oct2010 01:37, Stefan Schwarzer wrote: | From the question and the code snippet the OP gave I assumed | he meant that there already was a sequence (i. e. linear | structure) to begin with. I suspected that was your interpretation. | By the way, I think a well-known example of what you | des

How to optimize and monitor garbage collection?

2010-10-24 Thread kj
I'm designing a system that will be very memory hungry unless it is "garbage-collected" very aggressively. In the past I have had disappointing results with the gc module: I noticed practically no difference in memory usage with and without it. It is possible, however, that I was not measuring

Re: A Unique XML Parsing Problem

2010-10-24 Thread Lawrence D'Oliveiro
In message , Piet van Oostrum wrote: > With xsltproc song.xsl song*.xml you would get your output. > No python necessary. Is that supposed to be some kind of advantage? -- http://mail.python.org/mailman/listinfo/python-list

Re: Unix-head needs to Windows-ize his Python script (II)

2010-10-24 Thread Lawrence D'Oliveiro
In message , Dave Angel wrote: > On 2:59 PM, Lawrence D'Oliveiro wrote: >> >> In message >> , Dave Angel wrote: >> >>> Presumably the original pythonw.exe was called that because it's marked >>> as a windows-app. In win-speak, that means it has a gui. Applications >>> that are not so-marked are c

Re: Exception Handling in Python 3

2010-10-24 Thread Lawrence D'Oliveiro
In message , Steve Holden wrote: > Yes, *if the exception is caught* then it doesn't make any difference. > If the exception creates a traceback, however, I maintain that the > additional information is confusing to the consumer (while helpful to > the debugger of the consumed code). Who needs t

Re: Unix-head needs to Windows-ize his Python script (II)

2010-10-24 Thread MRAB
On 25/10/2010 02:19, Lawrence D'Oliveiro wrote: In message, Dave Angel wrote: On 2:59 PM, Lawrence D'Oliveiro wrote: In message , Dave Angel wrote: Presumably the original pythonw.exe was called that because it's marked as a windows-app. In win-speak, that means it has a gui. Applications t

Re: HTMLParser not parsing whole html file

2010-10-24 Thread josh logan
On Oct 24, 4:38 pm, josh logan wrote: > On Oct 24, 4:36 pm, josh logan wrote: > > > > > > > Hello, > > > I wanted to use python to scrub an html file for score data, but I'm > > having trouble. > > I'm using HTMLParser, and the parsing seems to fizzle out around line > > 192 or so. None of the ev

Re: How do I chain methods?

2010-10-24 Thread Steven D'Aprano
On Mon, 25 Oct 2010 09:39:47 +1000, James Mills wrote: > On Mon, Oct 25, 2010 at 9:21 AM, chad wrote: >> I just saw this technique used in python script that was/is used to >> automatically log them in myspace.com. Hence the question. > > Function/Method Chaining is probably used a lot in Python

Re: How do I chain methods?

2010-10-24 Thread James Mills
On Mon, Oct 25, 2010 at 12:49 PM, Steven D'Aprano wrote: > ...if you're writing x.__add__(1).__sub__(3) instead of x + 1 - 3 then > you're almost certainly doing it wrong. It was just an example :) ... And this isn't python-tutor --James -- -- James Mills -- -- "Problems are solved by method"

Re: How do I chain methods?

2010-10-24 Thread James Mills
On Mon, Oct 25, 2010 at 9:39 AM, James Mills wrote: > Function/Method Chaining is probably used a lot in Python itself: > x = 4 x.__add__(1).__sub__(3) > 2 > > The implementation of many common operators return self (the object > you're working with). My apologies, this was a terribly e

[ANN]littletable 0.3 release

2010-10-24 Thread Paul McGuire
Announcing the 0.3 release of littletable (the module formerly known as dulce). The version includes (thanks to much help from Colin McPhail, thanks Colin!): - support for namedtuples as table objects - Python 3 compatibility - Table.pivot() to summarize record counts by 1 or 2 table attributes l

Re: How do I chain methods?

2010-10-24 Thread Chris Rebert
On Sun, Oct 24, 2010 at 4:11 PM, James Mills wrote: > On Mon, Oct 25, 2010 at 9:02 AM, Chris Rebert wrote: >> Method chaining is usually* not idiomatic in Python. > > I don't agree but anyway... I've just not seen it commonly used > amongst python programmers. If Python wanted to encourage metho

Re: Exception Handling in Python 3

2010-10-24 Thread Steve Holden
On 10/24/2010 7:51 PM, Ben Finney wrote: > which means, AFAICT, that re-binding ‘__class__’ is only allowed for > objects of a type defined in the Python run-time heap, not those defined > in C code (like the built-in-exception types). Yeah, that's a given. Ruby would probably let you do that, but

Re: How to optimize and monitor garbage collection?

2010-10-24 Thread Steve Holden
On 10/24/2010 8:39 PM, kj wrote: > What's the most accurate way to monitor memory consumption in a > Python program, and thereby ensure that gc is working properly? Trust me, it is. But don't forget that CPython doesn't actually *use* the garbage collector until you start to create cyclic data str

Re: How do I chain methods?

2010-10-24 Thread Steve Holden
On 10/24/2010 11:42 PM, Chris Rebert wrote: > On Sun, Oct 24, 2010 at 4:11 PM, James Mills > wrote: >> On Mon, Oct 25, 2010 at 9:02 AM, Chris Rebert wrote: >>> Method chaining is usually* not idiomatic in Python. >> >> I don't agree but anyway... I've just not seen it commonly used >> amongst pyt

Re: Unix-head needs to Windows-ize his Python script (II)

2010-10-24 Thread Steve Holden
On 10/24/2010 9:40 PM, MRAB wrote: > On 25/10/2010 02:19, Lawrence D'Oliveiro wrote: >> In message, Dave >> Angel >> wrote: >> >>> On 2:59 PM, Lawrence D'Oliveiro wrote: In message , Dave Angel wrote: > Presumably the original pythonw.exe was called that because it's > m

Re: Unicode questions

2010-10-24 Thread Lawrence D'Oliveiro
In message , Petite Abeille wrote: > Characters vs. Bytes And why do certain people insist on referring to bytes as “octets”? -- http://mail.python.org/mailman/listinfo/python-list

Re: Unicode questions

2010-10-24 Thread Lawrence D'Oliveiro
In message , Chris Rebert wrote: > There is no such thing as "plain Unicode representation". UCS-4 or UTF-16 probably come the closest. -- http://mail.python.org/mailman/listinfo/python-list

Re: Unicode questions

2010-10-24 Thread Chris Rebert
On Sun, Oct 24, 2010 at 10:43 PM, Lawrence D'Oliveiro wrote: > In message , Chris Rebert > wrote: > >> There is no such thing as "plain Unicode representation". > > UCS-4 or UTF-16 probably come the closest. How do you figure that? Cheers, Chris -- http://mail.python.org/mailman/listinfo/python

Re: Want / Need Genuine Google Adsense Account for Rs.300/-

2010-10-24 Thread sathiya moorthi
Google Adsense Account For Cheap rate : p.sathi...@gmail.com > On Wednesday, March 31, 2010 4:18 PM SWETHA wrote: > Genuine Google Adsense Account for Rs.300/- > > We will approve your google adsense approval. > > We will help you till you get the first adsense check. > > Please send your mobi

Re: Unicode questions

2010-10-24 Thread Steve Holden
On 10/25/2010 1:42 AM, Lawrence D'Oliveiro wrote: > In message , Petite > Abeille wrote: > >> Characters vs. Bytes > > And why do certain people insist on referring to bytes as “octets”? Because back in the old days bytes were of varying sizes on different architectures - indeed the DECSystem-1

Re: HTMLParser not parsing whole html file

2010-10-24 Thread Stefan Behnel
josh logan, 25.10.2010 04:14: I found the error. The HTML file I'm parsing has invalid HTML at line 193. It has something like: Note there is no space between the closing quote for the "href" tag and the class attribute. I guess I'll go through each file and correct these issues as I parse the