Dec-23-2016, 04:01 AM
Hi,
I am learning python at the moment (codeacademy & learn python android app & a couple of different books) and am also making little programs as I progress along...
One that I have made currently is a little acronyms dictionary that uses pickle and a .p file to store the dictionary. However when new words are added by myself they obviously do not show up on the version that I have sent a friend (unless I send her the .p file)
What I'd love to do is store the dictionary online and let it be updated by both of us.
I was thinking about using an online database perhaps.. is this the way you'd do it?
I've made an attempt at using pymysql on a .py on my PC but I can't seem to connect to the database on my hostmonster account. Am I right in thinking I'd need something other than localhost here? As surely it needs a webaddress in that field to know where the database is?
Any steer in the right direction would be really appreciated!
Many thanks
D
I am learning python at the moment (codeacademy & learn python android app & a couple of different books) and am also making little programs as I progress along...
One that I have made currently is a little acronyms dictionary that uses pickle and a .p file to store the dictionary. However when new words are added by myself they obviously do not show up on the version that I have sent a friend (unless I send her the .p file)
What I'd love to do is store the dictionary online and let it be updated by both of us.
I was thinking about using an online database perhaps.. is this the way you'd do it?
I've made an attempt at using pymysql on a .py on my PC but I can't seem to connect to the database on my hostmonster account. Am I right in thinking I'd need something other than localhost here? As surely it needs a webaddress in that field to know where the database is?
Any steer in the right direction would be really appreciated!
Many thanks
D