Appending a list's elements to another list using a list comprehension

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Oct 17 23:58:42 EDT 2007


En Wed, 17 Oct 2007 18:03:56 -0300, Debajit Adhikary <debajit1 at gmail.com>  
escribió:

> What in general is a good way to learn about little things like these?
> (I'm fairly new to the language)
>
> A google search for 'python list methods" did not turn up the +
> operator anywhere for me. Where could I find the official
> documentation for built in structures like the list?

Operators are hard to find... For the available list methods, see  
http://docs.python.org/lib/typesseq.html and  
http://docs.python.org/lib/typesseq-mutable.html
 From the Library Reference, you should read at least section 2 (Built-in  
Objects) and section 3 (Built-in types), and the remaining section titles  
so you know they exist at least.

-- 
Gabriel Genellina




More information about the Python-list mailing list