I\'m sorry if this is an obvious question, I\'m still pretty new to the API. I\'m using the python drive api library, and trying to download a google spreadsheet as a csv.
Note, as of April 2015 DocsList was depreciated, and has been replaced by DriveApp. Many of the DriveApp methods are identical to DocsList. So, in many cases, you can simply replace DocsList with DriveApp. So replace DocsList.createFile() with DriveApp.createFile()
How to update DocsList to DriveApp in my code