@Kag707 You can't define a string as an int unless it contains numbers. Don't mess around with encoding until you get good at coding. Encoding can sometimes be a nightmare with Python
hey, I ve got a question. After I put the "name" function, and start to type "print("Hi ", name) ", my "print" gets yellow not purple as yours. i think this means that it doesnt relate to the previous function but i have no idea idea how to fix and why it doesn t work...
Just letting you know, you spelled the word "Your" incorrectly in this tutorial. The correct spelling of the word in that context is actually "You're" because it is a combination of the two words: You are. You're welcome ~Grammar Nazi.
Loved the tutorial, I'm really thinking about being a CS major and I'm trying to understand the basics here. The grammar nazi in me must point out that you used the wrong homophone of "your" though. It should have been "you're"
@o48Mike I used to make tons of grammar mistakes and still make a few here and there. Grammar was never anything that interested me, but because of the complaints I've done my best to improve :)
"simplistic" means to treat a complex problem as if it were simple. The adjective you're looking for is "simple". Albeit you won't sound as brilliant but you won't annoy the English speaking world.
ps: Your example did not work on my side. You suck.
@robysamaz I had similar problem like yours too...I tried the raw_input() too, which work just fine. But I discovered the problem has to do with the version ver 2.7 until I upgraded to ver 3 which worked just fine as @derebanas...cheers
@robysamaz I'm a little confused. The best thing you can do is to download all of the code I wrote. It's in a zipped archive in part 1 of this tutorial series. The quotes get messed up on my site for security reasons. Tell me if that helps
@LangPowder You can download the code at my newthinktank site. It's free. Just type in the name of the tutorial or look for it in the index. I'll also email you the code if you'd like?
@MrGreenknight11 f you give me your code I can fix it. Are you using version 3.1 of Python? I'm actually going to create a new Python 2.7 Tutorial this week. It is more popular and comes with a ton more libraries. I should post the first part tomorrow. You might want to wait for it?
@MrGreenknight11 That's good. I have all the code that you can cut and paste on my website if that helps? You're probably better off using an IDE like Eclipse instead of IDLE. It's free, on every OS and I do use it later in this tutorial.
I love your videos man I hope you keep putting these out I love your tone it is easy to learn with the way that you talk. I watched the newboston videos but he gets a little wild for me. Anyway I hope you keep putting these out and I wanted to say I hope you throw in a video that shows some itnresting ways to use python for everyday tasks and neat things like searching the web. I am still learning python but I would love to see you show some neat things after the basics of course. I'll watch.
@gent2910 Thanks. I'm going to show you how to create an automated news aggregator website with Python. It will grab full articles from feeds and non-feed sites. Python is a great first language to learn. Thanks for the nice comments. You'll get what your looking for.
Why do eveyone who you ask help for do that teaching voice that makes you feel so stupid?
MrNathanielpowell 5 days ago
Hey man you got my sub! I just have a question. I'm trying to script a little question answer thing
and when I type mine = int(mine) I get a error message when I type the answer.
Any help you could give would be greatly appreciated
Thanks,
Kag707
Kag707 1 week ago
@Kag707 variables in python are different from most languages. What is your error message?
derekbanas 1 week ago
@derekbanas it would not let me post it. But it says that mine =int(mine)
Value error: invalid literal for int() with base 10 'Kristian'
Kag707 1 week ago
@Kag707 This happens when you try to cast a string into an integer and this string does not really contain a digit. I hope that helps
derekbanas 1 week ago
@derekbanas Yes that helps a lot, is there anyway I could do it with letters?
Thanks
Kag707 1 week ago
@Kag707 You can't define a string as an int unless it contains numbers. Don't mess around with encoding until you get good at coding. Encoding can sometimes be a nightmare with Python
derekbanas 1 week ago
Christians don't spoil sex they create it
knoxandlinkinpark 2 weeks ago
Awesome tutorial, you teach me a lot man... Thank you
XStriderHiryuX 1 month ago
@XStriderHiryuX You're very welcome :) I'm glad you liked it
derekbanas 1 month ago
wrong form of "you're" lol. Sorry, my friend would always harass me when I did and now it bugs me when others do.
rollarbear 1 month ago
@rollarbear I used to be very bad at grammar
derekbanas 1 month ago
@derekbanas *I used to be very bad at using correct grammar. Haha
stevewesthead 1 month ago
cant see letters..can you post cords plzzz
lassanaproducts 1 month ago
thank you so much!!
jarjacksn 1 month ago
@jarjacksn You're welcome so much :D
derekbanas 1 month ago
I love the way you teach, very fast and concise.
JaroneMcCorkle 1 month ago
I take it python3 now uses 'input' rather than 'raw_input'
nkryptz 2 months ago in playlist Python Tutorial
Hello sir, i love the way you simplify the programming and regular expressions. I am a big fan of you
srikarthota98 2 months ago
Hi there, just wanted to say that I love your tutorials - they're really useful.
MrShens 2 months ago
@MrShens Thank you for taking the time to show your appreciation. It means very much to me :)
derekbanas 2 months ago
Kewl
MaloEdu 2 months ago
also every time I put my name (after pressing F5) it says error and that it "my name" isn t defined
danvip10 3 months ago
@danvip10 same with me, I'm running version 2.7
thecomputerperson2 2 months ago
@thecomputerperson2 I got it to work by downloading the latest version, 3.2 i think.. that way it'll work
danvip10 2 months ago
@danvip10 Thanks for pointing that out. I guess I should have emphasized that this was a Python 3.0 + tutorial
derekbanas 2 months ago
@thecomputerperson2 This is a Python 3.0 tutorial. That's why it isn't working. I have another tutorial for Python 2.7. They are very different
derekbanas 2 months ago
hey, I ve got a question. After I put the "name" function, and start to type "print("Hi ", name) ", my "print" gets yellow not purple as yours. i think this means that it doesnt relate to the previous function but i have no idea idea how to fix and why it doesn t work...
danvip10 3 months ago
Just letting you know, you spelled the word "Your" incorrectly in this tutorial. The correct spelling of the word in that context is actually "You're" because it is a combination of the two words: You are. You're welcome ~Grammar Nazi.
mikegerardo 3 months ago
@mikegerardo I've learned much about proper grammar from you guys over the past year and a half :)
derekbanas 3 months ago
invalid syntax i did the exact same thing as you -_-
3p1cWh1t3K1d 3 months ago
Great tutorial, thanks for you! Your voice is clear and easy to understand and you don't do things too fast as in some other users tutorials
Blob64bit 4 months ago
@Blob64bit Thank you. I do my best
derekbanas 4 months ago
Comment removed
Blob64bit 3 months ago
Loved the tutorial, I'm really thinking about being a CS major and I'm trying to understand the basics here. The grammar nazi in me must point out that you used the wrong homophone of "your" though. It should have been "you're"
o48Mike 4 months ago
@o48Mike I used to make tons of grammar mistakes and still make a few here and there. Grammar was never anything that interested me, but because of the complaints I've done my best to improve :)
derekbanas 4 months ago
"simplistic" means to treat a complex problem as if it were simple. The adjective you're looking for is "simple". Albeit you won't sound as brilliant but you won't annoy the English speaking world.
ps: Your example did not work on my side. You suck.
deefromott 4 months ago
@deefromott I triple check everything I do. My code always works so I guess you suck? If you don't like my free tutorials don't watch them. Good Bye
derekbanas 4 months ago
@derekbanas How else am I to find out I don't like something?
deefromott 4 months ago
So as far as differences in Python 3, input takes the place of raw_input in Py 2 ?
And I believe I read somewhere all print statements in Py 3 must be in parentheses??
Colstonewall 5 months ago
@Colstonewall Yes the print statement has been replaced by the print function. There really are not that many drastic differences between 2.7 and 3
derekbanas 5 months ago
He sounds like he would like showtunes. And Cptn Jack Hartness.
TheCCRex 5 months ago
@TheCCRex I love Doctor Who. I never really got into Torchwood. My wife loves Captain Jack :)
derekbanas 5 months ago
@jrw271 Yes this tutorial is for Python 3. I have another tutorial series on python 2.7 and below. That may be the problem
derekbanas 7 months ago
@derekbanas lol thanks for saying its python 3 I was having the same problem "jrw271" was having!
milkymilkway 6 months ago
@jrw271 What do you mean by it goes strange :)
derekbanas 7 months ago
@robysamaz I had similar problem like yours too...I tried the raw_input() too, which work just fine. But I discovered the problem has to do with the version ver 2.7 until I upgraded to ver 3 which worked just fine as @derebanas...cheers
kollyajax 7 months ago
you need a partnership
xiiNsTiiNcT 7 months ago
hey derek thankyou for the videos but how do you open them once you have saved them please get back to me as soon as possible
CoreOFDeath007 7 months ago
@CoreOFDeath007 Do you mean how do you execute them? What OS? And, you're very welcome :)
derekbanas 7 months ago
Never mind i do haha
ImSimplyLegit 8 months ago
@ImSimplyLegit Ok. You'll want to get a real IDE like eclipse classic. Idle is kind of a pain to work with on big projects. Eclipse is free
derekbanas 8 months ago
I DONT HAVE IDLE AS A CHOICE/PROGRAM
ImSimplyLegit 8 months ago
@ImSimplyLegit shut up.
Admiral3131 8 months ago
Hi Derek, when I follow your first tutorial I got an error message saying
NameError: name 'Rob' is not defined
But when I changed my variable name to raw_input () then it work. Why is yours working with input and mine (2.7.1) is not
robysamaz 8 months ago
@robysamaz I'm a little confused. The best thing you can do is to download all of the code I wrote. It's in a zipped archive in part 1 of this tutorial series. The quotes get messed up on my site for security reasons. Tell me if that helps
derekbanas 8 months ago
mines not working
LangPowder 10 months ago
@LangPowder You can download the code at my newthinktank site. It's free. Just type in the name of the tutorial or look for it in the index. I'll also email you the code if you'd like?
derekbanas 10 months ago
yah man put me to programing when i was lazy lol thanks for the vids
Mega1hacker 11 months ago
Thanks for the video and the whole series, definitely helped me
iplayameanbanjo 1 year ago
@iplayameanbanjo You're very welcome and I love your name. Funny :)
derekbanas 1 year ago
ok, so i put it in exactly like you did for the enter name part, but it says that my syntax is invalid and highlisghts the first bracket. any help?
MrGreenknight11 1 year ago
@MrGreenknight11 f you give me your code I can fix it. Are you using version 3.1 of Python? I'm actually going to create a new Python 2.7 Tutorial this week. It is more popular and comes with a ton more libraries. I should post the first part tomorrow. You might want to wait for it?
derekbanas 1 year ago
@derekbanas hey man, don't worry, i got it figured out, i was actually not entering just like you show lol
MrGreenknight11 1 year ago
@MrGreenknight11 That's good. I have all the code that you can cut and paste on my website if that helps? You're probably better off using an IDE like Eclipse instead of IDLE. It's free, on every OS and I do use it later in this tutorial.
derekbanas 1 year ago
I love your videos man I hope you keep putting these out I love your tone it is easy to learn with the way that you talk. I watched the newboston videos but he gets a little wild for me. Anyway I hope you keep putting these out and I wanted to say I hope you throw in a video that shows some itnresting ways to use python for everyday tasks and neat things like searching the web. I am still learning python but I would love to see you show some neat things after the basics of course. I'll watch.
gent2910 1 year ago
@gent2910 Thanks. I'm going to show you how to create an automated news aggregator website with Python. It will grab full articles from feeds and non-feed sites. Python is a great first language to learn. Thanks for the nice comments. You'll get what your looking for.
derekbanas 1 year ago