Skip to content
Using .txt files in python
Profile icon
CarlLiljencrant

I've run in to a problem with my code. I'm trying to create a game for me and my friends just to have some fun togheter and challenge my self. The problem I've gotten is that for some reason my code can't write in .txt files and save that information if you're using the link to directly run the code: https://testing-accounts.carlliljencrant.repl.run and you can not write in the text file so that i can see it in the text file using this link either: https://repl.it/@CarlLiljencrant/testing-accounts Does someone have a solution to this?

You are viewing a single comment. View All
Profile icon
a5rocks

You can get free MongoDB hosting (MongoDB Atlas), or you can use jsonstore (someone made a post on repl talk about jsonstore before)

Also, see if becoming an explorer can help. It may corrupt things, but I'm pretty sure they are testing out programmatic writing rn.

Profile icon
CarlLiljencrant

@a5rocks
I think I'm going with jsonstore, thanks to everyone!!