Question: Guided Practice 5 . 4 - Using Python Interacting with Notepad Task 1 Program Python to Notepad First you need to open the Notepad program

Guided Practice 5.4- Using Python Interacting with Notepad
Task 1 Program Python to Notepad
First you need to open the Notepad program and create a simple file shown below.
Save the file to your PythonFiles folder on your desktop: Save As Desktop Pythonfiles
Notepad.txt.(Be careful not to save the file as Notepad.txt.txt. Make sure you show file extensions.
Close the notepad file.
Now were going to write a Python program to add information to the file and then close the file when
the student enters a key. Call your program Notepad.py.
Type the following
Enter some more write lines to the file and verify that they go into the notepad.txt file. Take a
screenshot of your notepad.txt file.
Deliverables for Task 1
Screenshot of your notepad.txt file
Task 2 Running the Python code from the command line
Now were going to switch to running the Python code you just wrote from the command line.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!