[Tutor] Multipart Question

Daniel Nash dan_nash@hotmail.com
Thu May 8 16:26:55 2003


I came accross this bit of code:

if contenttype[:10] == "multipart/":
      mimemsg = mimetools.Message(sys.__stdin__)
      boundary = mimemsg.getparam('boundary')
      .........

What is the significance of the [:10]?

Thanks.

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail