, and then using int() on the string, but is there an easier way?
>
> John
>
> - Original Message
> From: Kent Johnson <[EMAIL PROTECTED]>
> To: John Gunderman <[EMAIL PROTECTED]>
> Cc: tutor@python.org
> Sent: Saturday, February 23, 2008 3:43:44 AM
> Subje
John Gunderman <[EMAIL PROTECTED]> wrote:
> I am parsing the output of the mork.pl, which is a DORK (the mozilla format)
> parser. I don't know Perl, so I decided to write a Python script to do what I
> wanted, which basically is to create a dictionary listing each site and its
> correspon
> I am looking to parse a plaintext from a document. However, I am
> confused about the actual methodology of it. This is because some of
> the words will be multiple digits or characters. However, I don't
> know the length of the words before the parse. Is there a way to
> somehow have open() grab
"John Gunderman" <[EMAIL PROTECTED]> wrote
>I am looking to parse a plaintext from a document.
When you say "a document" what kind of document do you
mean? Is the document also in plain text, like HTML, or is
it a binary format like MS Word?
> some of the words will be multiple digits or cha
John Gunderman wrote:
> I am looking to parse a plaintext from a document. However, I am
> confused about the actual methodology of it. This is because some of the
> words will be multiple digits or characters. However, I don't know the
> length of the words before the parse. Is there a way to s