Read and write txt file in repository

rapl4
FREE

a year ago

I have a github repository with a python script, Procfile, requirements.txt and points.txt but the python file cant write in it

Solved

0 Replies

rapl4
FREE

a year ago

6a4fa19d-db0c-49e4-bdfc-9c2e28bb0788


a year ago

please provide any errors you are getting


rapl4
FREE

a year ago

I am not getting any


a year ago

im not too sure how we can help here as "cant write in it" does not give us enough information to go off of


rapl4
FREE

a year ago

The python script cannot write and save anything in the text file


a year ago

what makes you say that


rapl4
FREE

a year ago

huh?


a year ago

what makes you say that it cant read and write to the file


rapl4
FREE

a year ago

I made a text file in the repository and launched the script to railway, but the python script cannot modify the text file (read, write) which it needs to do to continue it's purpose


a year ago

okay hold on, are you expecting your script running on railway to be able to modify the file in github?


rapl4
FREE

a year ago

Oh yeah I realized it now


rapl4
FREE

a year ago

Well is there a way to still do it?


a year ago

github is not file storage for your deployed app


a year ago

use postgres


Status changed to Solved Railway over 1 year ago


rapl4
FREE

a year ago

thanks for helping


a year ago

no problem!