Hello, .xls is a proprietary format used by Microsoft office, and unless you have the specs for that format and are willing to implement them (very very hard) it would not make much sense.
If you absolutely need that, then maybe a macro in VBA from Excel itself may be a better option. ---- Changing the file extension only (just the filename, not the contents of the file) can be done using the shutil module in Python (high level file manipulation) Hugo arun wrote: > Hi , > Can i save a file with a desired extension?? > for ex: I have a .csv file (test.csv) and i want to save this file as > test.xls from a python script. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor