Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37431 > unrolled thread
| Started by | Santosh Kumar <sntshkmr60@gmail.com> |
|---|---|
| First post | 2013-01-23 14:50 +0530 |
| Last post | 2013-01-23 14:50 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Any algorithm to preserve whitespaces? Santosh Kumar <sntshkmr60@gmail.com> - 2013-01-23 14:50 +0530
| From | Santosh Kumar <sntshkmr60@gmail.com> |
|---|---|
| Date | 2013-01-23 14:50 +0530 |
| Subject | Re: Any algorithm to preserve whitespaces? |
| Message-ID | <mailman.874.1358932816.2939.python-list@python.org> |
I am in a problem.
words = line.split(' ')
preserve whitespaces but the problem is it writes an additional line
after every line.
And:
words = line.split()
works as I expect (does not adds addition line after every line) but
does not preserves whitespaces.
Back to top | Article view | comp.lang.python
csiph-web