converting a list into a tuple?

Harvest T. Moon info at black-karma.de
Thu May 24 06:27:08 EDT 2001


how do i convert

mylist = ["foo", "bar"]

into

mytuple = ("foo", "bar")

i think it must be easy ... but ... umm ... :)

Harvest T. Moon
-- a life less ordinary!!





More information about the Python-list mailing list