Update python3.md

Changed 2 typos - 
Line51 -  type(lin) -> type(line) 
Line119 - as out_file -> as outfile
Merge pull request #3 from sjspielman/patch-4

Update python3.md