I'm working on a online server, and I need all my list and dict saved. What would be the best and quickest way to approach this?  
I tried importing the data, and it works to load the data. But how can I update the imported file?
I think you can use pickle/cPickle module to save and load the date, which are built-in module and easy to use.
I am not very sure the meaning of update import file, what about rewrite the content back to the file after updating in the program?
Saving to external PY file?