Just a quick one
indigo at bitglue.com
Thu Aug 26 00:40:23 CEST 2004
A tuple (actually, any iterable) can be converted to a list by using
list(), like so:
list( (1, 2, 3) ) ==> [1, 2, 3]
In fact, most types can be converted like so, str(), list(), dict(),
tuple(). You can always do "help(str)" in Python for more verbose
On Wed, Aug 25, 2004 at 03:00:11PM +0100, M. Clift wrote:
> Hi Benjamin,
> Sorry, another question. How do I remove the brackets form the list?
> Name_List.remove('(') doesn't work.
More information about the Python-list