Read and write txt file in repository
rapl4
FREEOP

2 years 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

16 Replies

rapl4
FREEOP

2 years ago

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


2 years ago

please provide any errors you are getting


rapl4
FREEOP

2 years ago

I am not getting any


2 years 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
FREEOP

2 years ago

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


2 years ago

what makes you say that


rapl4
FREEOP

2 years ago

huh?


2 years ago

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


rapl4
FREEOP

2 years 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


2 years ago

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


rapl4
FREEOP

2 years ago

Oh yeah I realized it now


rapl4
FREEOP

2 years ago

Well is there a way to still do it?


2 years ago

github is not file storage for your deployed app


2 years ago

use postgres


Status changed to Solved Railway almost 2 years ago


rapl4
FREEOP

2 years ago

thanks for helping


2 years ago

no problem!


Loading...