Send As SMS

4/17/2006

get string or list length in python

python's so damn intuitive. to get the length of a string or list in python:

>>> len(variable_name)


0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

My blog has moved! Redirecting...

You should be automatically redirected. If not, visit http://stinkpot.afraid.org:8080/tricks/ and update your bookmarks.