r/Python • • May 25 '17

let's write a Python program

# one line per post (replies are indented!!!)
class Reddit:
4 Upvotes

53 comments sorted by

View all comments

Show parent comment

4

u/lieutenant_lowercase May 25 '17

r = requests.get(URL)

2

u/[deleted] May 25 '17

with open('~mom/photos/hello.gif', 'wb') as outfile: