Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45924 > unrolled thread
| Started by | Thomas Murphy <thomasmurphymusic@gmail.com> |
|---|---|
| First post | 2013-05-24 19:04 -0400 |
| Last post | 2013-05-24 19:04 -0400 |
| 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: Prepending string "@" to usernames Thomas Murphy <thomasmurphymusic@gmail.com> - 2013-05-24 19:04 -0400
| From | Thomas Murphy <thomasmurphymusic@gmail.com> |
|---|---|
| Date | 2013-05-24 19:04 -0400 |
| Subject | Re: Prepending string "@" to usernames |
| Message-ID | <mailman.2083.1369436680.3114.python-list@python.org> |
> 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 top | Article view | comp.lang.python
csiph-web