Mechatronics Engineering Google Site
Special Instructions:
Entry Ticket - House Keeping
- LinkedIn - Job and Internship Opportunities
- Message me on LinkedIn if you would want to hear about Job or Internship opportunities
- Donors Choose - Pools and Batteries
- Entry Ticket
- Python - Reading Files
- Open Lab
- Clean Up
Python - Files
- LAB - Duration: 60 Min
- Link: Pythonlearn-07-Files
- Python Files
- Open the mbox-short
- find all the emails
- write them to a file
- the out put should just be a list of emails one each line:
postmaster@collab.sakaiproject.org
200801051412.m05ECIaH010327@nakamura.uits.iupui.edu
source@collab.sakaiproject.org
source@collab.sakaiproject.org
source@collab.sakaiproject.org
# this is my file read example
newList=list() # Creating a List
print(newList)
whileLoopFlag='True'
while whileLoopFlag == 'True':
userListData=input('enter a text string or "Q" to quit ')
if userListData=='Q':
whileLoopFlag='Flase'
else:
newList.append(userListData)
print(newList)
print(newList)
# this is my file write example
newFileHandle=open('newFile.txt', 'w')
print(newFileHandle)
newFileHandle.write('\n# this is a list of user input\n')
for myVar in newList:
newFileHandle.write(myVar)
newFileHandle.write('\n')
newFileHandle.close()
newList=list() # Creating a List
print(newList)
whileLoopFlag='True'
while whileLoopFlag == 'True':
userListData=input('enter a text string or "Q" to quit ')
if userListData=='Q':
whileLoopFlag='Flase'
else:
newList.append(userListData)
print(newList)
print(newList)
# this is my file write example
newFileHandle=open('newFile.txt', 'w')
print(newFileHandle)
newFileHandle.write('\n# this is a list of user input\n')
for myVar in newList:
newFileHandle.write(myVar)
newFileHandle.write('\n')
newFileHandle.close()
- LAB - Duration: 40 Min
- Link: Robot Club Google Sites
- Instructions & Expectations: Connect with your Robot Club Team. You will either be working on your Robot Project or an Open Lab Project.
- You will need to account for your time. You will need to convince me by your form submission that you worked given the time allotted.
- If you or your Robot Club Team worked on the Robot Club project, you will make sure your Robot Project Status Google docs are updated.
- If you worked on an Open Lab Project, you will also need to tell me about what you accomplished and what you are planning next.
- How to Submit Assignment: Each Student needs to account for your time.
- Every One Do The Following: Turn in an Open Lab Blog Post
- If you also worked on your Robot Club Project, also UPDATE your Robot Project Status Google docs.
- Dig Deeper: Open Lab:
- Robot Club Google Sites
- Guest LED Lesson
- Printers - Work on taking the printers apart
- TinkerCAD
- Udemy - My Courses (specifically the Arduino Workshop and Electronics Engineering Technology class)
- Assignment - Duration: 2-10 Min
- Instructions & Expectations: Desk cleanup, put away all projects, find your assigned job
- How to Submit Assignment: When Complete, check yourself off on Sign Out Sheet - 2 Points
No comments:
Post a Comment