Q: going from tuple to comma-separated list?

Sean 'Shaleh' Perry shalehperry at attbi.com
Tue May 21 02:28:26 EDT 2002


> 
> I realize plotdata is a tuple.  So this is the equivalent of me
> calling Gnuplot.plot((0, 1, 2))
> Note the double parenthesis...  I'm guessing I just need to get
> rid of them.  Is there a way to convert from a tuple to its
> non-parenthesized equivalent?
> 

sounds like you need the apply() builtin.





More information about the Python-list mailing list