Python is a widely used high-level programming language. It is a programming language used widely in web development as well as analytics. This course is meant for beginner/intermediate students.
In this course, you will learn all about python programming starting from writing your first python program. The course is structured so that students learn through easy to follow examples.
If you are new to python programming or if you need to just brush up concepts, this is the course for you. No need to read pages of documentation when you can learn all about this programming language in just an hour through short and easy-to-follow lectures.
Variables act as "storage locations" for data in a program. Here we look at how to define variables and also cover concatenation of string variables.
One can interact with a user by taking input from the user. One of the ways to take input from the user is to use the input() function in python.
Another way to take input from the user is by reading data from a file. Data processing can be done in the program which can later be written back into a file. We look at how to read and write data from and to a file.
A function is a group of statements that together perform a task. In this module, we learn how to define functions and call these functions.
In the last lecture, we learnt how we can define functions. Here we learn how to define functions which accept optional functional arguments.
The if-else statement is the most basic of all control flow statements. It tells the program to execute a certain section of code only if a particular test evaluates to true. If the test evaluates to false, control jumps to the elif/else section of code. We look at an example to understand how if-else constructs work in python.
We look at examples to learn how break, continue statements control the flow of the program.
for loops is one of the ways to loop over iterable data structures. In this module, we will look at an example and use for loops to loop over the list data structure.
while loops is another way to loop over iterable data structure. We use the example from the last tutorial to loop over lists using while loops.
List is a data structure used to group together values. Here we cover the how to create lists and also look at list methods.
Dictionaries are important data structures in python. It is an associative array with key-value pairs where each key is unique. Here we look at how to create dictionaries and access values in dictionary data structure.
Stacks are last-in first-out data structures and queues are first-in first-out data structures. Lists can be used to implement both stacks and queues.
List comprehensions are a concise way to create lists. We cover the syntax and semantics of using list comprehensions to create new lists.
Tuples and sets are other important data structures in python programming. Here we cover how to create tuples and sets and what things we can accomplish using these data structures.
enumerate() and zip() functions help in looping over iterable data structures like list.
In this module, we look at how to define classes and create objects of defined classes.
Inheritance is used to indicate that one class will get most or all of its features from parent class. We work through an example to understand how inheritance works in python.
We look at the syntax to declare private variables and methods in this module.
Errors detected during execution are called exceptions. We learn how to handle exceptions using the try except block in python.
In this module, we will look at how to create iterators for iterable objects in python.
Generators are tools for creating iterators. We go over an example to learn how to use generator expressions.
Nisha has been teaching since her grad school years as a Masters student in Computer Science where she worked as a teaching assistant for numerous courses in programming. Currently, she works in the Elearning industry and also helps students with programming problems. Nisha has worked as a software developer for various firms prior to teaching and understands how important it is to have a good grasp over programming fundamentals.
During her grad school, she has gained experience in teaching and how to effectively communicate a concept to someone new to programming. Nisha has worked with numerous students ranging from beginner to advanced and understands the needs of both kinds of audience.