list object

member thudfoo thudfoo at opensuse.us
Sat May 10 13:47:42 EDT 2008


On 5/10/08, Gandalf <goldnery at gmail.com> wrote:
> my manual contain chapter about lists with python. when i try to copy
>  paste :
>
>  li = ["a", "b", "mpilgrim", "z", "example"] (1)
>
>
>  it i get this errore:
>
>  "TypeError: 'list' object is not callable"
>
>  i was wondering if their is  any special module I should import before
>  i use this function
>
>  i know i ask foolish questions it's my first day with python and i
>  have experience only with PHP and javascript, so please be patient
>
>  thanks
>
> --
>  http://mail.python.org/mailman/listinfo/python-list
>

Remove the "(1)"



More information about the Python-list mailing list