Creat local diary operating in Terminal with .txt
the diary take a line of text each time
the diary can print out all the content when the system works again
Choose to quit or to enter a line of text
Once the program start, automately display diary content
When user type a line of text, save it automately
Finnaly, display the diary after modification
Every time the input should be added with the time.
What if the user just want to quit from the program? Always creat a "door" for user to quit
+
Materials
"Automate boring stuff with Python"-'Reading and writing files'
Github Code Linkarrow-up-right
Last updated 7 years ago