Python Programming

Python Programming

FavoriteLoadingAdd to favorites

Get the Cheat Sheet Here : http://goo.gl/Rv01oG
Best Book on Python : http://amzn.to/1NxiMLo

Beginner Python Tutorial : https://www.youtube.com/playlist?list=PLGLfVvz_LVvTn3cK5e6LjhgGiSeVlIRwt

Support Me on Patreon : https://www.patreon.com/derekbanas

Install : http://youtu.be/N4mEzFDjqtA?t=17s
Basics : http://youtu.be/N4mEzFDjqtA?t=2m23s
Arithmetic : http://youtu.be/N4mEzFDjqtA?t=4m21s
Strings : http://youtu.be/N4mEzFDjqtA?t=5m54s
Lists / Arrays : http://youtu.be/N4mEzFDjqtA?t=8m8s
Tuples : http://youtu.be/N4mEzFDjqtA?t=12m24s
Dictionary : http://youtu.be/N4mEzFDjqtA?t=13m37s
Conditionals : http://youtu.be/N4mEzFDjqtA?t=15m46s
For Loop : http://youtu.be/N4mEzFDjqtA?t=19m41s
While Loop : http://youtu.be/N4mEzFDjqtA?t=21m57s
Functions : http://youtu.be/N4mEzFDjqtA?t=24m59s
User Input : http://youtu.be/N4mEzFDjqtA?t=26m34s
String Functions : http://youtu.be/N4mEzFDjqtA?t=26m57s
File I/O : http://youtu.be/N4mEzFDjqtA?t=30m11s
Classes / Objects : http://youtu.be/N4mEzFDjqtA?t=32m4s
Constructors : http://youtu.be/N4mEzFDjqtA?t=34m39s
Inheritance : http://youtu.be/N4mEzFDjqtA?t=37m24s
Overwriting Functions : http://youtu.be/N4mEzFDjqtA?t=37m58s
Overloading Functions : http://youtu.be/N4mEzFDjqtA?t=39m47s
Polymorphism : http://youtu.be/N4mEzFDjqtA?t=41m19s

I have received a ton of requests to make a Python programming tutorial in which I teach pretty much everything in one video.

I’ll cover modules, comments, print, arithmetic operators, order of operation, lists, tuples, dictionaries, conditional operators, logical operators, if, else, elif, loops, for, while, break, continue, functions, return, readline(), string operators, file i/o, classes, objects and much more.

By |2017-05-01T12:22:43+00:00April 26th, 2017|Programming Video Tutorials, Python Video Tutorials|50 Comments

