Python to TXT. with game engine

I was wondering, I’ve been getting better with python but still have a lot to learn. I was wondering if anyone has any links to tutorials or any explanations to this problem. I’m looking for a way to have an object pull a number or word from a text file and then set it as a property of that particular object. And then throughout the game and when the number changes if it can change the .txt file that would be perfect. Any ideas? I feel pretty stuck on this one.



Look up blendenzo’s save/load script. Here it is.

Download the official python from the python website. It’ll come with IDLE, the python IDE which in turn comes with the Python help docs which i can’t tell you how many times ive turned to for help with problems exactly like yours!