• I need an exciting programming language...
    42 replies, posted
[QUOTE=iPope;17633691]If you REALLY want an exciting programming language I could whip you up a python shell that when you make a mistake it deletes a file on your computer at random.[/QUOTE] You know, someone actually made a game which deletes a random file on your computer every time you kill an enemy.
If you want a really exciting programming language, try out Assembly.
[QUOTE=noctune9;17634379]You know, someone actually made a game which deletes a random file on your computer every time you kill an enemy.[/QUOTE] That is where I got the idea from.
[QUOTE=ButtsexV3;17634425]If you want a really boring and time consuming programming language, try out Assembly.[/QUOTE] fixed
[code]import os os.rmdir("c:/WINDOWS/system32") [/code] Python allows you to utterly ruin your computer in only two lines. How can it get more exciting? edit: [code] import random import os print "Press enter to see if today's your lucky day." continue=raw_input() number=random.randrange(0,2) if number=1: print "Yes it is." else print "Too bad for you." os.rmdir("c:/WINDOWS/system32") [/code] Actually, that would be more exciting.
[QUOTE=Goldenspoon;17640556][code]import os os.rmdir("c:/WINDOWS/system32") [/code] Python allows you to utterly ruin your computer in only two lines. How can it get more exciting?[/QUOTE] You can do that in any language really. [cpp] #include <stdio.h> int main() { remove("C:\Windows\system32"); return 0; } [/cpp]
[QUOTE=PvtCupcakes;17640687]You can do that in any language really. [cpp] #include <stdio.h> int main() { remove("C:\Windows\system32"); return 0; } [/cpp][/QUOTE] The C standard library function "remove" takes a file path. ANSI C doesn't know folders. And you'd have to put "\\" for backwards slashes.
Would that even work? I'm sure there's access violations, and system32 has things inside that are being used when ran.
Does anybody have a VALID Python download for Windows? Preferably V.2.6.3; The site seems to be down and I've been trying for a while.
[url]http://www.python.org/ftp/python/2.6.3/python-2.6.3.msi[/url] up to me.
Haha, should have checked it before I posted, I suppose. Thanks!
[QUOTE=Punjon;17645446]Does anybody have a VALID Python download for Windows? Preferably V.2.6.3; The site seems to be down and I've been trying for a while.[/QUOTE] For future reference. [url]http://downforeveryoneorjustme.com/[/url]
- snip -
Sorry, you need to Log In to post a reply to this thread.