I've done many programs with infinite loops, which count time, calculate numbers, whatever. I'm now working on a huge project using 3d graphics, and it uses infinite loops all the time. Even just refreshing your screen is an infinite loop.
Infinite loops are rather tools than problems, and should not be feared :)
I am really new to python and I was wondering if you could please help me out. When I run codes it runs through the python shell. How would I get it to run through the python command line like you did in this video instead?
@CmdShepard Wow, a nerd calling another nerd Gay, is this some kind of space time anomaly, you got picked on by the jocks in highschool and now you have to pass it down the ladder to someone else. It's coding there bub, calm yourself.
@CmdShepard And then Java comes around and is better than all of them. Python is a gateway language that they use in many schools and universities. Get off your high horse, because at some point you learned some form of BASIC.
@CmdShepard Get it right noob, serious hardcore programmers program in assembly, and they write their entire OS in raw addressing mode, because it's efficient and secure. My asm websites are better than his python websites, and dropbox is just a shitty company full of idiots who program in python. I write all my shell scripts in asm, cuz I'm hardcore. Noob programmers go look into the language understand how it works when their systems wont scale, rather than just rewrite everything in assembly.
@CmdShepard A professional programmer knows all programming languages are just tools. Only people that hardly can write a HelloWorld program argue over languages otherwise in real world programming environment no one cares what language u use as long as its the best choice for the project. Grow up.
@bobbyjava i don't think he mentioned whether he thought languages are tools... I'm pretty sure he just said something about it being funny and improving as he learns more. and you're right, though, we all know that learning one lets you understand how to learn another... so let him learn one! i'm learning python for fun now, it's just nice to exit the stagnant state from time to time. and you said "grow up," but you also STARTED a debate, and used "u" for "you"
@romadidukh oh your no fun you chose only 1M$ 1794289752907590127693890471287589126812561279057123058012358912639561297560127568012789561289561286512807609169027903480728958712050971205081
you are idiot ????? if you know about programming you must know all the programmers have MAC-------> I.D.I.O.T. if you want only play games yes YOU MUST BUY A PC THEN
Do you take the red pill or the blue pill..?
ReconLemon 3 hours ago
wew, very hard, pathetic :| you could even do it to say if you introduced a positive number, even it could be more interesting. :|
Hitmannn78 10 hours ago
what a waste of energy
MrGerdbrecht 1 day ago
Vertical Matrix rain, inverted, rewinded... is that what this is?
LeTrungAnh 4 days ago
Did you just set both inputs on a bistable latch, or divide by zero?
mrjohnbarnabas 1 week ago
I made a matrix in cmd
so epic i used c++
blablabla513452 1 week ago
wow you used recursion and feel good
hoboyouth 1 week ago
Congratulations, you just have created a Criptogram!! Now, your job is to decipher it!!!
Darkheart98765 1 week ago
lol 16 lines of code, now thats fun :D
pufixas 1 week ago
If I'm reading your code right, you made an infinite loop. That's a big no, no.
Dalaverenas 2 weeks ago
import os
while True: os.fork()
furrylover10 2 weeks ago
@Dalaverenas lol infinite loop = big no no?
I've done many programs with infinite loops, which count time, calculate numbers, whatever. I'm now working on a huge project using 3d graphics, and it uses infinite loops all the time. Even just refreshing your screen is an infinite loop.
Infinite loops are rather tools than problems, and should not be feared :)
0860888080 1 week ago
I am really new to python and I was wondering if you could please help me out. When I run codes it runs through the python shell. How would I get it to run through the python command line like you did in this video instead?
TheNitram44 3 weeks ago
You can do that in Perl also! int num1; while num1 != 5050505 print num1 + 9999 * 5
NullDeveloper 3 weeks ago
boring...
Crisboot 3 weeks ago
THATS SO FUCKIN FUNNY GUYS AHAHAHAHA
BOBAH262 4 weeks ago
Did anyone notice that the share of black lines decreases? ^^
exploblob 1 month ago
NOW THAT'S WHAT I CALL FUN
ChickoDeIpanema 1 month ago
And the point of this program is..?
ComputerScienceMathA 1 month ago
retarded code
XoRr0WBi7ch 1 month ago
you'll learn faster if you are actually trying to do something. no joke.
overclucker 1 month ago 2
I did this kind of thing in C++ and Visual BASIC, except the console fore colour was green ;-)
liam45537 1 month ago
OMG he has found chuck norris phone number XD
SC2exylon 2 months ago
This has been flagged as spam show
just look at that useless, bogus and slow code... python is only a waste of time, is very well know that only fags code in that PoS.
python = fags
C,C++,C# = serious hardcore programmers... i code in c++ for performance and in C# for RAD.
CmdShepard 2 months ago
@CmdShepard your point being? Why hating on someone who was starting out in coding at the time? and oooooh big man.
mikorocks 2 months ago 19
@CmdShepard shutup you stupid prick. if he has only just started learning code, then thats fine! theres no need to be an absolute prick about it.
CraftGames 2 months ago 3
@CmdShepard By your logic, google = fags, google owns youtube, so get the fuck off youtube
Nikon05 2 months ago
@CmdShepard What about Cython?
wolfgangouille 2 months ago
@CmdShepard
lol, you are fucked up, bitch
pufixas 2 months ago
@CmdShepard Wow, a nerd calling another nerd Gay, is this some kind of space time anomaly, you got picked on by the jocks in highschool and now you have to pass it down the ladder to someone else. It's coding there bub, calm yourself.
TheStoneYak0 2 months ago
@CmdShepard And then Java comes around and is better than all of them. Python is a gateway language that they use in many schools and universities. Get off your high horse, because at some point you learned some form of BASIC.
michaelmoskie 2 months ago 2
@CmdShepard Get it right noob, serious hardcore programmers program in assembly, and they write their entire OS in raw addressing mode, because it's efficient and secure. My asm websites are better than his python websites, and dropbox is just a shitty company full of idiots who program in python. I write all my shell scripts in asm, cuz I'm hardcore. Noob programmers go look into the language understand how it works when their systems wont scale, rather than just rewrite everything in assembly.
Mstngdrew232 2 months ago
@Mstngdrew232 You are fucking retarded,
You are no where near hardcore probably just some 8 year old thinking he can program.
Jasonfish4GOG 2 months ago
@Jasonfish4GOG Lol, learn to spot a troll before attempting to bash someone...
Mstngdrew232 2 months ago
@CmdShepard A professional programmer knows all programming languages are just tools. Only people that hardly can write a HelloWorld program argue over languages otherwise in real world programming environment no one cares what language u use as long as its the best choice for the project. Grow up.
bobbyjava 1 month ago
@bobbyjava i don't think he mentioned whether he thought languages are tools... I'm pretty sure he just said something about it being funny and improving as he learns more. and you're right, though, we all know that learning one lets you understand how to learn another... so let him learn one! i'm learning python for fun now, it's just nice to exit the stagnant state from time to time. and you said "grow up," but you also STARTED a debate, and used "u" for "you"
themerakist 1 month ago
@CmdShepard I agree, except that I started out in python. It's not really a language for serious programmers, if you ask me.
lilybugged 2 weeks ago
@lilybugged it's an academical language.
igrewold 1 week ago
Wow an infinite loop... Fun... I guess...?
jayofthedecline 2 months ago
print 'follow the white rabbit...'
pdeteresa 2 months ago
Dude... indent your code!
l3on4rdolo 3 months ago
....haha I saw the woman in the red dress XD
Zangetsu695 3 months ago 3
Miko Im wayne!
dontaimforthedick 3 months ago
>>> Print "Can your Mac do this?"
burnout920 3 months ago
> GET password OF the Pentagon server;
> CRACK the server;
> SEND $1M TO username;
> CLOSE connection;
romadidukh 4 months ago
@romadidukh oh your no fun you chose only 1M$ 1794289752907590127693890471287589126812561279057123058012358912639561297560127568012789561289561286512807609169027903480728958712050971205081
vbox8 4 months ago
did anyone see the "aw, you choose negative 1! You're no fun!"
threedaysgracefanxx 5 months ago 31
@threedaysgracefanxx Python is a troll?
dondopa 4 weeks ago
@threedaysgracefanxx No shit.
Moossyb 2 weeks ago
Color 0a? :D
lestesmen 5 months ago
Thats the true meaning to life, the universe, and everything.
ZybezRobertELee 6 months ago
the terminal freezes ( im on a mac) when i input that code into it. im a beginner without any experience in even java/c/c++
Any idea why?
WWSjoker89 6 months ago
@WWSjoker89 You could download python for mac? I don't think the native mac terminal works with python.
mikorocks 4 months ago
@mikorocks You'd be wrong, mac comes with python by default. The mac terminal uses Bash.
SmartestViking 4 months ago 2
@SmartestViking ah, well the mac I had needed to download it. Or I just didn't know how to access it. Thanks for clearing that up.
mikorocks 4 months ago
@mikorocks Mac is the shittiest OS on the planet. I'd rather use SOLARIS
jergen07 1 month ago
@jergen07 hipster
go back to /g/
gamer966 1 month ago
@jergen07
you are idiot ????? if you know about programming you must know all the programmers have MAC-------> I.D.I.O.T. if you want only play games yes YOU MUST BUY A PC THEN
know before talking.......
Psmc40 3 weeks ago
@Psmc40 No, you don't need to have a PC running Windows to be able to play games, dumb ass!
Moossyb 2 weeks ago
@Psmc40 Then the serious developers use Linux.
hjf3022 1 week ago
@mikorocks @smartestviking you just have to type python in the terminal bash and it will let you code in python
therealLukeHorton 2 months ago
@WWSjoker89 lololol mac.
iBenJay 4 weeks ago
Comment removed
grn2007 3 weeks ago
This has been flagged as spam show
@WWSjoker89 I've never seen this many replies to a comment on YouTube. Astounding.
grn2007 3 weeks ago
import random, string, sys
while True: sys.stdout.write(random.choice(string.ascii_uppercase + string.digits))
TheChRrIiIss 6 months ago
Comment removed
TheChRrIiIss 6 months ago
Dude you found a way into the Matrix!
ilikeantea 6 months ago 17
@ilikeantea yeah haha :D
mikorocks 6 months ago
Good for a first! Haha,
sammyzeus 7 months ago
dude u r so legit
tubeshop001 1 year ago
you are good
hippymissi97 1 year ago
u must practice alot this is great!!
Hansolo07840 1 year ago