News

$ python ssconverter.py file2.ods@1 file2.csv $ python ssconverter.py file2.ods@Sheet2 file2.csv The sheet name or number (starting at 1) is appended to the input file name separated by a colon (:) or ...
Remember that a CSV file is actually just a text document with a fancy formatting. That means that you actually don’t need to use a module if you want to know how to open CSV files in Python!
The “w+” tells Python that we are writing to a new file. If the file already exists, then that file is overwritten. If the file doesn’t already exist, then it will be created.
Using the SSConverter class that we developed last week, which used the OORunner class from the week before that, this week we'll create a Python function that allows us to use spreadsheets as if they ...