Python Programming: The Bad Tutorials

Video Lectures

Displaying all 53 video lectures.
Lecture 1
Installing Python
Play Video
Installing Python
Welcome!

In this tutorial we'll see how we can install the python interpreter on Windows and we'll also discuss some cool and important features of Python.
Lecture 2
Running Code in Python
Play Video
Running Code in Python
In this tutorial we'll see how we can use the python command prompt, the Windows command prompt and the python GUI application to execute code.

We'll also build our first python script and make the classic 'Hello World' application in python.
Lecture 3
Comments in Python
Play Video
Comments in Python
In this tutorial we'll see how we can include comments in python code.

We'll also see the correct syntax to execute multiple statements on a single source file line.
Lecture 4
Variables in Python
Play Video
Variables in Python
In this tutorial we'll see how we can create variables in python and how we can store different kinds of values in python variables.
Lecture 5
Numbers & Strings
Play Video
Numbers & Strings
In this tutorial we'll talk a bit about numbers and strings in python. We'll talk about both data types in lot of detail later in the course...this is just a heads up!
Lecture 6
Lists & Tuples
Play Video
Lists & Tuples
In this tutorial we'll check out how we can create lists and tuples in python. We'll also talk about two important differences between lists and tuples.
Lecture 7
Dictionaries
Play Video
Dictionaries
In this tutorial we'll talk about the dictionary data type in python and see how dictionaries allow us to create complex key-value relationships between elements.
Lecture 8
Data Type Conversion
Play Video
Data Type Conversion
In this tutorial we'll check out some built in methods to convert values from one data type to another.
Lecture 9
Arithmetic & Comparison Operators
Play Video
Arithmetic & Comparison Operators
In this tutorial we'll see how we can use several arithmetic and comparison operators on numeric values.
Lecture 10
Bitwise & Logical Operators
Play Video
Bitwise & Logical Operators
In this tutorial we'll explore two more categories of operators in python. We'll talk about the bitwise operators and the logical operators.
Lecture 11
Membership & Identity Operators
Play Video
Membership & Identity Operators
In this tutorial we'll see how we can use the 'IN' membership operator to see if a value is present in a string or a list and how we can use the 'IS' identity operator to see if two variables have the same value as well as the same data type.
Lecture 12
Operator Precedence
Play Video
Operator Precedence
In this tutorial we'll see what operator precedence means and we'll talk about how we can use parantheses to avoid knowing the operator precedence chart in python.
Lecture 13
The IF statement
Play Video
The IF statement
In this tutorial we'll check out how we can make decisions in python using the IF statement.
Lecture 14
The ELSE Statement
Play Video
The ELSE Statement
In this tutorial we'll check out how the Else construct works in Python
Lecture 15
The ELIF Statement
Play Video
The ELIF Statement
In this tutorial we'll check out the ELIF decision making construct in Python.

Thanks for watching the tutorial.
Lecture 16
Nested IF-ELSE Statement
Play Video
Nested IF-ELSE Statement
In this tutorial we'll check out an interesting application of the nested if-else statement using a programming example.
Lecture 17
The WHILE Loop
Play Video
The WHILE Loop
In this tutorial we'll check out the while loop in python.
Lecture 18
The FOR Loop
Play Video
The FOR Loop
In this tutorial we'll check out the FOR Loop in python and see how it is different from the WHILE Loop.
Lecture 19
The Break Statement
Play Video
The Break Statement
In this tutorial we'll see how we can get out of a loop prematurely using the break statement.
Lecture 20
Application of Break Statement
Play Video
Application of Break Statement
In this tutorial we'll check out an interesting application of the Break Statement in Python.
Lecture 21
Nested Loops
Play Video
Nested Loops
In this tutorial we'll learn to use nested loops in python along with the break statement to display prime numbers as well as non prime numbers between 2 and 100.
Lecture 22
The Continue Statement
Play Video
The Continue Statement
In this tutorial we'll see how we can skip iterations of a loop using the continue statement in python.
Lecture 23
Numeric Functions (Part-1)
Play Video
Numeric Functions (Part-1)
In this tutorial we'll check out ceil(), abs(), sqrt(), floor() and exp() methods in python. We'll also see how to import a module in a shell session to use its member functions.
Lecture 24
Numeric Functions (Part-2)
Play Video
Numeric Functions (Part-2)
In this tutorial we'll continue our discussion on numeric functions and check out the following methods-:

