New Feature Ideas for my program

So, I have been trying to find something to add to my program. Link is here:
https://replit.com/@petonstepens/Computer-312?v=1

1 Like

What about editing note file, and the user can write down notes and edit while running the program without having to directly go into the .txt file?

2 Likes

Gotta figure out how to do that, but I’ll try my hardest.

There is some some documentation and examples you could find online and on stackoverflow.

here’s a basic example of file writing

f = open("name.txt", "w")
f.write("wassup")
f.close()

take note that there are several modes you can open a file in

“w” which I used will overwrite the file if there’s anything already in it, and is also used for just creating files

“a” which is used to append to a file, so you don’t over write if there’s anything it, it just adds on.

“r” opens it in read mode, from there you can read the file using f.read() access the data through the program.

I hope this helps!

2 Likes

It worked! Thanks so much!

No problem! Glad I could help. I’ll put out a few more ideas if think of any.