S
S Borg
Hello,
If I have a string, what is the strongest way to assure the
removal of any line break characters?
Line break characters must always be the last character in a line, so
would
this: str = linestring[:-1]
work?
This is my first real 'learning python' project, and I don't want to
get in the habit
of doing things the 'Java way'. Your comments and suggestions are very
much
appreciated.
thanks,
S
If I have a string, what is the strongest way to assure the
removal of any line break characters?
Line break characters must always be the last character in a line, so
would
this: str = linestring[:-1]
work?
This is my first real 'learning python' project, and I don't want to
get in the habit
of doing things the 'Java way'. Your comments and suggestions are very
much
appreciated.
thanks,
S