Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, I am really lost on how to do these parts in Python. Next, we are going to move this code to an external file
Hello, I am really lost on how to do these parts in Python.
Next, we are going to move this code to an external file - a Python module file. (Week 2) - Open a new text file, from the Jupyter server page - Copy your classes and functions into that file - Save that file in the same folder/directory where this notebook is located, with some name that you give it, and a '.py' extension. - Now, import the classes and functions from that file into the notebook, and check that you can use them. ] : Part III: Python Scripts (Week 2) Now write a small script that imports from your module file, and uses that code to do something. To do so, start with the new text file. It should import your classes and functions from the file you made above. Then, use these functions and classes to do something (write some Python code that does something with these objects). Save your file with a '.py' extension *in the same folder/directory where this notebook is located, and then execute it from the terminal. ] : \# your code here raise NotimplementedError Explain your success/struggles/failures with the above here: The End! This is the end of this Coding Lab! Be sure you've made a concerted effort to complete all the tasks specified in this lab. Then, go ahead and submit on datahubStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started