remove special characters from line

Egor Bolonev ebolonev at rol.ru
Tue Jul 1 11:27:02 EDT 2003


Hello, Chris!
You wrote  on Tue, 1 Jul 2003 10:03:37 -0500:

 CR> If I have a line like this

 CR> ╡blah blah blah blah blah

 CR> I know I could do a slice like this [1:] to pull everything but the
 CR> special character, but what if I have several lines in a file.
 CR> I am not sure how I would detect a special character like that.  I
 CR> would just like to pull everything from those lines (and the special
 CR> character always appears as the first character, but not on every line)
 CR> except for the special characters.
 CR> I hope I have enough detail for someone to help me.

 CR> Thanks in advance,

I didn't get what you're talkink about.

With best regards, Egor Bolonev.  E-mail: ebolonev at rol.ru [ru eo en]





More information about the Python-list mailing list