after i watched this video Operators and operands; statements; branching, conditionals, and iteration, my insight is very open because the video is very good to give information
Can you tell me how to set up pyshell 2 on my mac os x. I downloaded it and I have the file pyshell.py surrounded by folders named conf, docs, lib, test utils. 2x clicking on pyshell.py opens an environment that does not look or act like the one the professor is using. Most notably I don't have the RUN tab on the top bar.
@matiasmingo3 I think he is using python version that is closer to 2.7.2. I'd suggest you download 2.7x if you are following this series of videos. 3.2 has slightly different syntax, which you can learn at a later stage. Good luck learning python :)
@amzinasain You most likely have python 3 but the syntax should be very similar. The code should like this:
n = raw_input("Enter a number : ")
print (n)
You might of forgotten the underscore between "raw" and "input" that might of been the problem...also when you print out stuff you have to use parenthesis or else u will get an error.. thats y the print command is:
print (n)
Hope that helps man and dnt worry programming is ALOT of fun..well at least for me it is
Excellent professor. He explains everything with precision and clarity. I wish my programming professor was like this man. If you're having trouble try Bucky's tutorials for additional clarity. Definite subscribe.
@TrinityMediaWorks Yes they will be fine.. Computers do change rapidly, but the idea's behind computing do not change so rapidly :D Plus languages tend to try to stay the same so not to confuse everyone haha. At most they will add more to the language rather than change it
At the very end of the video when the girl catches the error...can someone please explain that to me? Why is it going to skip the whole loop if intersleft is negative????? :S
i really appreciate this proffs effort to keep students awake. Even though things explained here are very difficult, but his enthusiasm and humor make me attentive. i feel his energy and joy of subject matter !!
Why are they throwing Candy around? I saw teachers throwing that at students a few times. But why? It's not like the students need to be motivated... It's one of the best schools around.
@tionlover the students in the video are advanced mathematics students. The lecturers expect them to do work outside of the lecture - and they are using laptops aren't they?
no wonder we live in a performance enhancing drug culture... i'd venture a guess 3/4 the college population is on some form of amphetamines. how some egghead can stay awake while supreme chancellor grimson wails away is beyond me. i gave it an honest attempt but without some sultry adderall boosting my life, i'm fucked.
@ShitWrangler Huh? This is really basic stuff; if you can't pay attention to this, you're screwed by lecture 4. I'll go on a limb here and say you're either a kid or a high school drop-out?
..
Jabs aside, I'm serious: if you have trouble following this, you don't belong in any form of college; take it as friendly advice from somebody who finished one.
@Christmas800 Christmas, if your post intends to defend ShitWrangler, don't bother; my initial comment to him was far too mild. He is a f-ing retard, who claims that since everyone is not as dumb as he is, it means that everyone is drugging up to the eyeballs on performance-enhancing drugs. I was spot-on in my initial assessment of him, and I will not take my words back out of some bizarre sense of political correctness. He deserves everything I said and worse.
@ShitWrangler It's all in what you find interesting. If this bores you, then it may not be the class for you. When I was younger, this would have bored me to tears. Now, I LOVE IT!
@37studios He is using IDLE, which is an IDE (integrated development environment) that comes with Python. IDLE is doing the colors. He appears to be using Python 2.4, but IDLE comes with every version of Python.
@oladitan it works for me, if I type it straight in, it reads True. If you are trying it in a statement such as an if, it might be your other parts, such as, are you using colons?
i love this. if i were an older person taking this course and knowing that my ENTIRE FUTURE in programming, i would be too scared and fail. but because im a 7th grader in a very free-flowing home-school program in which watching YouTube means my teacher is in LOVE with me, i get to pay attention, pause, play around with software in the middle of class and alot of other stuff.
the only thing i dont love is that i cant ask HIM a question.
I have a final exam tomorrow in chemistry and this is what I'm absorbed in instead.
FriendlyUCKids 3 minutes ago
I really love programming, its like art for smart people! (not saying that artists are stupid)
cyclist14 23 hours ago
Guys, are handouts downloadable? :)) thanks
vboulytchev 2 days ago
wow, i actually learn stuff here. my high school sucks
iNoor440 3 days ago
This has been flagged as spam show
check out this computer programming video, would love feedback "youtu.be/xNjtf_WUdEQ"
supermatti78 5 days ago in playlist Computer Programming
I am very happy to see the vidoe after you give this Lecture 2: Operators and operands; statements; branching, conditionals, and iteration
bebeheuy 2 weeks ago
I Really Like The Video From Your Lecture 2: Operators and operands; statements; branching, conditionals, and iteration
AntoMelta 2 weeks ago
Your Video Is Very Useful Sharing Operators and operands; statements; branching, conditionals, and iteration
willamricard 2 weeks ago
after i watched this video Operators and operands; statements; branching, conditionals, and iteration, my insight is very open because the video is very good to give information
imegatrone 2 weeks ago
Can you tell me how to set up pyshell 2 on my mac os x. I downloaded it and I have the file pyshell.py surrounded by folders named conf, docs, lib, test utils. 2x clicking on pyshell.py opens an environment that does not look or act like the one the professor is using. Most notably I don't have the RUN tab on the top bar.
tdyjak 2 weeks ago
On a second note these videos are awesome! Thank You!
HyperElf9 3 weeks ago
Hahaha Lmao at Fudge Knuckle!!! Google it! =D wth
HyperElf9 3 weeks ago 2
throwing candys at your students
megusta :D
jomushin7 3 weeks ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
unnecessary complicated explained :)
22091989 3 weeks ago
@22091989 complicated or thorough?
Frycek216 3 weeks ago
Weird, a lot of the stuff he types doesn't work out the same way with my python shell.
EGL24Xx 1 month ago
@EGL24Xx Are you using python 3.2 ? If so, try using 2.7. The language specs changed between versions.
pavanyalamanchili 3 weeks ago
hey what version of python should i download, 2.7.2 or 3.2.2?
matiasmingo3 1 month ago
@matiasmingo3 I think he is using python version that is closer to 2.7.2. I'd suggest you download 2.7x if you are following this series of videos. 3.2 has slightly different syntax, which you can learn at a later stage. Good luck learning python :)
pavanyalamanchili 3 weeks ago
nvm i found out
amzinasain 1 month ago
26:30 how do you get the raw input command. I think I might have a newer version of python.
Help I'm new and I'm just trying to learn this in my spare time.
amzinasain 1 month ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
@amzinasain You most likely have python 3 but the syntax should be very similar. The code should like this:
n = raw_input("Enter a number : ")
print (n)
You might of forgotten the underscore between "raw" and "input" that might of been the problem...also when you print out stuff you have to use parenthesis or else u will get an error.. thats y the print command is:
print (n)
Hope that helps man and dnt worry programming is ALOT of fun..well at least for me it is
theboywhoskates2 1 month ago
@theboywhoskates2
use input() for integers
anonamou5 1 month ago
Excellent professor. He explains everything with precision and clarity. I wish my programming professor was like this man. If you're having trouble try Bucky's tutorials for additional clarity. Definite subscribe.
bkroberts89 1 month ago
Great lecture! Weak-ass throw at 14:27 :/
nullwerk 1 month ago
Son of a gun. Or as my younger son would say- Fudgeknuckle.
These are the jokes people.
Birdspawn 1 month ago
20:41
JosephF21 1 month ago
the fact that people actually study from these videos proves that our world has a future
ennessaqua 1 month ago
ey einzige deutsche hier
OrethaMariamku570 1 month ago
These kids are so intelligent that they out do the Prof.!!I'm jealous!!
alienkishorekumar 1 month ago
ok so im planning on getting into college and doing something computers, will watching these videos/ learning python help at all in 2011?
TrinityMediaWorks 1 month ago
@TrinityMediaWorks That's what the Prof. says!!
alienkishorekumar 1 month ago
ok :d just wondering because this video is a couple years old
TrinityMediaWorks 1 month ago
@TrinityMediaWorks Yes they will be fine.. Computers do change rapidly, but the idea's behind computing do not change so rapidly :D Plus languages tend to try to stay the same so not to confuse everyone haha. At most they will add more to the language rather than change it
liberate9 1 month ago
@TrinityMediaWorks
i see no reason why it wouldn't like he said in the first video
if you learn 1 language you can adapt in a week or a few weeks most to a new language
drood78 1 month ago
if i watch these videos those it mean am enrolled at MIT ? lol
rsetienne 1 month ago
i personally want to thank professor jim ericson for delivery such interesting lectures
boxpilot 2 months ago
Comment removed
krokodils1977 2 months ago
Comment removed
krokodils1977 2 months ago
Why am I able to stay more interested in this than my high school classes?
snappycapz 2 months ago 14
At the very end of the video when the girl catches the error...can someone please explain that to me? Why is it going to skip the whole loop if intersleft is negative????? :S
shadedscript 2 months ago
@shadedscript Because the while loop's block depends on itersleft being more than 0.
-4 is less than zero, so the while conditional == False, so it does not run that block and skips down to the next instruction which is print y.
If you wanted to run the while block you would have to make it while(itersleft<0):
in this case it would run until itersleft became greater than zero - which will never happen.
willsmithbelair 2 months ago
Why buy sleeping pills when you can watch this video instead?
morgothaod 2 months ago
8 Harvard alum disliked this video
Christmas800 2 months ago
i love how he teaches some how he doesn't make the lecture boring
venusangel82 2 months ago
i was gonna watch all the videos but im getting lost with all the math... =(
battykoda90 3 months ago
@battykoda90 ha me too, but im going to keep going on just so i can have a basic idea of what he's doing =]]
IVMoMoIX 2 months ago in playlist MIT Com Sci
Great Teaching
daman799 3 months ago
Thank the LORD Jesus ,I"m Going 4 Nwtwoking Admin..I cant even spell College!!!LOL!
mikeandsophia08 3 months ago
the 7 people who disliked this didnt understand a thing he was saying...
MadLinkzProductionz 3 months ago
LOL at the teacher's sly joke. Purely awesome
smokenfly514 3 months ago
i really appreciate this proffs effort to keep students awake. Even though things explained here are very difficult, but his enthusiasm and humor make me attentive. i feel his energy and joy of subject matter !!
akirarararaable 3 months ago
python now is a little different. when you divide an int is tries to give it to you with the decimal.
TucciCubed 3 months ago
@TucciCubed You can still make it do integer division with int()
Rimmer7 2 months ago
Its so unfortunate that the code is unreadable when he is using Python
canman1878 3 months ago
This has been flagged as spam show
Why are they throwing Candy around? I saw teachers throwing that at students a few times. But why? It's not like the students need to be motivated... It's one of the best schools around.
Multibullets 4 months ago in playlist MIT C++
Comment removed
Multibullets 4 months ago in playlist MIT C++
I'm glad that chick caught his mistake towards the end.
Slimdawgc 4 months ago in playlist Intro to computer science
you said no handouts in the first video. lol. Great lectures though, thanks for sharing.
GoggiP 4 months ago
Its impossible to take notes to this bullshit... what the fuck!! I really wanna learn how,, but he makes it so fuckin complicated
KenmoreTownKillaz 4 months ago in playlist python lectures
I'm really surprised how scattered and unrelated the topics are! I was expecting it to be dazzling, but I mus say I'm disappointed. MIT ????
antiFoolishness 4 months ago
You can see the Py Interpreter much better in the 2nd vid. I couldn't make it out in the 1st vid, once the color of the code changed from black.
Colstonewall 4 months ago
We have better lectures at community colleges. With actual COMPUTERS students can practice on
tionlover 4 months ago
@tionlover the students in the video are advanced mathematics students. The lecturers expect them to do work outside of the lecture - and they are using laptops aren't they?
thehoodatron 3 months ago
45:38 saving my spot.
mkedir001 4 months ago
professor jim ericson ? wasn't his name in the last video Eric Grimson ? what the hell is going on here....
Te4RHyP3 4 months ago 16
@Te4RHyP3 Sigh. Good catch! Fixing it now —MIT
MIT 4 months ago 28
@MIT Haha. I love how the person editing it signed it 'MIT'.
DapDiggity 3 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
@MIT
hahahahaahahahahaaha jim ericson
iloveihop07 3 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
This is very useful.
scottvska 4 months ago
no wonder we live in a performance enhancing drug culture... i'd venture a guess 3/4 the college population is on some form of amphetamines. how some egghead can stay awake while supreme chancellor grimson wails away is beyond me. i gave it an honest attempt but without some sultry adderall boosting my life, i'm fucked.
ShitWrangler 5 months ago
@ShitWrangler
i don't know man, if a teacher is throwing candy around i'm staying awake.
BarbadosSlim100 4 months ago
@ShitWrangler Huh? This is really basic stuff; if you can't pay attention to this, you're screwed by lecture 4. I'll go on a limb here and say you're either a kid or a high school drop-out?
..
Jabs aside, I'm serious: if you have trouble following this, you don't belong in any form of college; take it as friendly advice from somebody who finished one.
StrikaAmaru 4 months ago
@StrikaAmaru what a douche
alvadrive42 3 months ago
@alvadrive42 Who? ShitWrangler? Man, you have no idea...
StrikaAmaru 3 months ago
@StrikaAmaru your an asshole and an assumption prone idiot. shut the fuck up
Christmas800 2 months ago
@Christmas800 Christmas, if your post intends to defend ShitWrangler, don't bother; my initial comment to him was far too mild. He is a f-ing retard, who claims that since everyone is not as dumb as he is, it means that everyone is drugging up to the eyeballs on performance-enhancing drugs. I was spot-on in my initial assessment of him, and I will not take my words back out of some bizarre sense of political correctness. He deserves everything I said and worse.
StrikaAmaru 2 months ago
@ShitWrangler It's all in what you find interesting. If this bores you, then it may not be the class for you. When I was younger, this would have bored me to tears. Now, I LOVE IT!
Colstonewall 4 months ago
18:25
avroxygirlav 5 months ago
Comment removed
avroxygirlav 5 months ago
16:00
xIKnuckleZIx 5 months ago
32:30
wschluch 5 months ago
Dr. Eric Grimson is now the Chancellor of MIT.
lct0227 5 months ago
31:44
georgiafbi 5 months ago
14:42
563946007 5 months ago
44:01
Gulphead 5 months ago
43:37
AudioForAnarchists 5 months ago
Yawn. but very good professor/lecture!
gatsbi007 5 months ago
25:51
maniacminor 5 months ago
19:00
POKERAFTERDARK2011 5 months ago
All the reading im doing is not really helping but these videos are gold! thanks guys
pedrodogg69 5 months ago
19.03
zhexiangwang 5 months ago
Comment removed
joebobjoesayshi 5 months ago
Can anyone tell me what version of Python he is using? And does he have an add-on or something for it to be color coded?
37studios 5 months ago
@37studios He is using IDLE, which is an IDE (integrated development environment) that comes with Python. IDLE is doing the colors. He appears to be using Python 2.4, but IDLE comes with every version of Python.
oylenshpeegul 5 months ago
That guy at 14:25 got candy for knowing PEMDAS? You gotta be kidding me...
hetamalo 5 months ago 2
Is it my Internet or does this load really slowly
FienStudios 6 months ago
@FienStudios It is because it is a large video to buffer.
randomname123ish 5 months ago
Treboulions he is just making up words!!!!!!!
MrHaddify 6 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
12:00
wafflegal101 6 months ago
8:20 You can eat food in college lectures? AWESOME!
NathanReggae 6 months ago
Lecture 1: 549,508 views
Lecture 2: 146,052 views
...
Lecture 24: 22, 288 views
Sinagitarius 6 months ago 98
@Sinagitarius An example of natural selection at work
layzergun 6 months ago 4
This has been flagged as spam show
@layzergun natural selection ?
POKERAFTERDARK2011 5 months ago
@Sinagitarius unindicative of anything but youtubers' (human) nature. observable anywhere else as well.
someman7 4 months ago
@Sinagitarius that is with every series of videos on youtube
paulceltics 3 months ago
@Sinagitarius haha isn't that how real classes go as well?
Kryptsanies 3 months ago
@Sinagitarius i will be watching every video. really looking forward to learning computer programming. mit is a great school.
Christmas800 2 months ago
@Sinagitarius Because they weren't getting candy
balisticjoe 2 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
@Sinagitarius maybe because to watch from their website is even better... but of course it could only partly explain your comment
krokodils1977 2 months ago in playlist More videos from MIT
17:28
POKERHIGHLIGHTS 6 months ago
7:59
MoneymakerPokerBoom 6 months ago
Please let me know how to activate python file on terminal which is saved somewhere in my HDD. How should I do ?
asunyan1 6 months ago
@asunyan1 just set it as executable, either using chmod or right clicking it, then run the file and it should install
ziad1234 6 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
@ziad1234 thank you for replying! but while I tried something with IDLE, I can now easily run my script and save them. thank you for your kindness.
asunyan1 6 months ago
20:33
xXxFrozeninTimexXx 6 months ago
If a programmer wants to find out all the factors of a certain number, how would the code be constructed in C++?
danjonila 7 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
@danjonila you need two values
123legalos 6 months ago
20:00
VFB1210 7 months ago
Comment removed
374349 7 months ago
Comment removed
374349 7 months ago
26:39
taunto2 7 months ago
25:56
IRickyValentine 7 months ago
was anyone able to do the 1000th prime number hw after just watching this and the first lecture?
bobsmurf93 7 months ago
23:23
bburkhead 7 months ago
Anyone know a similar compiler for windows?
Bearblaster9000 7 months ago
Okay, I found out, It is just alt+3 to comment region and alt+4 to "comment that out"
kkonstantinosss2 7 months ago
How do you comment out the way the professor did, multiple lines, simultaneously?
kkonstantinosss2 7 months ago
4 People failed the class.
Bearblaster9000 7 months ago 3
26:00
dollerklause 7 months ago
they do this stuff at MIT. thats just sad.
lvll138inrs 8 months ago
Comment removed
LT21DTOWN 7 months ago
@LT21DTOWN actually, it is not. It is a BEGINNER course. Did you watch/listen to the first lecture?
AprilakaProlific1 6 months ago
"I just hit someone in the head. Thank you"
smugybear 8 months ago 2
great way to learn at home or for personal interest
naterecovery 8 months ago
Comment removed
MichaelisOnYourtube 8 months ago
33:05
myleslovesu 8 months ago
Comment removed
myleslovesu 8 months ago
He has such a great way about laying things out logically so they are easy to understand.
setotitan 9 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008 33
when i type 4<'3', i get this: Traceback (most recent call last)...
oladitan 9 months ago
@oladitan that works when I type it into an if statement, are you putting colons? What else are you doing with it?
TheElfdreaming 8 months ago
@oladitan it works for me, if I type it straight in, it reads True. If you are trying it in a statement such as an if, it might be your other parts, such as, are you using colons?
TheElfdreaming 8 months ago
Comment removed
oladitan 8 months ago
This has been flagged as spam show
@TheElfdreaming it works now. I must have set some conditions to make it not work before. thanks.
oladitan 8 months ago
Comment removed
junior1984able 9 months ago
when it says itersleft i=x what does that mean?
junior1984able 9 months ago
@junior1984able Itersleft is just a short version of Iterationsleft, it's basically that variable which the loop needs to check every time it runs.
KreatorRage 8 months ago
Comment removed
junior1984able 9 months ago
Comment removed
junior1984able 9 months ago
@junior1984able download dev-c++
oladitan 9 months ago
What about the handouts? Where can I find them? I'm trying to do the worksheet 0 and I can't find the handout documentation anywhere.
krenuds 9 months ago
@krenuds ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/
fafwoa 9 months ago
@krenuds the link above had the last bit of the url cut out, the full url is
ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/download-course-materials/
download the zip and the handouts are under each lecture.
On another note, thank you MIT for this wonderful resource!!
rauc6788 9 months ago
UM... Wow! This is some sweet stuff right here... I cant believe I'm sitting in on an MIT CS lecture!!! AWEsOME!
phatsk8r420 9 months ago
At 26:30
When I run the program I get a SyntaxError due to "print x".
Why is that? It's supposed to just print it out isn't it?
Wolftrait 9 months ago
@Wolftrait Oh, nevermind! I was using Python 3. That's why.
Wolftrait 9 months ago
i love this. if i were an older person taking this course and knowing that my ENTIRE FUTURE in programming, i would be too scared and fail. but because im a 7th grader in a very free-flowing home-school program in which watching YouTube means my teacher is in LOVE with me, i get to pay attention, pause, play around with software in the middle of class and alot of other stuff.
the only thing i dont love is that i cant ask HIM a question.
anidude98 9 months ago
Comment removed
junior1984able 9 months ago
hahahahhaa. look at the guy at 8:25 eatin his food, long black hair!
TechBoy808 10 months ago
@TechBoy808 Uh, I think you'll find that's a girl xD.
ssskpgt 1 month ago
bucky is better
roflcopter105 10 months ago
@roflcopter105 bucky doesnt explain things half as well as this guy. Not to say he inst good reference but its no competition.
sacredgeometry 10 months ago
@roflcopter105 Not Really.
onlyoneskiez 10 months ago
It's so sweet how he throws out candy. I bet it encourages class participation!
victoriaindigo 10 months ago
you look like indiana jones's dad :3
Nakedmanican 10 months ago
This has been flagged as spam show
THANKS FOR THE GREAT JOB OCW doing,please can you also provide lab Videos?
gittikhun 11 months ago
x/2*2=x is even
else:print odd
that is easy
(im not into phyton, im a C programmer)
girocraz 11 months ago
Great teachings on PYTHON
CharlesGude 11 months ago
Use modulus!
if x%2 == 0: print "even"
else: print "odd"
CSryoh 11 months ago
@CSryoh hey where can we get this python program he is talking about?
Akralaa 11 months ago
@Akralaa python dot org/getit/
get the 2.7 one..... also might want to look into tinyurl dot com/4jsav7h that's "Learning python 4th edition"
CSryoh 11 months ago
is this professor Canadian? I like his aboat. oat 'n aboat in a boat.
DaFawky 11 months ago
Brilliant lectures. Thankyou very much. Most appreciated.
malcolmwicca 11 months ago
This has been flagged as spam show
@malcolmwicca THANKS FOR THE GREAT JOB OCW doing,please can you also provide lab Videos?
gittikhun 11 months ago
they aren't any better at explaining material to students from a different age, they just care more about their performance
shorebreaker9000 1 year ago
He makes it sound so simple, when in fct its not.
VolcardoReviewer 1 year ago
Is this python 3?
VolcardoReviewer 1 year ago
@ 08:16 you can see this dude on the bottom left corner eating until 08:42
rofl
SuperTuringMachine 1 year ago
19:20 just saving my place. no need to click it.
jillybooty 1 year ago 67
Glad they fixed the blurriness of the his screen from lec 1
adhdboy699 1 year ago