how to truncate to get the 1st 5 chars from a string

Donn donn.ingle at
Thu Sep 24 05:12:01 CEST 2009

On Thursday 24 September 2009 05:05:45 MacRules wrote:
> s="1234abcd"
print s[0:4] 
should do it. Not sure it's a function though.
2D vector animation :
Font manager :

More information about the Python-list mailing list