50 Comments

  1. Abin Jacob April 26, 2017 at 9:08 pm - Reply

    shows an error while running inheritance example
    return "{} is {} cm tall, weighs {} kilograms, makes {} sound and his owner is {}" .format(self.__name,
    AttributeError: ‘dog’ object has no attribute ‘_dog__name’

  2. Sourish Das April 26, 2017 at 9:10 pm - Reply

    fantastic video – thank you

  3. Dwight Smith April 26, 2017 at 9:11 pm - Reply

    Hey Derek, totally love your teaching style!!! Would be great if you could do a tutorial on R. And if you’re so inclined, how about Linear Algebra with Python? Thanks man.

  4. Josh Dipps April 26, 2017 at 9:12 pm - Reply

    what is the difference between Pycharm and the normal editor??

  5. Binoy Vudi April 26, 2017 at 9:12 pm - Reply

    Derek Banas !! You the MAN ! Thank you so much ! That was a very crisp tutorial for people who have little or no Python programming experience.. I am a data scientist and I do not know Python !! (Yes, you read that right, I never bothered to learn because I’ve never really used anything else but SQL, PL/SQL, T-SQL and R Programming at work.) This is the foundation and it so important for data analysis and manipulation. Thanks a million.

  6. Oyunsuren Chultem April 26, 2017 at 9:13 pm - Reply

    What a nice enjoyable tutorial. Thank you very much.

  7. Jeevan Kumar April 26, 2017 at 9:14 pm - Reply

    Some stuff is not there but you did all the basics.. so it’s now easy to learn full. I just have to watch ur video and just go through another e book my bro recommended. I’m halfway through and I hope of completing in ~2 hrs

  8. Hantzley Tauckoor April 26, 2017 at 9:14 pm - Reply

    Great summary in 1 video. Fantastic Job Derek!!!

  9. Daniil Khramov April 26, 2017 at 9:14 pm - Reply

    excellent video!

  10. Gaurav Pangarkar April 26, 2017 at 9:15 pm - Reply

    I generally fasten the speed of any tutorials on YT
    but here for the first time i have to slow down the speed

  11. Michael Hartman April 26, 2017 at 9:16 pm - Reply

    Good job. Thanks. liked.

  12. anamaxy101 April 26, 2017 at 9:17 pm - Reply

    At 41:12 when I execute the command it gives me this error:

    return("{} is {} cm tall and {} kilograms and says {}. Their owner is {}".format(self.__name,
    AttributeError: ‘Dog’ object has no attribute ‘_Dog__name’

    I copied Derek identically (well I thought I did) and my cat example worked fine in the super class, anybody know what this means or what I have done wrong?

  13. tftm April 26, 2017 at 9:17 pm - Reply

    After I learn Python, what other programming language should I move onto?

  14. NAlslow April 26, 2017 at 9:21 pm - Reply

    Bad tutorial, way too fast..

  15. Cyrule Cyrule April 26, 2017 at 9:21 pm - Reply

    This person introduces a command, says "you’re going to use this a lot" and moves on without explaining it.

  16. Milan R April 26, 2017 at 9:24 pm - Reply

    (-.-ゞ

  17. Dennis Zed April 26, 2017 at 9:24 pm - Reply

    Very useful . . clear and quick! Thanks very much for this! Suggestion: more of the same for Pandas?

  18. ANTHONY EVERHART April 26, 2017 at 9:26 pm - Reply

    what about set in python you didn’t say you was going to tallk about them why

  19. s baskaravishnu April 26, 2017 at 9:26 pm - Reply

    I very much congratulate you for sharing code used in video with us. Many thanks for that. It is very much useful to me. My warm regards to you.

  20. symphony April 26, 2017 at 9:28 pm - Reply

    what is the difference between.remove() and del for lists?

  21. zombiedude347 April 26, 2017 at 9:32 pm - Reply

    Most of the linux distros I’ve tried come preinstalled with a python package. Pretty nice.

  22. Zaid Chalabi April 26, 2017 at 9:32 pm - Reply

    im an engineer with an MBA and trying to get in the hedge fund business. they usually require strong programming knowledge
    python. C++. R
    you think this helps?
    thanks

  23. Jason Skywalker April 26, 2017 at 9:35 pm - Reply

    So by the end of this video,. I’ll be able to program my Blender Game?

  24. e.i mccool April 26, 2017 at 9:35 pm - Reply

    this is useless

  25. Sir. Meowsmith April 26, 2017 at 9:36 pm - Reply

    I got a python ad for this video and it wasn’t even treehouse.

  26. HUSSEIN OGAILI April 26, 2017 at 9:37 pm - Reply

    Awesome Vid Man !

  27. Adventure Gamer April 26, 2017 at 9:38 pm - Reply

    Who else got a ad about python programming?

  28. Mamun Rashid April 26, 2017 at 9:39 pm - Reply

    Thanks for this!

  29. Cesar Daniel Tamayo April 26, 2017 at 9:39 pm - Reply

    Really good tutorial!! Thank you very much!!

  30. bigchunk1 April 26, 2017 at 9:42 pm - Reply

    What the heck does "%s %s %s" do? at 7:08 ?

  31. Error inscript April 26, 2017 at 9:44 pm - Reply

    I still only get hello world, you lost me at name=derek etc.

  32. SkylinegodzillaBen April 26, 2017 at 9:47 pm - Reply

    Is pycharm on Linux? I want to use it in my raspberry pi

  33. reikantseone diretse April 26, 2017 at 9:47 pm - Reply

    this tutorial video is awesome, now understanding the language more. Thanks for this

  34. Vijoy Joseph April 26, 2017 at 9:48 pm - Reply

    you are a perfect teacher. thnx

  35. David Sierpinski April 26, 2017 at 9:50 pm - Reply

    From September to now (April 2017) we learnt input commands arrays arithmatic calculations while statements if elif and else statements, and some other stuff like iteration and other things I can’t remember you should teach at our school honestly the teacher isn’t that good I’ve tought myself import turtle and subroutines in 1 day in school we spend 5 lessons on arrays it’s so easy I’m not learning anything because I need a challenge

  36. SUMIT SUMAN April 26, 2017 at 9:51 pm - Reply

    Which IDE software and window are you using?

  37. Malcolm Aniag April 26, 2017 at 9:55 pm - Reply

    I have a problem. There is no run tool window for me. I used the shortcut given "ALT (+) 4" but nothing happens. And then I looked for it under "View -> Tool Windows" but still nothing. Could you help me please? I’d love to learn Python.

  38. Conquistador Replay April 26, 2017 at 10:02 pm - Reply

    This is like a revision for someone who just learned python. Not for beginners maybe, they might get confused…. anyways it helped me thanks .

  39. symphony April 26, 2017 at 10:03 pm - Reply

    this is probably the best tutorial I’ve seen for anything. clear, concise, no bullshit, you never repeat yourself. it touches on all the major points and functions, while adding just the right amount of examples to show their uses in context. other teachers and youtubers should follow suit in whichever subject they are teaching. thanks.

  40. shaikh mahdi April 26, 2017 at 10:04 pm - Reply

    why we use import random, import sys, import os?? and why is it important

  41. Alex Sere April 26, 2017 at 10:04 pm - Reply

    awwww Derek, did no one remebered your 30th birthday

  42. S A D V E R S A C E P I Z Z A 2 0 0 6 April 26, 2017 at 10:04 pm - Reply

    he said ‘ ‘ ‘ are multi line comments he’s wrong, they are multi line strings not comments.

  43. Tathagata Mondal April 26, 2017 at 10:05 pm - Reply

    This video is like a crash course of Python.

  44. SUMIT SUMAN April 26, 2017 at 10:05 pm - Reply

    I have reinstall windows 8.1 for some reasons, and when I installed Python 3.6.1 then, it shows error that"The program can’t start because api-ms-win-crt-runtime-I1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem."
    I have watched some videos in which it has told to install update from Microsoft Support, I have done it and install update but still it is showing above error.
    Please help me!!!

  45. Dylan Trainor April 26, 2017 at 10:05 pm - Reply

    During the For Loop section, he uses "for x" and "for y". What is the difference?

    >>> for x in [2,4,6,8,10]:
    print(x, ‘ ‘, end="")

    2 4 6 8 10
    >>> for x in [2,4,6,8,10]:
    print(y, ‘ ‘, end="")

    2 2 2 2 2
    >>> for y in [2,4,6,8,10]:
    print(x, ‘ ‘, end="")

    2 2 2 2 2
    >>> for y in [2,4,6,8,10]:
    print(y, ‘ ‘, end="")

    2 4 6 8 10

    Why does it result in this way? Printing x vs. x or y vs. y will create a full list print, but one vs. the other will only print the first value of the list?

  46. Someone Anonymous April 26, 2017 at 10:06 pm - Reply

    is a function with a bunch of stuff inside it an algorithm?

  47. ojus chugh April 26, 2017 at 10:07 pm - Reply

    Is it possible to create graphics in python idle?

  48. Kenneth Halstad April 26, 2017 at 10:07 pm - Reply

    looping
    print(x, ‘ ‘, end="")
    ^ SyntaxError: invalid syntax,
    name = sys.stdlin.readline() NameError: name ‘sys’ is not defined
    I type along with you, I get different results.

  49. codergopher April 26, 2017 at 10:07 pm - Reply

    Thanks this video helped us get started. We are up and running making games …and getting millions of views….some day….

  50. Tal Nir April 26, 2017 at 10:07 pm - Reply

    hi I wrote this code
    print("hello my name is Siri")

    print("what is your age")

    age = sys.stdin.readline()

    if age > 18 :
    print("you can drive now")
    else :
    print("you arent old ")

    and I get a eror
    if age > 18 :
    TypeError: ‘>’ not supported between instances of ‘str’ and ‘int’
    what can I do???

Leave A Comment

*