Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.177 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.69; '*S*': 0.04; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; 'for?': 0.16; 'cc:addr:python.org': 0.22; 'print': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'maybe': 0.34; 'received:google.com': 0.35; 'thank': 0.38; "you're": 0.61; 'address': 0.63; 'thomas': 0.65; 'to:addr:gmail.com': 0.65; 'dan.': 0.84; 'perfect!': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5THznOZnx/L1YA3+s32PN+Mpfvi9inAlWjzlgyP4FKw=; b=pgKBGyfFlTO30Ix/aLUBjXta8k+Xw1eBwZ+ZOmF92sX/zSdldRRBZKK/cWk33n8vU5 CjKUIB2Iur07CLF11h1vtPiVmj7sLFdYWA8ePZ+aMiuJQ0ygrAmsi71ZF8ttgiJYvrIT jv2jupmDTkKZMSyqYfFt7yt6pkxSjHl/kpzRvU9wzuKNELHeesZk5xmaI21y2PXsL/p4 MHQits/ZF5pjkBv/7/DvjPx4Xb6r67UEIKpojhYE1srCLHhCL/xi6M8AeMpvkcqsrqLL iz3fibg3GwjvoZSawP0OLP3Yn+UeEN/hGOp1MLbTEVwopGyRRoBWSJetegqiil+pe4fu bqIQ== MIME-Version: 1.0 X-Received: by 10.50.7.66 with SMTP id h2mr657858iga.31.1369436671853; Fri, 24 May 2013 16:04:31 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 May 2013 19:04:31 -0400 Subject: Re: Prepending string "@" to usernames From: Thomas Murphy To: Dan Stromberg Content-Type: text/plain; charset=ISO-8859-1 Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369436680 news.xs4all.nl 15918 [2001:888:2000:d::a6]:46446 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45924 > 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