We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b848e commit 6c7e8a3Copy full SHA for 6c7e8a3
Python_Data_Structures_assignments/Assignment_8.5.py
@@ -1,7 +1,4 @@
1
-#8.5 Open the file mbox-short.txt and read it line by line. When you find a line that starts with 'From ' like the following line:
2
-#You will parse the From line using split() and print out the second word in the line
3
-#(i.e. the entire address of the person who sent the message). Then print out a count at the end.
4
-#Hint: make sure not to include the lines that start with 'From:'.
+#This program finds the keyword 'From' and then strips out email addresses from a textfile.
5
6
file_name=input("Enter File Name/Full Path: ")
7
try:
0 commit comments