Skip to content

Importing local CSV files into Google Spreadsheet

License

Notifications You must be signed in to change notification settings

mewfree/sheetimport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

SheetImport

Allows to import local CSV files into Google Spreadsheet, returning a new Google Sheet URL.

Create a new Google Cloud project with the Google Sheets API activated. Place the generated credentials.json in the same directory as sheetimport.py.

Import CSV by either referencing the file as a parameters: python3 sheetimport.py example.csv

Or by piping the file to the script: cat example.csv | python3 sheetimport.py