Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print >>f, "Hello world" # Python 2.x
- print("Hello world", file=f) # Python 3.x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement