Local-Script Diary
Task description
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
Input
Choose to quit or to enter a line of text
Output
Once the program start, automately display diary content
When user type a line of text, save it automately
Finnaly, display the diary after modification
Neglected-Details
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'
Code
Last updated