Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for row in data_file:
- row = row.strip()
- row = row.split(",")
- try:
- row[0] = int (row [0]) #int(row(0))
- except ValueError as e:
- print (e)
- continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement