Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45926
| Date | 2013-05-24 18:14 -0500 |
|---|---|
| From | Andrew Berg <bahamutzero8825@gmail.com> |
| Subject | Re: Prepending string "@" to usernames |
| References | <CAEcwjcx6WtUMTg=QpqjEZ3fyfUhOLWQ2v-pF4qQ9ypFd3DtByA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2085.1369437278.3114.python-list@python.org> (permalink) |
On 2013.05.24 17:53, Thomas Murphy wrote: > I know I'm iterating wrong. May I ask how? .split() already returns a list, so instead of iterating over the list and getting a single username, you iterate over the list and get a single list. -- CPython 3.3.2 | Windows NT 6.2.9200 / FreeBSD 9.1
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Prepending string "@" to usernames Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-24 18:14 -0500
csiph-web