Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45924
| References | <CAEcwjcx6WtUMTg=QpqjEZ3fyfUhOLWQ2v-pF4qQ9ypFd3DtByA@mail.gmail.com> <CAGGBd_okY709NyG0BBZSHzv709oTAUNbicMgfOMjo3LjFDipwQ@mail.gmail.com> |
|---|---|
| Date | 2013-05-24 19:04 -0400 |
| Subject | Re: Prepending string "@" to usernames |
| From | Thomas Murphy <thomasmurphymusic@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2083.1369436680.3114.python-list@python.org> (permalink) |
> Maybe this is what you're looking for?
>
> raw_address = "cookielover93 TheGermanHatesSaurkraut WhatsThatBoy932834"
> address_library = raw_address.split()
> print address_library
>
> final_address = []
> for address in address_library:
> final_address.append("@" + str(address))
> print final_address
>
Exactly it. Thank you so much Dan. Perfect!
--
Sincerely,
Thomas Murphy
Code Ninja
646.957.6115
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Prepending string "@" to usernames Thomas Murphy <thomasmurphymusic@gmail.com> - 2013-05-24 19:04 -0400
csiph-web