Python 2.7 Tutorial Part 1

Python 2.7 Tutorial Part 1

FavoriteLoadingAdd to favorites

Best Python Book :

Python Tutorial 2.5 – 2.7: I explain how to set up IDE and then explain the basics of programming in Python. By the time this tutorial is done you’ll be able be able to work with files, databases, network programming, chat systems, automated websites, GUI’s and much more. This will be the definitive Python tutorial. You asked for the best Python tutorial and I’ll do my best to give it to you.

The Code is here

By |2017-05-08T20:20:13+00:00May 8th, 2017|Python Video Tutorials|50 Comments


  1. Deepesh Maskara May 8, 2017 at 8:20 pm - Reply

    Thanks for the tutorials man,I learnt a lot of things from this and would recommend it to my friends too.
    Can I know what are the programming languages you know?

  2. Oridecon Bling-Bling May 8, 2017 at 8:20 pm - Reply

    i like how to skip all the installing stuff man, a lot of other video spent almost 5 to 10 minutes just to show how to install stuff …

  3. Ana Pavelić May 8, 2017 at 8:21 pm - Reply

    i have another problem,i dont know how to setup helloworld,please help

  4. Ana Pavelić May 8, 2017 at 8:21 pm - Reply

    hey,i have a problem downloading eclipse,it shows me different types:for java,for c….. Which one do i install??

  5. Nebula May 8, 2017 at 8:22 pm - Reply

    Can u Help me?

    I Already have a code but i dont know what to do with it. Im have no experience with coding but i dont know were i should paste the code. What do i open?

  6. Jaerico Jdam May 8, 2017 at 8:23 pm - Reply

    Great !!!!!

  7. Jayadeep Sasikumar May 8, 2017 at 8:25 pm - Reply

    Hi Derek. Is there any actual improvement in the efficiency if we do "from math import sqrt" instead of import math?

  8. himanshi acharya May 8, 2017 at 8:27 pm - Reply

    hello,I want to use fuzzy logic in python.i am not getting right way to start and installing some libraries for fuzzy logic.

  9. Matt Dathew May 8, 2017 at 8:28 pm - Reply

    some people got it right, not me. I java eclipse, but it looks different than yours. I managed to forge to PyDev, but the ‘preferences’ is too different. so i can’t connect my 2.7 to eclipse 

  10. Plistra May 8, 2017 at 8:28 pm - Reply

    Hi… I have a question – how do you not get confused with all these programming languages in your brain. Do you ever accidentally put some C code in a Java project on accident, or something? That’s something I will do endless amounts of times.

  11. Karthik Kamath May 8, 2017 at 8:29 pm - Reply

    i have installed python 2.7.7 and i’m tryin to get sys.argv in the form of a list. but no matter whatever arguments I pass in command line, only the program name appers in the list and nothing else :(. plz help

  12. Camilo Acosta May 8, 2017 at 8:31 pm - Reply

    Hi Derek, quick question: which version of eclipse should I download? the one for java, c, …? Thank you!

  13. Jerry Yang May 8, 2017 at 8:31 pm - Reply

    I’ve installed pydev but i cant find it in the Preferences. =

  14. shane watson May 8, 2017 at 8:32 pm - Reply

    can you please help me … i am using eclipse for python … how to print this Boolean answer (e.g True) … 
    a = None 
    a is None 

  15. Gianmarco P May 8, 2017 at 8:33 pm - Reply

    Ehi derek i have a 32-bit windows laptop, Where i can find a version for my laptop? thank you

  16. يوسف المطيري May 8, 2017 at 8:34 pm - Reply

    Your lessons are awesome,

  17. ASTV May 8, 2017 at 8:35 pm - Reply

    Why would you use a shitty Mac?!?!?!?

  18. Mohan Krishna V May 8, 2017 at 8:37 pm - Reply

    Hi Derek..I do not see python 3 tutorials of yours on youtube/newthinktank can you reference the link?
    and my actual question is, print type() command does not work for me..should I import something to make this work?
    By the way I am using Windows OS,Python 34 and PYDev

  19. Brian Pause May 8, 2017 at 8:39 pm - Reply

    I am gonna go through the whole thing tonight, this is awesome. 

  20. E30Sauce May 8, 2017 at 8:39 pm - Reply

    hey man, when i try to run eclipse, it comes up with an error to do with java, do you know anything about how to fix it ?

  21. Wieger Vos May 8, 2017 at 8:41 pm - Reply

    My pydev is installed, as done in the video… but for some reason pydev is not apearing in the drop down menu in preferences at 1’29" in the video. I’ve tried restarting the program, as well as reinstalling pydev, but it still doesnt appear. Can anybody help?


  22. ancap May 8, 2017 at 8:42 pm - Reply

    (I see everyone is using your first name)
    So Derek, i am very confused i just learned about this program. I wanted to see the kind of things you can do with but every video i seem to find is about 3hours long & i just got out of math midterms today and dont feel like using my brain. can you just clue me in all the things you can do with this program?

  23. 434x18 May 8, 2017 at 8:46 pm - Reply

    How could ever you say that murdering tool of a book is the Best Python Book? I think the first clue to it being a terrible learning resource begins with the author introducing it as a beginners book and then making it longer than most c++ books.
    I never managed past the first 100 pages though, which didn’t even have any programming so hopefully your tutorials will do. 90% of programming books really are terrible.

  24. arun May 8, 2017 at 8:47 pm - Reply

    crystal clear.. thanks derek

  25. poojitha gandra May 8, 2017 at 8:50 pm - Reply

    hello derek banas how can we write inputs that we have given, in the same output line suppose I gave inputname=raw_input("enter first name")lastname=raw_input("enter last name") I need the output as hello derek banas gud morning

  26. Falcone45 May 8, 2017 at 8:51 pm - Reply

    So, is this is an intro for doing mathematical computations in Python.

  27. Michael Abel May 8, 2017 at 8:51 pm - Reply

    Thanks for the intro to python. I’m developing a Raspberry Pi home automation/surveillance project that uses Python and have slapped toegther some code that works (LOL), but I really want to understand the language to exploit it. I’m coming from a Java, C and mainframe cobol/assembler background, so I’m hoping that picking up Python will be pretty straight forward. I am finding it very understandable – reminds me of pseudocode from my college days. Look forward to your other videos in the series. I’m really interested in knowing the full gamut – basics, classes, http server, mutli-threading, etc. Glad I found your channel.

  28. Angel Rivas May 8, 2017 at 8:51 pm - Reply

    could u put a link to the websites for pydev, and eclipse, i tryed looking for it myself but i come up with different stuff, and i dont want to get the wrong one.

  29. Greg Lumley May 8, 2017 at 8:53 pm - Reply

    Great tutorial, to the point no "ums" and "aaaahs" thank you!

  30. SidTheSloth May 8, 2017 at 8:56 pm - Reply

    Should I learn this or version 3?

  31. Greg D. Ogaz May 8, 2017 at 8:56 pm - Reply

    before I watch your videos I noticed you are using a mac will it be any different if I’m using windows

  32. Larin Collins May 8, 2017 at 8:57 pm - Reply

    How do you simply go to the next line to write more code? I press enter and it tries to run the code.

  33. Yazılım Bilimi May 8, 2017 at 8:57 pm - Reply

    Hi Derek,do you use  a microphone while recording these videos ?

  34. the queen eagle May 8, 2017 at 8:59 pm - Reply

    is it the version 2.7.11
    and i want ask you how many programing languages i use cause im still biggner or did i will try them all ? or try just one ?

  35. Watch Me May 8, 2017 at 9:00 pm - Reply

    What OS is good for Programming and enjoying internet…

  36. Kareem ABNORMAL May 8, 2017 at 9:00 pm - Reply

    but why doesn’t mine show the run button?

  37. streethustla24 May 8, 2017 at 9:01 pm - Reply

    how do u do that on windows?

  38. Tim Hawkins May 8, 2017 at 9:01 pm - Reply

    Your the coolest dude on the planet!!!

  39. Raj Gaurav May 8, 2017 at 9:08 pm - Reply

    you are best for computer sciece help, can u solve this please ineed urgently. A farm has chickens and rabbits. Farm owner counts number of heads and legs and wishes to find out number of chickens and rabbits? Write a program to solve this classic ancient Chinese puzzle. If farm owner counts 35 heads and 94 legs. Calculate and print how many rabbits and chickens he has?

  40. christopher 2899 May 8, 2017 at 9:10 pm - Reply

    I’m a second year high school student and i am learning python an i couldn’t understand a think about programming thank you so much Derek u made me re thing about becoming a programmer

  41. Matthew Smith May 8, 2017 at 9:10 pm - Reply

    Hey Derek… I just wanted to say thank you for what you do. I have experience programming in the C family of languages and was having a real hard time finding python tutorials that weren’t geared toward complete programming novices and extremely tedious… huge relief when I came across your tutorials. Everything straight to the point. I’ve learned python so fast because of you. Seriously, thanks for taking the time to make these, from coder to fellow coder I appreciate it.

  42. Rafael Gilman May 8, 2017 at 9:10 pm - Reply

    trying to do the print type(integerEx) but it`s returning a  
      print type(integerEx)
    SyntaxError: invalid syntax
    and i`m using 3.XX something version, what is wrong with the syntax?
    and Thank you  in advance

  43. Rajesh Maddala May 8, 2017 at 9:13 pm - Reply

    finally! a decent python 2.7 tutorial series in youtube.. thanx a ton Derek 🙂

  44. Antanas Anuzis May 8, 2017 at 9:13 pm - Reply

    ok i hew one specific request for python can you create games? using PyGame :)? Or mobile app for android 🙂

  45. Jeff van Geete May 8, 2017 at 9:17 pm - Reply

    I have everything installed and am with you up to selection of the interpreters (1:30). However, my left window (PyDev Package Explorer) doesn’t have anything in it (you start the video with those items already loaded) and I’m not able to type anything in the main window; that’s also missing the 

    I found the Cheat Sheet for setting up the, which is orienting me to the package explorer window (somewhat) but I’m still unsure how to get to the starting point that left-most window shows…(the cheat sheet has me making a .java project – where I can’t find the main() checkbox – and you have a file open)

  46. Rohan Arcot May 8, 2017 at 9:18 pm - Reply

    Hello Derek, I am just asking, u know many programming languages.. did u use all of them in ur life?

  47. GenuineJokes May 8, 2017 at 9:18 pm - Reply

    it seems i have every thing working.
    but i simply cannot run any code to make it appear on the console.
    idk what button you press to make it run because "Enter" just makes another line.
    when i press the "Run" icon i get messages about an Ant build program or something.
    eclipse is so confusing that i don’t know if i’m doing anything right.
    i dragged and dropped a .py file into the workbench because i did not know how to create one.
    you didn’t explain eclipse, or how to get the console to appear.
    i’ve never been so overwhelmed by a program

  48. Jean Yang May 8, 2017 at 9:19 pm - Reply


  49. Cherry Pauper May 8, 2017 at 9:19 pm - Reply

    Pycharm is much better.

  50. Jessica Fong May 8, 2017 at 9:19 pm - Reply

    Love your videos Derek! Clear and straightforward and always give me just enough for what I need. Keep up the good work!

Leave A Comment