reading add_data from file

1 view
Skip to first unread message

Marti

unread,
Oct 20, 2008, 7:34:21 AM10/20/08
to Python Google Chart
Hi,

I just want to generate the the stats from file. Because of small
python knowledge i edit the default line.py file, and now have sth
like this:
http://pastebin.pl/3102

Is there any option to read the data = [ ] from a text file that
containt just

1,
0,
1,
0,
0,
1,
(every new value in a new line)

thanks in advance for help.

Best regards,
Marcin

Reply all
Reply to author
Forward
0 new messages