[python] Easiest way to read/write a file's content in Python