I am writing a script that will be used by multiple users, and I am looking for a way to sync settings and other variables throughout them all. My first instinct fell upon using an online database, but looking through this site, and the wider web I couldn't find anything.
What I need is something that I can write to and read from using python script. This could be a database, but I also have multiple online hosting accounts (Mega, Dropbox, Skydrive, Google Drive) and if anybody knows any APIs I could use to read & write files to these services, that would do as well.
This question is sort-of what I was looking for, but it was closed as "not a real question" before a suitable answer. https://stackoverflow.com/questions/13149328/modify-online-file-with-python
To be clear, I am looking for a way to edit database entries in a database hosted online, using a script on a different PC - and a way to read them.
Also, if anybody knows of any free online-database hosting that I could access through Python, much appreciated - quite like you can get free web hosting or free file hosting.
UPDATE: Thanks to both who answered, but unfortunetly when trying MySQLDb, I found that it only supports python 2.x (sorry - I forgot to mention that I use 3). I did, however, find another option while trying this. MySQL have their own python connector to access MySQL databases through Python found here (http://dev.mysql.com/doc/refman/5.6/en/connector-python.html), and that works for both Python versions (1&2).