Seeing this makes me think that high-level programming hasn't changed much at all over the decades. Anybody who knew BASIC back in the 80's would pick this up very quickly, and it looks very similar to communications scripts (Procomm Plus ASPECT) that I programmed in the 90's.
Perfect Timing!! Just today. Only a few hours ago, I downloaded and installed IDLE for a serious attempt at learning Python. Then, just as I get some time to sit down and search for some Python tutorials, this video pops up first in my subscription feed! Thank You Chris!
I don't mind watching your videos even if they have 20mins or more, because all of them are really lovely. Very nice work indeed. I'm learning python so this video is helpful as well. Thank you!
Thanks, I managed to create a calculator by myself using this. Here's the code, took me about 5 minutes to do: print('Welcome to the simple Python calculator') number1=float(input('Enter a number')) ans=input('Do you want to add(A),substract(S),divide(D) or multiply(M) that number?') number2=float(input('What is the other number?')) if ans=="A": print('Answer=',number1+number2) if ans=="S": print('Answer=',number1-number2) if ans=="D": print('Answer=',number1/number2) if ans=="M": print('Answer=',number1*number2) print('Thank you for using this simple Python calculator.')
My first experence with coding!In my Hosp.All of us nurses are going to New a paperless charting Program.and weren't looking forward to it. Now I am not afraid of it. I embrace it after this class!Another winner Chris you make it all look like a peice of Cake.
Chris, I love all the little commentaries you always make, like "... again, aren't computers....AMAZING?!". LOL. It makes all your videos not just educational, but very entertaining!
having learned only some C64 basic this is refreshingly similar. This is also just the sort of fundamentals I needed to fully confirm that Python is the language I need to learn. A good video then and certainly easier than some others. Would certainly appreciate a few more Python tutorial videos
I know I comment this a lot, but again, I love this channel! Thanks Chris for the HQ production and effort. Since I started watching, my interest for comp sci and engineering has skyrocketed!
You know what is odd? I have been using Python for years. Technically I did not learn anything from your video, but I watched all of it. Why, one might ask? Your explanations are incredibly clear and your videos are very well produced. You have a pleasant voice and the way you speak is just a delight to listen to!
This has to be the best Python Intro Tutorial I have ever found. This is a great first intro with actual useful simple code that I think most will find useful later. Chris your videos are great!
I have some code Id be happy to share with you if you plan to go further with a tkinter intro. Most videos using the GUI generally do not interface with the GPIO. I think there are many looking for this, for example controlling a servo motor via the slider widget. I have code for this and also an Arduino I2C slave version as the Arduino is better suited for this. The I2C set up is another one that is hard to find a simple tutorial on. Coding is also easier on the Arduino side as well. I guess you will have to follow to my website and contact me there. The best code is the code already written. :)
That was quite interesting. For a non-programmer, I was pleased to see how simple it could be to watch and learn. Thanks again! BTW, I really enjoy the way you speak. It's really clear, with a nice pace and in a perfect english. For a French Canadian as I am, some accents in the voice are quite difficult to understand sometimes. Thanks Mr Barnatt for putting up such quality videos. I don't miss any!
This video reminded me of my early days when I just started to learn programming in early 2000s (boy, how long ago that was... time sure goes fast). My first program (that I remember) consisted of just a simple while loop to fill the screen with words "I love you !". Thank you Chris.
Thank you so much, Chris! I've been learning python through other youtube tutorials and moocs, but you, sir, are entertaining. Thanks again! Please make a learning python playlist :)
Finally. Your contents are great.❤❤❤❤❤❤. I'm doing a bachelor's in physics at my local university , and we have a paper on Python programming on our 6th semester. This video helps a lot
Reminds me of the programs I wrote in BASIC in Middle school. CLS 10 PRINT "What is your name?" 20 INPUT "...(Enter Your Name)...", a$ 30 PRINT 40 PRINT "Hello, "; a$; ", I am your computer, nice to meet you." 60 END
Same here, good old HPbasic on cards. Our code was written on cards which you used a pencil to strike out icons to code, send them on a bus to the computer center and three says later get your hopefully working print out back. (1970s) We had a very forward looking maths teacher in high school. Bless his soul. I've been through Fortran, Pascal, back to Basic with C64 and VIC29 and Tandy TRS80, GWBasic then C++ and Visual Basic. Professionally I use C++, Ladder and Codesys for industrial use, but I still love to toy with a bit of basic at times. Thankyou for a great start with Python.
Yeah and what with so much more power available as well to users. Great stuff. Tried on and off over the years trying to understand programming even though I pretty much have the concepts. I think I'm going to crack it this time with Python
This looks quite easy. Ive been doing some basic programming in Turbo Pascal when I was at school, but it turned out I wasnt the best at it. Thank you for showing how to deal with Python !
Thanks for the introduction to Python. As always your explanations are clear and your examples are good and well thought out. One item that might enhance the instruction is presentation of the syntax of each of the commands. Also, you might consider posing a programming challenge to the viewer based on the material presented (maybe in the comment section) to encourage individuals to practice the ideas. As always, I greatly enjoy your work and hope this is first in series of videos on Python.
I was thinking the "magic number" example might be a good start for this: the challenge could be to modify it to use a random number, and to give it hints. (i.e. responses like "You're getting warmer/colder")
This remind me of Qbasic, what fun that was, pressing F5 in Qbasic editor will run the program just like python editor in the video ... thank you for the video.
I taught programming for many years. Some guidelines I used regarding comments: Don't comment the obvious. Comments should summarize the code, not repeat it. Comments for a block of code should precede the code to which they apply. Comments should be concise and precise, i.e. short and to the point. Comments should be written as commands, i.e., "do this" not "doing this". Comments and code must always agree, else one or the other or both are wrong. Maintain the comments as needed as you maintain the code. Use line by line comments only when essential for code clarity. Add white space to group lines of code by function. These are the main ones I encouraged my students to follow. I follow them for programs I write even though I know no one else will ever see them, but I might have to maintain them sometime in the future.
The problem is, what is "obvious" to some is not to others. When writing code for myself, I never comment it, as everything is "obvious" :). But when writing for others, and especially a tutorial video, a judgement call has to be made, and I can never please everybody.
Thanks Chris. This takes me back to my days of learning Basic in the 1970's and also programming on early computers in the 1980's like the Sinclair QL using SuperBASIC. I haven't done any programming for almost 30 years so I think I'm going to give Python a try and see how it goes.
Thank you for yet again, another fantastic video! I am excited to know that you are creating a series for the Python programming language. After watching this video, I can definitely dive into Python and have some fun with my very own Raspberry Pi 3B+! Looking forward to your excellent high quality content. :)
Thumbs up and already subscribed. There's so much more in want to learn about programming, especially to create games for Android devices. We learn from EC, then we create apps, then we earn lots of money from those, then we can pay EC lots of money for all that help.
Your helping others Chris ... wonderful of you ... the nice thing is ingesting python code is low cal and great for the diet ! NOOBS here learning to crawl with python ... thanks for your help. JF
WoW thank you so much what little you just showed helped me to learn way more than all the books and videos I've read and watched before, you Sir are a great teacher again thank you
Very easy to understand and I hope you do a few more videos on Python, I myself have only just started using it. Learnt basic and c back in the day, so python seems very handy. Great vid as always.
This reminded me of when the INPUT magazine came out in the UK in the early 80's and I was into typing in short programs into the BBC Micro that my Dad had got thru work and I continued using basic for simple programmes until my brother got an Amiga and my relationship with BASIC was well and truly over but I still remember a lot of the things I did and the hours I did typing in programs.
Before getting biased by your contribution, I comment before I watch it. I am curious to see if you can get me interested in this materia, since I am adversely impressed by Python. I know it as one of the less useful languages, which however have been chosen by a lot of people, and from time to time I have to review and repair their code. I know it since ever, and it is in the same box as other exotic languages, such as Ruby and Lisp. Now, the word to you! 😊
A very good introduction to programming in general and Python in particular. I have programmed in many languages over the years and just started learning Python a few weeks ago and have found it quite approachable. It is certainly a more sensible language to learn programming with than something like Perl. The biggest oddity I have found with Python is that every data structure is rolled into a list. The finer points of working with lists takes a bit of getting used to.
great and informative as always, am so glad you started programming videos about python if its turned into a series am sure lots of users will be interested as python is so hot right now
ExplainingComputers I would love 2 see more I hope this video goes through the roof, very well explained. I love to make games in a app similar to scratch and python. On Android its called ( PocketCode ) u can program drones, rasberry pi, and object oriented programs with it. Something I think u would like U can see my work here : share.catrob.at/pocketcode/profile/7042 And Pocket Code here : play.google.com/store/apps/details?id=org.catrobat.catroid You'll love it Keep up these excellent tutorials and videos ; ) computer science is the future.
I enjoyed this video as I am starting to get into Raspberry Pi and some projects I want to do. I am already familiar with some other programming languages. Some more Python programming education videos would be helpful if they match the goals that your channel wants to achieve. Thanks.
Thanks for this. You may find useful this video that shows Python code using Pi GPIO inputs -- ua-cam.com/video/NAl-ULEattw/v-deo.html -- as well as my Pi robotics videos, which again all use Python. :)
Do you like puzzles? Around 8:36 mins, you have: print('Your name has' , len(name), 'letters') what if instead you had: print('Your name','(',name,')','has',len(name),'letters.') you can pad that with space if you want, but the puzzle is that if you use this line with the rest of your code and input your name, the output will give Your name ( Chris ) has 5 letters The question I have is how to make it look like this (Chris) ? In other words, how do you get rid of the spaces before and after the name? Can it be done in Python3? I used to play with Basic on the Vic 20, Atari 800, Amiga and all versions of DOS and there was always a way to do something, but I must say this one has me stumped :(
Hello Chris again. It is interesting that you used BMI in your introduction to Python code. I have just read an article in Australian COSMOS magazine on that subject which is very interesting seeing that the BMI formula was created in 1830. Worth reading that article and the rest of the magazine if you have time. Thanks.
Good Afternoon Chris. Interesting video. I shall have to alot my self sometime to programming the Pi. I wanted to get back to you about my first experiences with that $5.00 soldering iron. For my first attempt I decided to attach the headers to my Pi Zero, I think in retrospect I used the 1 Amp instead of the 2.4 Amp socket and that mistake led to a less than optimal result.
wow, that's quite different to turbo pascal i learned in school. seems way easier and more flexible. guess you kindled my interest in programming again, thank you!
Excellent video as always, thank you very much, Chris. If you could now take this into the deeper, darker realms of Python, that would be extremely useful. Thankyou once more.
I was not expecting to learn a bit of the Python syntax today. :) It's a little weird not seeing statements inside of curly brackets. Looks dangerous! :D Thanks, Chris!
allluckyseven Well, curly brackets are used, but as dictionaries (a list of values identified by keyword instead of by numerical index/positional order). This is helpful if you plan on storing/using data in JSON format (which a good portion of web APIs do support). {"status":"learning", "what":"Python", "version":3.6}
Good introduction with progressive pace! I am interested to see if you will attempt GUI scripting using tkinter at some point, looking forward to seeing how this all progresses, thanks Chris.
Professor, show us a sample code on making a simple AI bot or simple speech recognition system using raspberry pi with Python, BASH etc. assuming that we know a little bit of python 3 and BASH...
Great introduction to Python programming. There is a lot more basics to cover and I really hope you have the time and interest to teach even more. If you're up to the task, then maybe keep teaching newcomers to programming, so that in the end they learn some basic TensorFlow or similar AI frameworks to be used on our SBCs. That would be awesome! ;-)
It would be great to cover TensorFlow here, and indeed AI more generally. I did some AI videos last year that sadly were not that popular. Perhaps a little too early.
I think the issue with AI in general is that the viewer base is very picky and most viewers think it's way beyond their understanding. (Well the math might be, but programming simple AI does not have to be hard at all when working with Python) If you find a cool video game that is free to download, quite popular, quite simple to play and runs on low resources and also has an API that let's you tap into the game engine, I think it would make a lot more people interested in learning this stuff. (kids and even older "kids" like me love games ;-) ) It would allow for teaching simple image recognition (on a bit more capable hardware), AI decision making based on game context and then use the game API to do things like move the main character etc...and a lot more... I know it's a difficult task to keep such content simple enough for newcomers to understand while still keeping it interesting for everybody else. But you can do it, I'm certain of it. :-)
Great! Thank you very much and please keep going with this lesson. I am also very much interested in embedding these programming in a graphical solution with Linux. There are so many tutorials in programming languages, but usually they don't show how to come to graphics solutions and also how to touch to databases. I know, that's a long way. But all Beginners ask for that very soon to have successful experiences.
I didn't learn Python many years ago when I should have... didn't know what to use it for... & now I'm stuck with a whole bunch of files that need a python script to be processed in a reasonable amount of time :3
running the "whats your name" code in the terminal, I get always this error, and cant figure out yet, how to solve it: 10 Wie heisst du?: m artin Traceback (most recent call last): File "m1.py", line 21, in name = input("Wie heisst du?: ") File "", line 1, in NameError: name 'martin' is not defined in idle it runs just fine
Did you know there's also MicroPython for Microontrollers? It's pretty amazing, setting it up the first time could take an hour on Windows, but it makes prototyping very beginner-friendly compared to learning C for arduino. I recommend putting it on an ESP8266, they are even cheaper than Pi Zero's! And great video like always!
Seeing this makes me think that high-level programming hasn't changed much at all over the decades. Anybody who knew BASIC back in the 80's would pick this up very quickly, and it looks very similar to communications scripts (Procomm Plus ASPECT) that I programmed in the 90's.
Perfect Timing!! Just today. Only a few hours ago, I downloaded and installed IDLE for a serious attempt at learning Python.
Then, just as I get some time to sit down and search for some Python tutorials, this video pops up first in my subscription feed!
Thank You Chris!
I don't mind watching your videos even if they have 20mins or more, because all of them are really lovely. Very nice work indeed.
I'm learning python so this video is helpful as well. Thank you!
Thanks, I managed to create a calculator by myself using this. Here's the code, took me about 5 minutes to do:
print('Welcome to the simple Python calculator')
number1=float(input('Enter a number'))
ans=input('Do you want to add(A),substract(S),divide(D) or multiply(M) that number?')
number2=float(input('What is the other number?'))
if ans=="A":
print('Answer=',number1+number2)
if ans=="S":
print('Answer=',number1-number2)
if ans=="D":
print('Answer=',number1/number2)
if ans=="M":
print('Answer=',number1*number2)
print('Thank you for using this simple Python calculator.')
Didn't know you can use "if" back to back, so when do you use "elif" ?
Looking forward to this. Hope it turns into a series..
Michael Newham Same!
My first experence with coding!In my Hosp.All of us nurses are going to New a paperless charting Program.and weren't looking forward to it.
Now I am not afraid of it. I embrace it after this class!Another winner Chris
you make it all look like a peice of Cake.
Always good to embrace something new. Good Luck! :)
Nice explanation 👌👌👌
Please make a series of python programming
Chris, I love all the little commentaries you always make, like "... again, aren't computers....AMAZING?!". LOL. It makes all your videos not just educational, but very entertaining!
Thanks.
having learned only some C64 basic this is refreshingly similar. This is also just the sort of fundamentals I needed to fully confirm that Python is the language I need to learn. A good video then and certainly easier than some others. Would certainly appreciate a few more Python tutorial videos
I know I comment this a lot, but again, I love this channel! Thanks Chris for the HQ production and effort. Since I started watching, my interest for comp sci and engineering has skyrocketed!
I have always had an interest in Python, now you have lit a fire under that interest, thanks Chris.
You know what is odd? I have been using Python for years. Technically I did not learn anything from your video, but I watched all of it. Why, one might ask?
Your explanations are incredibly clear and your videos are very well produced. You have a pleasant voice and the way you speak is just a delight to listen to!
This has to be the best Python Intro Tutorial I have ever found. This is a great first intro with actual useful simple code that I think most will find useful later. Chris your videos are great!
I have some code Id be happy to share with you if you plan to go further with a tkinter intro. Most videos using the GUI generally do not interface with the GPIO. I think there are many looking for this, for example controlling a servo motor via the slider widget. I have code for this and also an Arduino I2C slave version as the Arduino is better suited for this. The I2C set up is another one that is hard to find a simple tutorial on. Coding is also easier on the Arduino side as well. I guess you will have to follow to my website and contact me there. The best code is the code already written. :)
That was quite interesting. For a non-programmer, I was pleased to see how simple it could be to watch and learn. Thanks again! BTW, I really enjoy the way you speak. It's really clear, with a nice pace and in a perfect english. For a French Canadian as I am, some accents in the voice are quite difficult to understand sometimes. Thanks Mr Barnatt for putting up such quality videos. I don't miss any!
Thanks for this. A big intention with this video was to show non-coders how you can get into coding.
De-mystifying programming? Hell yeah!
I hate it when people think programming is really hard when it isn't.
Great work Chris!
This video reminded me of my early days when I just started to learn programming in early 2000s (boy, how long ago that was... time sure goes fast).
My first program (that I remember) consisted of just a simple while loop to fill the screen with words "I love you !".
Thank you Chris.
you’re like Bob Ross for computers 😊👍🏼
I thought that too!
Thank you so much, Chris! I've been learning python through other youtube tutorials and moocs, but you, sir, are entertaining. Thanks again! Please make a learning python playlist :)
Cool idea -- noted! :)
C S I agree. Great idea.
I forgot to ask that in my comment but hurray for that idea!!😁 Hope you find the time in your busy schedule to do that!
Finally.
Your contents are great.❤❤❤❤❤❤.
I'm doing a bachelor's in physics at my local university , and we have a paper on Python programming on our 6th semester.
This video helps a lot
Thanks!
I started Reading about python yesterday, so this Will be a great introduction!
Reminds me of the programs I wrote in BASIC in Middle school.
CLS
10 PRINT "What is your name?"
20 INPUT "...(Enter Your Name)...", a$
30 PRINT
40 PRINT "Hello, "; a$; ", I am your computer, nice to meet you."
60 END
Animal Facts yes .. I thought that
Same here, good old HPbasic on cards.
Our code was written on cards which you used a pencil to strike out icons to code, send them on a bus to the computer center and three says later get your hopefully working print out back. (1970s)
We had a very forward looking maths teacher in high school. Bless his soul.
I've been through Fortran, Pascal, back to Basic with C64 and VIC29 and Tandy TRS80, GWBasic then C++ and Visual Basic.
Professionally I use C++, Ladder and Codesys for industrial use, but I still love to toy with a bit of basic at times.
Thankyou for a great start with Python.
programming back then was a lot harder sounding than the 8bit machine's built in basic. And even easier still now with Python
Adro Harv And Python can do so much more today than BASIC.
Yeah and what with so much more power available as well to users. Great stuff. Tried on and off over the years trying to understand programming even though I pretty much have the concepts. I think I'm going to crack it this time with Python
This looks quite easy. Ive been doing some basic programming in Turbo Pascal when I was at school, but it turned out I wasnt the best at it. Thank you for showing how to deal with Python !
Great video as always! 😀 I already knew some programming and Python, but still found this great to follow.
Very smooth transitions from one OS to another, Chris. Great video as always.
Great video intro to python. You never disappoint.
Thanks for the introduction to Python. As always your explanations are clear and your examples are good and well thought out. One item that might enhance the instruction is presentation of the syntax of each of the commands. Also, you might consider posing a programming challenge to the viewer based on the material presented (maybe in the comment section) to encourage individuals to practice the ideas. As always, I greatly enjoy your work and hope this is first in series of videos on Python.
The challenge is a great idea! :)
I was thinking the "magic number" example might be a good start for this: the challenge could be to modify it to use a random number, and to give it hints. (i.e. responses like "You're getting warmer/colder")
This remind me of Qbasic, what fun that was, pressing F5 in Qbasic editor will run the program just like python editor in the video ... thank you for the video.
A fun introduction to Python, intriguing and inspiring as always.
I started with Java in a college course and I was confused for too long. I believe this video would have been a much better place to start.
Hope you will make series
The follow-up CSS video is in preparation.
Python finally! 😍
Great video as always.
Thanks Chris. 👌🏻
I taught programming for many years. Some guidelines I used regarding comments:
Don't comment the obvious.
Comments should summarize the code, not repeat it.
Comments for a block of code should precede the code to which they apply.
Comments should be concise and precise, i.e. short and to the point.
Comments should be written as commands, i.e., "do this" not "doing this".
Comments and code must always agree, else one or the other or both are wrong.
Maintain the comments as needed as you maintain the code.
Use line by line comments only when essential for code clarity.
Add white space to group lines of code by function.
These are the main ones I encouraged my students to follow. I follow them for programs I write even though I know no one else will ever see them, but I might have to maintain them sometime in the future.
The problem is, what is "obvious" to some is not to others. When writing code for myself, I never comment it, as everything is "obvious" :). But when writing for others, and especially a tutorial video, a judgement call has to be made, and I can never please everybody.
Excellent and informative as usual Chris.
Thanks Chris. This takes me back to my days of learning Basic in the 1970's and also programming on early computers in the 1980's like the Sinclair QL using SuperBASIC. I haven't done any programming for almost 30 years so I think I'm going to give Python a try and see how it goes.
I too used SuperBASIC on a QL. Happy days!
Dude, your videos are so cool and fun to watch, and I bet on your end, it feels rewarding making these videos!
I indeed enjoy making the videos. :)
Thanks for the video. Explaining Computers has been crying out for this!
Very clear and well presented, I may actually be able to program a little after this series...I hope it's a series...
Thank you for yet again, another fantastic video! I am excited to know that you are creating a series for the Python programming language. After watching this video, I can definitely dive into Python and have some fun with my very own Raspberry Pi 3B+! Looking forward to your excellent high quality content. :)
Takes me back to learning Basic on the Vic20 in the 80s.
Thumbs up and already subscribed. There's so much more in want to learn about programming, especially to create games for Android devices. We learn from EC, then we create apps, then we earn lots of money from those, then we can pay EC lots of money for all that help.
Yes! Yesssss!!!! O frabjous day! Callooh! Callay! Chris wrote "multiplied by" and not that abomination "times by" (9:16). Go to the top of the class.
This was very helpful, simple but clear examples, thanks!
Now it's time to explore...
Your helping others Chris ... wonderful of you ... the nice thing is ingesting python code is low cal and great for the diet ! NOOBS here learning to crawl with python ... thanks for your help. JF
WoW thank you so much what little you just showed helped me to learn way more than all the books and videos I've read and watched before, you Sir are a great teacher again thank you
You are so welcome!
Very easy to understand and I hope you do a few more videos on Python, I myself have only just started using it. Learnt basic and c back in the day, so python seems very handy. Great vid as always.
Mr explaining thank you for the straight forward py intro.
Thanks - your video has turned me into a seasoned programmer.
Excellent! :)
This reminded me of when the INPUT magazine came out in the UK in the early 80's and I was into typing in short programs into the BBC Micro that my Dad had got thru work and I continued using basic for simple programmes until my brother got an Amiga and my relationship with BASIC was well and truly over but I still remember a lot of the things I did and the hours I did typing in programs.
Yes.. this is defiantly helpful. thanks for this video sir.☺
Before getting biased by your contribution, I comment before I watch it.
I am curious to see if you can get me interested in this materia, since I am adversely impressed by Python. I know it as one of the less useful languages, which however have been chosen by a lot of people, and from time to time I have to review and repair their code. I know it since ever, and it is in the same box as other exotic languages, such as Ruby and Lisp.
Now, the word to you! 😊
Another great video Chris, thanks so much!
A very good introduction to programming in general and Python in particular. I have programmed in many languages over the years and just started learning Python a few weeks ago and have found it quite approachable. It is certainly a more sensible language to learn programming with than something like Perl. The biggest oddity I have found with Python is that every data structure is rolled into a list. The finer points of working with lists takes a bit of getting used to.
great and informative as always, am so glad you started programming videos about python
if its turned into a series am sure lots of users will be interested as python is so hot right now
Absolutely awesome never thought I would see explaining computers doing a python course, plzzz make more plzzzzzz
It will depend on how popular this one is! :) I would be keen to make more.
ExplainingComputers I would love 2 see more I hope this video goes through the roof, very well explained. I love to make games in a app similar to scratch and python. On Android its called ( PocketCode ) u can program drones, rasberry pi, and object oriented programs with it. Something I think u would like
U can see my work here : share.catrob.at/pocketcode/profile/7042
And Pocket Code here : play.google.com/store/apps/details?id=org.catrobat.catroid
You'll love it
Keep up these excellent tutorials and videos ; ) computer science is the future.
It would be great if this was the start of a whole series on Python.
We will see . . .
It may be -- just depends how popular this intro is! :)
Would me watching it again help :)
:)
My school teacher took probably 6 months to teach this all and still idk how to do it but this guys thought me all in just 20 min
I enjoyed this video as I am starting to get into Raspberry Pi and some projects I want to do. I am already familiar with some other programming languages. Some more Python programming education videos would be helpful if they match the goals that your channel wants to achieve. Thanks.
Thanks for this. You may find useful this video that shows Python code using Pi GPIO inputs -- ua-cam.com/video/NAl-ULEattw/v-deo.html -- as well as my Pi robotics videos, which again all use Python. :)
Very well done. Very easy to follow with little to no assumptions. Thanks.
Do you like puzzles? Around 8:36 mins, you have: print('Your name has' , len(name), 'letters') what if instead you had: print('Your name','(',name,')','has',len(name),'letters.') you can pad that with space if you want, but the puzzle is that if you use this line with the rest of your code and input your name, the output will give Your name ( Chris ) has 5 letters The question I have is how to make it look like this (Chris) ? In other words, how do you get rid of the spaces before and after the name? Can it be done in Python3? I used to play with Basic on the Vic 20, Atari 800, Amiga and all versions of DOS and there was always a way to do something, but I must say this one has me stumped :(
Excellent video, thank you Chris. I relay like the way you explain things. I too, hope you do more videos on coding with python.
This reminds me of classes and programming in basic and c++ back in school days. :)
Hello Chris again. It is interesting that you used BMI in your introduction to Python code. I have just read an article in Australian COSMOS magazine on that subject which is very interesting seeing that the BMI formula was created in 1830. Worth reading that article and the rest of the magazine if you have time. Thanks.
Great time to start during the lockdown.
Yes, absolutely!
1st. Great coding class. Thanks from Orlando’s Space Coast.
Gold Medal to you today! :)
2, silver? Or actually 3, bronze...
Great introduction Chris. Do you plan on turning this into a series?
It all depends on views -- and right now, this video is sadly not popular. :(
Great tutorial! I was looking for something like this. Hope to see more on how to use the RPi's GPIO ports as analog input/output, read/write pins.
I have made those videos already -- eg see: ua-cam.com/video/NAl-ULEattw/v-deo.html and my Pi robotics series: ua-cam.com/video/41IO4Qe5Jzw/v-deo.html
Great video. Clear, understandable and interesting. Thank you
Thanks for this. Very helpful. I always thought that Python was completely Object Oriented, like Java.
Great Introduction in only 22 minutes :)
Also great is MicroPython on small AVR-SBCs ;)
Good Afternoon Chris. Interesting video. I shall have to alot my self sometime to programming the Pi. I wanted to get back to you about my first experiences with that $5.00 soldering iron. For my first attempt I decided to attach the headers to my Pi Zero, I think in retrospect I used the 1 Amp instead of the 2.4 Amp socket and that mistake led to a less than optimal result.
wow, that's quite different to turbo pascal i learned in school. seems way easier and more flexible. guess you kindled my interest in programming again, thank you!
A truly great video from so many points of view!
Thank you sir!
Thanks.
So far, its similar to basic or any other fortran-like procedural language. I expect to hear more about classes, objects and methods in 2nd part.
Thanks Mr Christopher. You are best!!!
Your videos are terrific. Cheers from Norway.
Thanks. Greetings back from the UK. :)
Another awesome video Chris!!!!
Thanks Jay. Did you have a good birthday?
Yes thank you Chris! I've now booked driving lessons!
Good luck with those. How rapidly your life will progress in the next few years. Enjoy it all! :)
Tell me about it! I will soon be 18, looking back on the year when I was 17! Looking forward to next weeks video!
Thanks man. And great job on the video. Your explanations were on point.
hey id like to see more of this from you, i think you did a great job explaining this thanks.
Python is a very powerful tool. And very easy language.
Excellent video as always, thank you very much, Chris. If you could now take this into the deeper, darker realms of Python, that would be extremely useful. Thankyou once more.
I always wanted to learn this! thank you!
Thanks! I always find your videos informative. Keep up the great work!!
I was not expecting to learn a bit of the Python syntax today. :)
It's a little weird not seeing statements inside of curly brackets. Looks dangerous! :D
Thanks, Chris!
allluckyseven Well, curly brackets are used, but as dictionaries (a list of values identified by keyword instead of by numerical index/positional order). This is helpful if you plan on storing/using data in JSON format (which a good portion of web APIs do support).
{"status":"learning", "what":"Python", "version":3.6}
Many years back used to program BBC BASIC. Very similar commands.
Good introduction with progressive pace!
I am interested to see if you will attempt GUI scripting using tkinter at some point, looking forward to seeing how this all progresses, thanks Chris.
oh! Chris, thank you ! really hope for a series in python (IDLE) programming. I might just learn to code after all :D
Professor, show us a sample code on making a simple AI bot or simple speech recognition system using raspberry pi with Python, BASH etc. assuming that we know a little bit of python 3 and BASH...
Great introduction to Python programming.
There is a lot more basics to cover and I really hope you have the time and interest to teach even more.
If you're up to the task, then maybe keep teaching newcomers to programming, so that in the end they learn some basic TensorFlow or similar AI frameworks to be used on our SBCs. That would be awesome! ;-)
It would be great to cover TensorFlow here, and indeed AI more generally. I did some AI videos last year that sadly were not that popular. Perhaps a little too early.
I think the issue with AI in general is that the viewer base is very picky and most viewers think it's way beyond their understanding. (Well the math might be, but programming simple AI does not have to be hard at all when working with Python)
If you find a cool video game that is free to download, quite popular, quite simple to play and runs on low resources and also has an API that let's you tap into the game engine, I think it would make a lot more people interested in learning this stuff. (kids and even older "kids" like me love games ;-) )
It would allow for teaching simple image recognition (on a bit more capable hardware), AI decision making based on game context and then use the game API to do things like move the main character etc...and a lot more...
I know it's a difficult task to keep such content simple enough for newcomers to understand while still keeping it interesting for everybody else. But you can do it, I'm certain of it. :-)
Very informative Chris, enjoyed viewing, Python kind of reminds me of COBOL. Surely though 3 is the magic number. 😄
Make this a series please😀😀😀
I will see how popular this first video is! :)
ExplainingComputers oh it will be popular
Hopefully -- so far a rather slow start. Perhaps due to the football! :)
Very useful tutorial for beginners, thanks.
Which single board computer is the best for image processing? (Excluding Raspberry pi)
It depends how much you want to spend; a UDOOx86 board is great! :)
ExplainingComputers thank you sir.. it's for a self driving car prototype. Using openCv
What if I want to attach files like pictures or graphic design in the program ?
Great! Thank you very much and please keep going with this lesson. I am also very much interested in embedding these programming in a graphical solution with Linux. There are so many tutorials in programming languages, but usually they don't show how to come to graphics solutions and also how to touch to databases. I know, that's a long way. But all Beginners ask for that very soon to have successful experiences.
I didn't learn Python many years ago when I should have... didn't know what to use it for...
& now I'm stuck with a whole bunch of files that need a python script to be processed in a reasonable amount of time :3
running the "whats your name" code in the terminal, I get always this error, and cant figure out yet, how to solve it:
10
Wie heisst du?: m artin
Traceback (most recent call last):
File "m1.py", line 21, in
name = input("Wie heisst du?: ")
File "", line 1, in
NameError: name 'martin' is not defined
in idle it runs just fine
I suspect that in the terminal it is picking up Python 2 rather than Python 3 as the default, and there are syntactical differences.
Thank you!! I've been attempting to learn python and your video helped alot@
More Python tutorials! Great video. :)
I learned more here than the others
Did you know there's also MicroPython for Microontrollers? It's pretty amazing, setting it up the first time could take an hour on Windows, but it makes prototyping very beginner-friendly compared to learning C for arduino. I recommend putting it on an ESP8266, they are even cheaper than Pi Zero's!
And great video like always!
I must try MicroPython some time!