Question: using python 3 Use Python to write a simple text editor like the one pictured below. When opened, the scrollable text area should be blank,
using python 3
Use Python to write a simple text editor like the one pictured below. When opened, the scrollable text area should be blank, allowing the user to type in new content. Alternatively, the user should be able to load a file by selecting "Open..." and choosing the file to load. The file's contents should then fill the text area. The user should then be able to edit the document and choose to "Save" or "Save As...". If the user chooses "Save As...", they should be allowed to enter the location to save the contents into a file before that information is saved. If the user presses "Save" and the content in the text area was initially loaded from a file, the changes should be saved without prompting the user for a location to save them to. If, on the other hand, no file was initially loaded, the behaviour of selecting "Save" should be identical to "Save As...".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
