Create a note-taking program. When a user starts it up, it should prompt them for a filename. If they enter a file name that doesn't exist, it should prompt them to enter the text they want to write to the file. After they enter the text, it should save the file and exit. If they enter a file name that already exists, it should ask the user if they want: A) Read the file B) Delete the file and start over C) Append the file If the user wants to read the file it should simply show the contents of the file on the screen. If the user wants to start over then the file should be deleted and another empty one made in its place. If a user elects to append the file, then they should be able to enter more text, and that text should be added to the existing text in the file.
-
Notifications
You must be signed in to change notification settings - Fork 0
Create a note-taking program. When a user starts it up, it should prompt them for a filename. If they enter a file name that doesn't exist, it should prompt them to enter the text they want to write to the file. After they enter the text, it should save the file and exit. If they enter a file name that already exists, it should ask the user if …
mzeriorwuese/Python-write-file
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Create a note-taking program. When a user starts it up, it should prompt them for a filename. If they enter a file name that doesn't exist, it should prompt them to enter the text they want to write to the file. After they enter the text, it should save the file and exit. If they enter a file name that already exists, it should ask the user if …
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published