Yes! It just occurred to my that this could be the problem. I have to change
that. Thanks for the hint.
Frederic
- Original Message -
From: "Georg Brandl" <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Saturday, August 26, 2006 1:59 PM
Subject: Re: Taking
Anthra Norell wrote:
> No, I am not running Linux to any extent. But I am very strict about case.
> There is not a single instance of "se.py" or "sel.py"
> anywhere on my system. You' ll have to find out where lower case sneaks in on
> yours. The zip file preserves case and in the zip file
> the
ames are upper case. I am baffled. But I believe that an import tripping
up on the wrong case can't be a hard nut to crack.
Frederic
- Original Message -
From: "DH" <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Saturday, August 26, 2006 5:47 AM
Subject:
> >>> import SE
>
> That should do it. Let me know if it works. Else just keep asking.
>
> Frederic
>
>
> - Original Message -
> From: "DH" <[EMAIL PROTECTE
ython has been an important part of Google since the
> > beginning, and remains so as the system grows and evolves.
> > '
> > -- Peter Norvig,
> >
> > If instead of "htm2iso.se" you write ""=" you delete it and your
> > outp
>
> Python has been an important part of Google since the
> beginning, and remains so as the system grows and evolves.
>
> -- Peter Norvig,
>
> Your Tag_Stripper also does files:
>
> >>> print Tag_Stripper ('my_file.htm', 'my_file_without_tags')
&
gs')
'my_file_without_tags'
A stream editor is not a substitute for a parser. It does handle more
economically simple translation jobs like this one where a
parser does a lot of work which you don't need.
Regards
Frederic
- Original Message -
From: "DH"
I found this
http://groups.google.com/group/comp.lang.python/browse_thread/thread/d1bda6ebcfb060f9/ad0ac6b1ac8cff51?lnk=gst&q=replace+text+file&rnum=8#ad0ac6b1ac8cff51
Credit Jeremy Moles
---
finds = ("{", "}", "(", ")")
lines = file("foo.txt", "r").re
DH wrote:
> I have a plain text file containing the html and words that I want
> removed(keywords) from the html file, after processing the html file it
> would save it as a plain text file.
>
> So the program would import the keywords, remove them from the html
> file and save the html file as
DH wrote:
>> > I'm trying to strip the html and other useless junk from a html page..
>> > Id like to create something like an automated text editor, where it
>> > takes the keywords from a txt file and removes them from the html page
>> > (replace the words in the html page with blank space)
[...]
s and a
> sample of the same data as it should look once it is
> processed.
>
> Frederic
>
> - Original Message -
> From: "DH" <[EMAIL PROTECTED]>
> Newsgroups: comp.lang.python
> To:
> Sent: Thursday, August 24, 2006 2:11 AM
> Subject: Takin
DH wrote:
> Hi,
>
> I'm trying to strip the html and other useless junk from a html page..
> Id like to create something like an automated text editor, where it
> takes the keywords from a txt file and removes them from the html page
> (replace the words in the html page with blank space) I'm new
f the same data as it should look once it is
processed.
Frederic
- Original Message -
From: "DH" <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Thursday, August 24, 2006 2:11 AM
Subject: Taking data from a text file to parse html page
> Hi,
>
> I
Hi,
I'm trying to strip the html and other useless junk from a html page..
Id like to create something like an automated text editor, where it
takes the keywords from a txt file and removes them from the html page
(replace the words in the html page with blank space) I'm new to python
and could us
14 matches
Mail list logo