Forums

csv file update

Hi all,

I am running an algo trading script that first fetches some data on weekdays and then adds this info to a csv file. On my PC it works fine: I provided the path to my csv file in the script and the file is being updated daily. No problems, all good.

Here at pythonanywhere I encounter an issue. I saved my csv file under "Files" along with the script. Provided a new path to the file (csv_path = '/home/mpantyushin/file.csv') The file, however, is not being updated, as it was the case on my PC.

Could someone please help out a newbie?:)

Thanks in advance, Misha

Add some logging to your script and make sure that it is actually reaching the code that writes to the file.