Answer the question
In order to leave comments, you need to log in
How to overwrite txt files in Heroku (Python)?
I uploaded the application to Heroku, then I found out that files were not overwritten from the script itself. Checked through heroku run bash
- the file was successfully overwritten. As a result, no matter what I do, rewriting from scripts does not occur, although everything works fine locally on the machine. How to be? I don’t want to move to Digital Ocean, I’ve spent too much time on Heroku and have already got used to it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question