Added: 1 year ago
From: derekbanas
Views: 9,743
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (71)

Sign In or Sign Up now to post a comment!
  • Why do eveyone who you ask help for do that teaching voice that makes you feel so stupid?

  • 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 variables in python are different from most languages. What is your error message?

  • @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 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 Yes that helps a lot, is there anyway I could do it with letters?

    Thanks

  • @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

  • Christians don't spoil sex they create it

  • Awesome tutorial, you teach me a lot man... Thank you

  • @XStriderHiryuX You're very welcome :) I'm glad you liked it

  • 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 I used to be very bad at grammar

  • @derekbanas *I used to be very bad at using correct grammar. Haha

  • cant see letters..can you post cords plzzz

    

  • thank you so much!!

  • @jarjacksn You're welcome so much :D

  • I love the way you teach, very fast and concise.

  • I take it python3 now uses 'input' rather than 'raw_input'

  • Hello sir, i love the way you simplify the programming and regular expressions. I am a big fan of you

  • Hi there, just wanted to say that I love your tutorials - they're really useful.

  • @MrShens Thank you for taking the time to show your appreciation. It means very much to me :)

  • Kewl

  • also every time I put my name (after pressing F5) it says error and that it "my name" isn t defined

  • @danvip10 same with me, I'm running version 2.7

  • @thecomputerperson2 I got it to work by downloading the latest version, 3.2 i think.. that way it'll work

  • @danvip10 Thanks for pointing that out. I guess I should have emphasized that this was a Python 3.0 + tutorial

  • @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

  • 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.

  • @mikegerardo I've learned much about proper grammar from you guys over the past year and a half :)

  • invalid syntax  i did the exact same thing as you -_-

  • 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 Thank you. I do my best

  • Comment removed

  • 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.

  • @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 How else am I to find out I don't like something?

  • 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 Yes the print statement has been replaced by the print function. There really are not that many drastic differences between 2.7 and 3

  • He sounds like he would like showtunes. And Cptn Jack Hartness.

  • @TheCCRex I love Doctor Who. I never really got into Torchwood. My wife loves Captain Jack :)

  • @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 lol thanks for saying its python 3 I was having the same problem "jrw271" was having!

  • @jrw271 What do you mean by it goes strange :)

  • @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

  • you need a partnership

  • 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 Do you mean how do you execute them? What OS? And, you're very welcome :)

  • Never mind i do haha

  • @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

  • I DONT HAVE IDLE AS A CHOICE/PROGRAM

  • @ImSimplyLegit shut up.

  • 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 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

  • mines not working

  • @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?

  • yah man put me to programing when i was lazy lol thanks for the vids

  • Thanks for the video and the whole series, definitely helped me

  • @iplayameanbanjo You're very welcome and I love your name. Funny :)

  • 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 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 hey man, don't worry, i got it figured out, i was actually not entering just like you show lol

  • @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.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more