View Single Post
Old May 23rd, 2006, 12:02 PM   #130
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by zem52887
I need to tell Python what to do if highlights doesn't exist, since I'm not really familiar with how this is going to be exported to excel, if I want a blank cell in excel when there are no financial highlights what should I direct python to do? Can I tell it to print "No Data Available" or something and will that translate to excel?
I'll give you a quick example of how to use Python to create a CSV when I get home in about 40 to 50 minutes. You might want to look up how to read/write to files in the tutorial in the meanwhile.
Arevos is offline   Reply With Quote