Creating a single list

Xavier Ho contact at xavierho.com
Sat May 29 09:41:29 EDT 2010


>       # Insert into the list with slicing syntax.
>    column_title_list[2:3} = getproduct()
>

Sorry, that should have been [2:3]. Typing a bit too fast.

-Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100529/4d7a8dc5/attachment-0001.html>


More information about the Python-list mailing list