Newbie question

Peter Maas peter.maas at mplusr.de
Tue May 25 09:21:47 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.

mac_user_id.split('@')[0] + '@honigman.com'

Mit freundlichen Gruessen,

Peter Maas

-- 
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas at mplusr.de
-------------------------------------------------------------------



More information about the Python-list mailing list