I hoping to be able to write a HTML report and draw from a .dbf and .jpg file to do so.
So far I'm stuck even writing the HTML file to a file.
Can someone please give me some ideas?
Here is my dodgy piece of code.
import os import pydoc import sys from pydoc import help def MakeFile(report_test): """ MakeFile(report_test): makes a file. """ temp_path = 'C:\\NCRAT\\outputs\\reports' + report_test file = open(temp_path, 'w') file.write('C:\\NCRAT\\outputs\\tables\\EEC_Stats.dbf') file.close() print 'Execution completed.' MakeFile('report_test.html')