Style question

Kamus of Kadizhar yan at NsOeSiPnAeMr.com
Sat Dec 13 06:30:12 EST 2003


I have the following line:

remoteMD5hash = Socket.recv(256)

But what I really want is remoteMD5hash.strip()

What's the best way to say that on one line?

remoteKD5hash = string.strip(Socket.recv(256)) ?

Or something better?

-Kamus

-- 
     o__      |  If you're old, eat right and ride a decent bike.
     ,>/'_    |                                       Q.
    (_)\(_)   |                                       Usenet posting`





More information about the Python-list mailing list