Skip to content

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 …

Notifications You must be signed in to change notification settings

mzeriorwuese/Python-write-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Python-write-file

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.

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

No packages published

Languages