Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53497
| Date | 2013-09-02 11:06 -0500 |
|---|---|
| From | Anthony Papillion <papillion@gmail.com> |
| Subject | How can I remove the first line of a multi-line string? |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.497.1378137995.19984.python-list@python.org> (permalink) |
Hello Everyone, I have a multi-line string and I need to remove the very first line from it. How can I do that? I looked at StringIO but I can't seem to figure out how to properly use it to remove the first line. Basically, I want to toss the first line but keep everything else. Can anyone put me on the right path? I know it is probably easy but I'm still learning Python and don't have all the string functions down yet. Thanks, Anthony
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
How can I remove the first line of a multi-line string? Anthony Papillion <papillion@gmail.com> - 2013-09-02 11:06 -0500
csiph-web