Read and write txt file in repository
I have a github repository with a python script, Procfile, requirements.txt and points.txt but the python file cant write in it
16 Replies
Project ID:
6a4fa19d-db0c-49e4-bdfc-9c2e28bb0788
6a4fa19d-db0c-49e4-bdfc-9c2e28bb0788
please provide any errors you are getting
I am not getting any
im not too sure how we can help here as "cant write in it" does not give us enough information to go off of
The python script cannot write and save anything in the text file
what makes you say that
huh?
what makes you say that it cant read and write to the file
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
okay hold on, are you expecting your script running on railway to be able to modify the file in github?
Oh yeah I realized it now
Well is there a way to still do it?
github is not file storage for your deployed app
Solution
use postgres
thanks for helping
no problem!