1. LOG() - To compute natural logarithm
2. LOG10() - To compute logarithm to base 10
3. MAX() - To determine the maximum value in a set of numbers
4. MIN() - To determine the lowest value in a set of numbers
5. ROUND() - To round off numbers to required number of decimal places
Lecture 25
Numeric Functions (Part-3)
Play Video
Numeric Functions (Part-3)
In this tutorial we'll check out a few more numeric functions. We'll see how we can compute the hypotenuse of a right angled triangle, split a fractional number into integer and fractional parts, convert degrees to radians and vice-versa and also to raise a number to a power.
Lecture 26
String Functions (Part-1)
Play Video
String Functions (Part-1)
In this tutorial we'll begin our discussion on string functions and see how we can perform some cool operations on characters using built in string functions in python.
Lecture 27
String Functions (Part-2)
Play Video
String Functions (Part-2)
In this tutorial we'll check out some more interesting string functions in python.
Lecture 28
String Functions (Part-3)
Play Video
String Functions (Part-3)
In this tutorial we'll check out more string functions and wrap up our discussion on strings in python.
Lecture 29
List Functions (Part-1)
Play Video
List Functions (Part-1)
In this tutorial we'll check out a bunch of list functions.
Lecture 30
List Functions (Part-2)
Play Video
List Functions (Part-2)
In this tutorial we'll check out a few more list functions and complete our discussion on lists in python.
Lecture 31
Tuple Functions
Play Video
Tuple Functions
In this tutorial we'll see how we can find out the number of elements in a tuple and the maximum and minimum value in a tuple using the len(), max() and min() methods respectively.
Lecture 32
Dictionary Functions
Play Video
Dictionary Functions
In this tutorial we'll check out few of the most interesting and useful dictionary functions in python.
Lecture 33
Date & Time Functions (Part-1)
Play Video
Date & Time Functions (Part-1)
In this tutorial we'll see how we can generate time stamps, view current date and time using the time(), localtime(), asctime() and mktime() methods of the time module in python.
Lecture 34
Date & Time functions (Part-2)
Play Video
Date & Time functions (Part-2)
In this tutorial we'll see how we can view the calender of a month, a year, check if a given year is a leap year or not and put a script to sleep using the month(), calendar(), isleap() and sleep() functions respectively of the calendar and time modules in python.
Lecture 35
User Defined Functions
Play Video
User Defined Functions
In this tutorial we'll learn to create functions in python. We'll see how functions can make our lives so much simpler and we'll talk about the return statement in some detail as well.
Lecture 36
Pass by Reference vs Value
Play Video
Pass by Reference vs Value
In this tutorial we'll see how values are passed to functions in python. We'll understand the difference between passing by reference and passing by value.
Lecture 37
Variable Length Arguments
Play Video
Variable Length Arguments
In this tutorial we'll see how python allows functions to accept variable length arguments.
Lecture 38
Anonymous Functions
Play Video
Anonymous Functions
In this tutorial we'll check out Anonymous Functions in Python.
Lecture 39
Global & Local Variables
Play Video
Global & Local Variables
In this tutorial we'll see how local variables are different from global variables and how python distinguishes between the two.
Lecture 40
Updating Global Variables
Play Video
Updating Global Variables
In this tutorial we'll see how we can update global variables in python using the 'global' keyword from within functions.
Lecture 41
Modules
Play Video
Modules
In this tutorial we'll understand what a module in python is, we'll create one, import it and use it as well.
Lecture 42
Handling Files
Play Video
Handling Files
In this tutorial we'll see how we can create text files in python and also read content from text files.
Lecture 43
Renaming & Deleting Files
Play Video
Renaming & Deleting Files
In this tutorial we'll check out the rename and remove methods of the 'OS' module to rename and remove text files in python.
Lecture 44
Managing Directories
Play Video
Managing Directories
In this tutorial we'll learn to use some more OS methods to create, switch to and remove directories in python.
Lecture 45
Exception Handling
Play Video
Exception Handling
In this tutorial we'll touch upon the subject of exception handling and see how it's done in Python.
Lecture 46
Object Oriented Programming (Part-1)
Play Video
Object Oriented Programming (Part-1)
In this tutorial we'll learn to create classes in python and also to access the member variables and functions of a class through objects.

It's a long tutorial and I'd suggest that you guys pause it every few minutes, copy the code and try to understand the program in bits.

In case you have doubts, please post comments and I'd be more than happy to help.
Lecture 47
Object Oriented Programming (Part-2)
Play Video
Object Oriented Programming (Part-2)
In this tutorial we'll see how we can create objects as elements of a list. We'll also mess with the constructor function a bit.
Lecture 48
Install MySql Connector for Python
Play Video
Install MySql Connector for Python
In this tutorial we'll begin our discussion on using python to interact with MySql databases. We'll download and install the MySql connector for python and execute a few simple SQL statements at the end of the tutorial.
Lecture 49
Create MySql Table Using Python
Play Video
Create MySql Table Using Python
In this tutorial we'll create a database in MySql using Python.
Lecture 50
Insert Data Into Tables
Play Video
Insert Data Into Tables
In this tutorial we'll learn to populate a MySql table and also to retrieve data from it and display in the python shell.
Lecture 51
Update MySql Tables
Play Video
Update MySql Tables
In this tutorial we'll see how we can update MySql tables and also how we can delete data from MySql tables using python.
Lecture 52
Sending Email
Play Video
Sending Email
In this tutorial we'll learn to connect with the Gmail SMTP Server and send a mail through an account I created for this tutorial.
Lecture 53
Conclusion
Play Video
Conclusion
Thank You so much guys for sticking with me in the course! I have enjoyed really very much during the course and I hope you guys have had some fun too.

Of course, if you've got doubts, post them here and also do subscribe to my channel if you guys wish to stay updated with my most recent work.