Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- infile = open('filenmae').read()
- for line in infile:
- print line
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <
- !
- D
- O
- C
- T
- Y
- P
- E
- .
- .
- .
- infile = open('filename').readlines()
- for line in infile:
- print line
- with open('filename') as infile:
- for line in infile:
- print line
- infile = open('filename').readlines()
- infile = open('filename').read().splitlines()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement