Table of Contents
Instructions
- Create a new directory under csd-310 and name it module_6.
- Inside the module_6 directory create a new file and name it pytech_update.py.
- Add the required Python code to connect to the students collection (refer to previous assignments for help).
- Call the find() method and output the documents to the terminal window.
- Call the update_one method by student_id 1007 and update the last name to something different than the originally saved name.
- Call the find_one method by student_id 1007 and output the document to the terminal window.
- Styling guidelines:
- The format must match mine (this is gradable).
- You may use the data Ive provided or supply your own values.
- The only exception is you must use student_ids 1007, 1008, and 1009.
Output
Deliverables
- pytech_update.py
What Students Are Saying About Us
.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"
.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."