Learn to Program 19

Learn to ProgramIn this part of my Learn to Program series I will show how to use SQLite with Python. We’ll cover connect(), cursor(), execute(), commit(), rollback(), fetchall(), fetchone(), Select, Data Types, Create, Insert, Update, Delete, Alter, Backing up the Database and more.

Here is my SQLite Tutorial which covers SQLite in massive detail. All of the code and a transcript follows the video below. Continue reading Learn to Program 19

Interactive Videos

Learn to ProgramI get asked all of the time to make my videos more interactive, so the fine people over at Enkato helped me set up my current Learn to Program series with quizzes and other tools to help. You can check out the videos here 100% for free.

I think this may be a new way to present my videos that is beneficial to everyone and still free. Tell me and them what you think about this idea? If everyone likes this idea I’ll continue setting up videos at Enkato. I’m not sponsored by Enkato, but instead I’m just trying to help them out in exchange for them to make a better learning experience for everyone.

Learn to Program 17

Learn to ProgramIn this part of my tutorial I continue covering Regular Expressions. We’ll look at Back References, Back Reference Substitutions, Look Ahead, Look Behind, and Negative Look Ahead & Behind. These are thought to be confusing and I hope to clear them up.

If you missed previous parts of my Regular Expression tutorial they are here Part 1 and Part 2. The code and transcript are found below. Continue reading Learn to Program 17

Learn to Program 15

Learn to ProgramIn this video I start teaching about Regular Expressions. Regular expressions allow you to locate and change strings in very powerful ways. The awesome thing about them is they work in almost exactly the same way in every programming language. We’ll learn to match strings, return all matches, and use ., [ ], [^ ], compile, substitute, \d, \D, \w, \W, \s, \S, +, { }, and much more.

If you missed previous parts of this tutorial start here. All of the code and a transcript of the video follows below. Continue reading Learn to Program 15

Learn to Program 14

Learn to ProgramIn this part of my learn to program series with Python we’ll focus 100% on threads. We’ll learn about sleep(), strftime(), the Threading Module, Creating Threads, activeCount(), enumerate(), Subclassing Threads, run(), start(), is_alive(), getName(), setName(), join(), Synchronizing Threads, acquire(), release(), Lock() and more.

If you missed previous parts of this tutorial start here first. All of the code and a transcript from the video follow the video below. Continue reading Learn to Program 14

Learn to Program 13

Learn to ProgramIn part 13 of my Learn to Program tutorial we’ll be covering some very powerful Python tools. We’ll look at Iterables, List Comprehensions, Generator Functions and Generator Expressions. List Comprehensions have the power of Map and Filter all in one place. Also there are a bunch of problems for us to solve.

If you missed the previous videos they start here. A cheat sheet as well as a transcript from the video follow the video below. Continue reading Learn to Program 13

Learn to Program 12

Learn to ProgramThis tutorial we be a ton of fun because we’ll be exploring how to pass and return functions in other functions. We’ll dynamically create functions. Then we’ll cover Lambdas, Map, Filter, Reduce and Function Annotations. Of course, there will be a bunch of problems for you solve along with the solutions.

All of the code and a transcript for the video follows the video below to help you learn. Continue reading Learn to Program 12

Learn to Program 11

Learn to ProgramIn this part of my Learn to Program series I’ll cover many questions I received about Static, Custom Modules, From, Exception Handling, Custom Exceptions, and much more. We will also have some problems to solve to improve our problem solving ability. New videos every Saturday and Wednesday morning!

If you missed any of the previous videos, the series starts here. All of the heavily commented code and a transcript for the video follows the video below. Continue reading Learn to Program 11

Learn to Program 8

Learn to ProgramWelcome to part 8 of my Learn to Program series. This time we’ll cover how to read and write files. I’ll answer a question I received about recursive functions. We’ll investigate what a Tuple is. And, of course we’ll work our way through problems so we can get better at solving programming problems.

All of the code follows the video below. It is heavily commented and is meant to be used to aid in the learning process. Continue reading Learn to Program 8

Learn to Program 7

Learn to ProgramIn this part of the Learn to Program tutorial series we will look at Dictionaries and one of the most confusing topics in programming being Recursive Functions. A Recursive Function is a function that calls for itself to execute. We’ll generate Factorials and Fibonacci numbers with recursive functions to help make them make more sense.

All of the commented code follows the video below. Continue reading Learn to Program 7

Learn to Program 6

Learn to ProgramIn this part of my Learn to Program series we cover one of the most important topics which is lists.We’ll look at numerous list functions, how to sort lists with the Bubble Sort, List Comprehensions, simple Debugging and much more.

This tutorial series is all about learning how to solve problems, and those problems get more complex with each tutorial. Make sure you watch the first part before moving on. The code follows the video below. Continue reading Learn to Program 6

Learn to Program 5

Learn to ProgramIn this part of my Learn to Program series I’ll focus on functions. We’ll see what local and global variables are. We’ll solve algebraic equations. We’ll learn how to pass and return an unknown number of values into and out of functions. We’ll generate prime numbers. And, we’ll see how to create small functions that make our code easier to understand.

All of the code follows the video below. Continue reading Learn to Program 5

Learn to Program 4

Learn to ProgramThis time in my Learn to Program series we’ll cover many string functions and how they can help use solve complex programming problems. We’ll do more with exceptions. We’ll start to explore lists. We’ll create our first function. And, we’ll create an acronym generator and explore the basics of encryption.

If you missed the first video watch it first. All of the code follows the video. You can expect a new video every Saturday and Wednesday because you guys have asked me to stay on a schedule. Continue reading Learn to Program 4

Learn to Program 3

Learn to ProgramIn this part of my Learn to Program tutorial I will continue teaching how to program through solving programming problems. We will cover Exception Handling, Do While Loops, the Math Module, the Decimal Module, Strings, and a whole lot more.

If you missed the first part watch it first or you may be confused. All of the code follows the video below. The goal is to learn how common problems are solved so don’t worry if you get them wrong. Continue reading Learn to Program 3

Learn to Program 2

Learn to ProgramIn this tutorial we will cover more complicated problems while covering how looping works in Python. We’ll cover for, range, floats, order of operations, while, break, continue and more. Watch the Learn to program if you missed it.

I’m covering the many different types of common problems you will see when programming and with practice you’ll vastly improve at solving any problem. Don’t worry if you get anything wrong because that is part of the learning process. The code follows the video below. Continue reading Learn to Program 2

Learn to Program

Learn to ProgramMany people asked me to make a tutorial that teaches how to program and so here it is. I’ll be teaching how to program through problem solving which I think is the best way to learn. Python is the best first language and so I’ll use Python 3.5 to teach. And, based on your requests I will use PyCharm in this tutorial series.

I cover receiving input, printing to the screen, doing math, comparison operators, logical operators, if, elif, else and a whole lot more. The code and a transcript of the video can be found below to help you learn. Continue reading Learn to Program