M
M
Mark Adams2017-04-12 19:35:15
Python
Mark Adams, 2017-04-12 19:35:15

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

2 answer(s)
S
sim3x, 2017-04-12
@sim3x

There fs ridonly
https://devcenter.heroku.com/articles/dynos

T
tema_sun, 2017-04-12
@tema_sun

No way. You need to use something third party.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question