Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2000 Database Design

Authors: Louis Davidson

1st Edition

1861004761, 978-1861004765

More Books

Students also viewed these Databases questions

Question

When should an order be placed? LO.1

Answered: 1 week ago

Question

Does it avoid using personal pronouns (such as I and me)?

Answered: 1 week ago

Question

Does it clearly identify what you have done and accomplished?

Answered: 1 week ago