[Tutor] Convert list to literal string.

Decibels decibelshelp@charter.net
Sat Jun 28 10:41:03 2003


Having a little problem with part of my program.
I had a little setup program I wrote to populate a database.
In the setup I used literal strings for the symbols, and figured later
I would have it take command-line options for them.

Problem is now, I can't get the function to work with the list, only if
I enter the data as literal strings.

Example:

stocks = "IBM,EK"

send that to the yahooquotes module and works fine!

When I enter them from the command-line though it doesn't
It comes as a list and won't work.  

Is there a way to make a list into a literal?

Thanks, Dave