Upload a file to Google Sites
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
oneshot.py
runtests
sites_uploader.py
sites_uploader_test.py

README.md

sites uploader

I needed a tool to upload a file to a Google Sites page. This is it.

It was also an excuse to try and figure out OAuth. Why OAuth? Well, prompting for usernames and passwords belies automation. Even if you do go the ClientLogin route, the token only lasts for two weeks. Bah.