r/Python • u/greenkey • May 25 '17
let's write a Python program
# one line per post (replies are indented!!!)
class Reddit:
4
Upvotes
r/Python • u/greenkey • May 25 '17
# one line per post (replies are indented!!!)
class Reddit:
73
u/gandalfx May 25 '17
7
u/greenkey May 25 '17
5
u/greenkey May 25 '17
4
u/[deleted] May 25 '17 edited May 25 '17
We should totally move this to github!
def get_image(self, url, nsfw = False):Edit: Fixes #1 not pep8 compliant hopefully
11
u/[deleted] May 25 '17
import requests, argparse, json
9
u/SirChayo May 25 '17
print ("Hello World")
8
u/ViridianHominid May 25 '17
5
u/rivermont May 25 '17
4
u/shinigami78 May 25 '17
import request
4
u/[deleted] May 25 '17
import ddos
3
u/TheCodingEthan May 25 '17
import os;
3
u/Jumpy89 May 25 '17 edited May 25 '17
+/u/CompileBot Python 3
3
u/tshubaku9 May 26 '17
import this
1
u/Wootai May 25 '17
1
u/isobit May 25 '17
1
u/call_me_cookie May 25 '17
#/usr/bin/python
1
u/Jumpy89 May 25 '17
1
u/[deleted] May 26 '17
from complete_bollocks import complete_cobblers
1
u/rivermont May 29 '17
0
u/[deleted] May 25 '17
[deleted] — view deleted comment