Relative Content

Tag Archive for pythonfileio

File read/modify/write successful but file unchanged

I’m a using the following code to output the contents of an array of lines to a file. The code works perfectly locally. The code appears to be successful when running on the server according to the debug messages. The problem is the file is unchanged. Here’s the code: