Added: 2 years ago
From: thenewboston
Views: 172,164
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (455)

Sign In or Sign Up now to post a comment!
  • This cost me 2 dollars ?!?! Shit!

  • this goes for every other tutorial as well.

  • tipicly buck, i personaly think this tutorial helped me as well as many other kids in my 10th grade electronics class. i personaly wouldn't had understud this if you hadn't posted a much better exsample then anyone elses video i've seen so far. thanks a lot. thumbs up and happy commenting. good day. sady of...___

  • Are you an idiot? Yes, I am an idiot, but more importantly...

    LOL

  • May God bless you for putting up these tutorials, completely out of your own good will.

  • When you said "For all you noobs out there", i felt insulted for some reason =(, hehe

  • How to type caste and parse in Python?

  • Comment removed

  • why do i get '434343' when i put g*3 ?

    im new to python and programming in general.

    much appreciated

  • @tym729

    That doesn't have anything to do with Python, it's just that g = what ever number you put in, *3 is 434343

  • new version > print( value )

  • NOOB!?!?! Okay...

  • I can't add numbers to a variable without getting "Can't convert 'int'' to str implicitly

  • adder v 3000

    g = input("enter number here")

    x = input("enter number to add")

    i = g + x

    print i

  • It reminds me on QBasic, so simple

  • Fantastic!! U explain it really well, nice pronunciation and progress. I'm catalan and I learnt Python thanks to your vids ;)

  • hey for people using python 3.2.2 the g = input ..... thing will work if you type "import.math" without quotes (you learn that in the next tut)

  • Thank you so much for this! My python class' professor is a total crack-pot who doesn't know how to teach without being a jerk, and this is great review that's teaching me little things I didn't know before :) Hooray for last-minute study sessions before the final!

  • i was learning c++ like a baus and then they asked me to make a game for a class assignment. So i said, python it is.

  • awesome

  • that's cool :D

  • Cool Work With The Variables

  • Who are those 8 suckers disliked the video tutorial

  • @farhad56560 not me

  • This is easier than English!

  • i have a bad feeling that this eayness isnt going to last long

  • Plan out your tutorials better. You need organization.

  • some of this stuff doesn't work like this anymore in Python 3.0 and up :S

  • @XMMAFANX that's why python still supply's the latest 2._._ version

  • this is very cool program language....im learning VB.net..,C ,Java,HTML...but Python is the best...

  • input ('enter value here:')

    enter value here:1

    >>> 1

    1

    >>> a

    '1'

    I am wondering why is my input variable a string... i'm using python 3.2 everytime i try to multiple a with a number i have a syntax error

  • @enalvin2 for a user to input a string you type raw_input reply to me if this helped

  • subscribed, THANK U

  • I thought variables were just called values in Python?

  • I don't mean to be pedantic-- I am just wondering if you're calling them variables because you prefer too, or don't know they're referenced differently in Python, or that I just misunderstood what the O'Reilly Python for Bioinformatics book was actually saying?

    Oh, and so far great tutorials by the way!

  • this is the same as c++ lol :D

  • @moiboi1234 IKR this is soo fackin easy to follow once you know C++. I am only watching these to make my maths homework easier ;)

  • Comment removed

  • how can you write a continuous program in python?

  • I wonder why Bucy's input command run? is is the version of python? coz mine has en error unitl I explicitly cast it as suggested by supermonkeybot3000.

    TypeError: Can't convert 'int' object to str implicitly

  • @MrRapell did you do anything to solve this?

  • Your tutorials are an amazing and useful resource. As are many of your followers. Thanks for making this stuff make sense. Subscribed.

  • Love your tutorials keep it up. Subbed <3

    Helps alot.

  • currently, it's had 3,942 views from mobile devices. now tell me, what would be the point of watching this on a mobile device; there's no python!

  • Comment removed

  • Great job. Really healpful tutorials

  • you are a good teacher Bucky. I saw all your tutorials once, and now, as a beginner, I watch again to fix the knowledges.. I didn't found a better tutorial on Youtube... Felicitari!!!! (congratulations in romanian:))

  • I love how the language looks very easy :P

  • Learning so much from this :D

  • I LOVE HOW YOUR NOT USING NOTEPAD TO INSTRUCT. i hate it when people use notepad, shure i can copy what you do but i dont know what im doing. thank you for making the firtst understandable video and for that i subscribe to you.

  • raelly cool stuff

  • i had no idea how to use C++. This is actually interesting to watch.

  • Want to have a laugh?

    Press the "cc" button and click transcribe audio.

    XD

  • WOW.....much simpler than C. But , is this a powerful language?

  • @kevinisaac70 I think Blender are written in Python

  • Vaiable=Substitute...Simple!

  • lol

  • Comment removed

  • Comment removed

  • im a noob

  • "are you an idiot?? Well yes i am an idiot" that was just the perfect moment

  • I love the fact that Python supports all Operating Systems. I can follow along on Linux Ubuntu, using the exact same Syntax, and the exact same program (IDLE), instead of either using a different compiler or slightly different Syntaxes, like you would in other languages. True cross-platform compatibility :)

  • thumbs up if you feel really smart after watching this

  • @supermonkeybot3000 I don't feel smart, the guy doing the tutorial makes me feel like their is hope though and proves what a difference a good teacher makes. I have spent hundreds on books and on line tutorials from Lynda.com but this is worth so much more!

  • I feel like im in math class lol

  • This is strange to me, because in c++ you declare the var type in front of the var. lol I kept typing int x out of habit.

  • @Comprogramgeek

    Same here, haha.

  • This is soooooooooooooooooooo much simpler than java, jesus java has way too much memorizing

  • Very Nice

  • I can't start python. It gives me an error every single time. I'm using a windows, does that mean anything

    ?

  • @ziodice windows has nothing to do with it because I use windows did you download the right version and what erroer?

  • @inuasha880 I don't know, a command prompt window just opens and closes REALLY fast.

  • @ziodice is that when you try to start a program you wrote or the python shell?

  • @inuasha880 When I try to open the......IDLE python GUI thing, or if I try to open the "Command line" or if I try to open the other thing I forget the name of.

  • Okay, so can someone tell me the difference between input and raw_input?

  • @3213528

    raw_input() asks the user for a string of data (ended with a newline), and simply returns the string. It can also take an argument, which is displayed as a prompt before the user enters the data.

    input() uses raw_input to read a string of data, and then attempts to evaluate it as if it were a Python program, and then returns the value that results.

  • @williegotpwned So in a sense input uses raw_input to execute a program

  • @3213528 input is what starts a sequence, yes. raw input asks the user something (usually).

  • best teacher!!!

    

  • hello bucky, i wonder is it is posible to wrote OS with python ? as far as i know they using C/C++ and assembly languages :P

  • Comment removed

  • From what I'm getting so far, Python is a lot like C++, just much much simpler :)

  • lol python is so easy...this would make my 3rd programming language.

  • omfg....python is so easy, i quit a few months ago because i didnt know about the gui!

  • i'm useing c++ its more hard but its got more functions python is good for teaching c++ is more advance though... i think

  • @kingchris649

    Point is, C++ is a very very VERY powerful PROGRAMMING language.

    Python is a handy SCRIPTING language.

    Comparing C++ to Python is like comparing a space ship to a bicycle.

    Long Live The CPlusPlusers!

  • @NathanEth0 python is good for beginners and c++ is not

  • @joonas2345 Actually, I beg to differ. After learning C++, you get the mindset of a programmer. and afterwards, learning any language is a piece of cake.

    If anyone want to become a programmer I strictly recommend this chain:

    Learning and mastering combinatorics, then starting C++, after mastering C++, start scripting languages like bash, python, and later on php and other languages.

  • @NathanEth0 and btw python is not only scripting language, you can use python as scriptin language....

  • @joonas2345 Fair enough (: Python is a actually a tool that might come in very handy. :D

  • Awesome series, so much better than reading a 700 page book

  • Python 3.X gives a huge syntax update (Changes the print command to a method), so will not work with this tutorial, use python 2.7 :)

  • @Mike89066

    x = input("enter string here: ")

    for python 3.2 you have to specify that you want it to be a integer by putting int in front of it otherwise it will assume it is a string. or if you really want to make sure its a string you can use

    x = str(input("enter string here: "))

  • what to use python for?

  • x = int(input("enter number here: "))

    this will allow for an input of a number

    if you just do input you will be inputting a string not a number

  • @headshats Yes, true, but that is true for ---> x = int (raw_input ("enter number here:" ) )

    Im not sure, but I think I read that newer versions of Python use "input" instead of "raw_input", but in 2.6.x if you use "input" you dont need "int", because by default it will assign an INT value, not a string. RAW_INPUT assigns a string and needs INT to convert it to an int value.

  • @headshats not if you use the 2.7 python aka the better version

  • @headshats

    actually it just does transform the string which you get with input() into an integer, but it doesn't "allow for an input of a number"

  • @headshats or num1=eval(input("Enter number here."))

  • @headshats THANKSSS!!!!!!!!

  • @headshats a simple if statement will fix that so he code works fine. you will want the if statement also to avoid people from being able to crash your program. for those not sure what im saying keep watching you will learn it soon.

  • @headshats Helpful, thanks.

  • @headshats Actually... raw_input() is str

  • can you loop the input function?

  • albatross = input("Enter number here: ")

    c = ("albatross + 2") #you will print the the quoted text verbatim.

    print(c)

    d = (albatross * 2) #the result will be given.

    print(d)

    This could be used in many ways. Video game: "General, how many archers should we deploy?" g= input(). def battleofdoom() ... if input * 7 >= (90) "Victory" else "middle earth is lost forever."

  • when would some one use this

  • when would some one use this

  • "well, yes I am an idiot, but more importantly..." LMAO fucking gold

  • why do you put spaces between the stars and the x and 3? x ** 3

    instead of x**3

  • @Hellsayer To make it standout..

  • You're not an idiot! loL you're definitely teaching me an entire new language!

  • Two dollars? It was worth more to me than that. :D

  • I didn't know ANYTHING about programming, and now all I need is your youtube tutorials.

  • In python 3.2 input doesn't cast to number automatically. It gives "43\r"

  • @iiAMvShel didnt mean to offend i just pointed my observation =P but when you put it that way yea i guess their are people that would get confused when you add letters that means something els what ever

  • How do you multiply two variables?

  • @TheMegawsome

     num1 = 3 num2 = 4

    print (num1*2)

    print (num2*2)

  • @kaimarohero remember spaces (youtube typing sucks)

  • @TheMegawsome

    you could try this way too; first assign a value for your variables then just multiply them.

    t = 3

    >> 3

    e = 6

    >>6

    t * e

    >>18

  • @TheMegawsome

    you could try this way too; first assign a value for your variables then just multiply them.

    t = 3

    >> 3

    e = 6

    >>6

    t * e

    >>18

    space isn't necessary when on python

  • Interesting video :)

  • Comment removed

  • only $2 tutorial? man, your tuts worth a fortune! thanks a lot!

  • @pozionmynd I did not ask about raw_input, though. I asked about using input() - Without doing any conversions to strings, is not that dangerous? The way it was explained here does not exactly make people aware of those potential dangers.

    I mean, what if you ask for input and people submit code?

  • omg I love you !

  • yeah man keep these videos comin. They are really good. I do appreciate it.

  • holy crap so much better than c++

  • @InPursuitOfALife

    NO! its much easier and more understandable than C++

  • @InPursuitOfALife You cant say that because the python interrupter was probably written in C++ 

  • @InPursuitOfALife nothing will beat c++. trust me

  • @Digby0907 WHY NOTT??? Python is much more simplier. im not sure what you can exactly accomplish with python but its a good language for teaching basics....c++ not so easy...concepts much easier to learn in python but c++ is probably more capable

  • @InsaneHands2 python is writin in c/c++....

  • @InsaneHands2 but it is good for basics.

  • @InPursuitOfALife

    I wouldn´t say it´s better, but easier, yes.

  • @InPursuitOfALife simpler you mean :P

  • @InPursuitOfALife I know right!

  • @InPursuitOfALife Oh my god yeah

  • @InPursuitOfALife

    And so much slower too. Comparing Python to C++ doesn't make much sense.

    Ask google, they use both!

    C++ for backend and python as a "glue".

  • @InPursuitOfALife people say its all around better because it runs smoother and is easier to learn

  • @InPursuitOfALife i know, right. about 8 months ago, i started learning c++, i quited it in a few days, since it was so hard. and now, i started learning Python, so much easier, than c++, and it can be used alot more than c++.

  • Love the tutorial but your voice makes me feel tired, when i'm feeling tired I now kow what to do :)

  • Is not input() dangerous if you do not convert it to a str or an integer? What if people input code instead of an integer, like you were expecting them to?

  • whos awesome? you're awesome!

  • this is very helpful. im 15 learning how to do this soo thanks

  • >>> x=999

    >>> x**999

    :D?

  • You are one of the best programming video makers I have seen. I guess I feel sometimes your kinda repeat your point a little to much. Guess that's natural when you are really smart, or know a tad of programming. Some might find it useful.

    Thanks a bunch for these very good demonstrations.

  • @huntersquad237

    What is in the " "'s does not matter. Its just showing an input to the users. You could put g = input ("dsadasdasdsadfas: ") and it would still work.

  • when he says his name it sounds like fucky

  • very helpful thank you! :)

  • amazing stuff thanks a lot

  • Thanks for a brilliant tutorial

  • Python seems so useless right now. It just seems like you can't do anything.

  • you are beautiful bro~

  • can we reset the number that's assigned to the variable? and how? just wondering..

  • Yeah for these tutorials make sure you download 2.7, the last release in the 2.__ versions; otherwise some of the syntax has changed

  • Thanks mate. Awesome tutorial style, relaxed yet knowledgeable.

    Thanks learned heaps from this series.

  • $2 tour? damn, i thought it was free. You'll never get it from me!!!

  • SHUT UP!!! IM NOT A NOOB, I JUST DONT KNOW WHAT THE HECK IM DOING...oh wait

  • Not a newbie in programming but thanks in name of all the ones which this tutorial was very very helpful to them :D Good to know you use the "input" in order to request information from the user :D

  • these tutorials are really helpfull. i now own my first computer and untill now all i knew how to do was get on the internet and with a lot of research and videos like this i am beginning to understand how it all works. lol! i stil have a loooooooooonnngggg way to go b4 i gain the understanding i hope to eventually have but its a start. thanks!

  • i have watched most of your tutorials, and i have a question.

    is it possible to print a ceratin line depending on what the user has entered into raw input? for example, if the user typed "6'7' in a song program, can you make it print "lil wayne"?

  • you really like mortgages. All calc in your programming tuts is about calculating those xD

  • it's like MATLAB until now

  • This is way more easy than c++...

  • so far this is feeling my "My first programming language" it's so simple to use

  • 7 people dont got patience

  • i learned this all by myself! :D

  • easily learn python 3 with these tutorials python3tutorial. com

  • do you have a vid on arrays?

  • no semi-colon? im surprised!!

  • @mangopearandapples it's optional hahah

    u can put a one if u want

    (actually u will do that by mistake if u used to java or c++ ) xDD

  • For all of you with v3 and up, this won't work for you. You might as well get 2.7 if you're gonna follow this series of tutorials

  • @TubeFreakification I have 3.1 and this worked. Tutorial 1 did not, but you can easily find out the fix in google. Just use the newest python and when error occurs google it.

  • doesn not work for python 3.2 ;(

  • @flyLeonardofly download 2.7, its the most stable