Newbie question

Gabriel Cooper gabriel.cooper at mediapulse.com
Tue May 25 09:19:03 EDT 2004



mp312 wrote:

>I have a script that I need to do the following:  
>
>Taking a user id that is in the format 'userid at MACAddress', read the 
>userid portion (varying length) and concatenate with @honigman.com.
>
>  
>
import string
x = string.split('userid at macaddress','@')[0]+'@honigman.com'




More information about the Python-list mailing list