[EMAIL PROTECTED] wrote:
I found out that doing a re.findall will split up the results into an
array, or rather something called a list (looks like an array to me).
I'd be set if i could just count the elements in the array but I can't
seem to find anything in the documentation on how to : / ...
$ python
Python 2.4 (#1, Dec 4 2004, 20:10:33)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> l = [0, 1, 'two']
>>> len(l)
3
>>> l[2]
'two'
>>>
Does this help at all?
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
exit
--
http://mail.python.org/mailman/listinfo/python-list