fname = raw_input("Enter file name: ")
if len(fname) < 1 :
fname = "mbox-short.txt"
for line in fname:
line = line.strip()
if not line.startwith('From '):
continue
line = line.split()
count = count + 1
You need to actually open t
On 7/28/2015 7:38 PM, ltc.hots...@gmail.com wrote:
What is the source of the syntax error to the String Attribute?
Go to the following URL links and view a copy of the raw data file code
and sample data:
1.) http://tinyurl.com/p2xxxhl
2.) http://tinyurl.com/nclg6pq
If you want help here
Hi Everyone:
What is the source of the syntax error to the String Attribute?
Go to the following URL links and view a copy of the raw data file code and
sample data:
1.) http://tinyurl.com/p2xxxhl
2.) http://tinyurl.com/nclg6pq
Here is the desired output:
stephen.marqu...@uct.ac.za