Code Python

If you wish to learn to code python programs then we have several video series to improve your python coding skills. For absolute beginners there is the python beginner video series that is followed by a series of simple python examples that covers the second level of simple python concept and more advanced concepts.

To improve your coding skills why not try the python fun games series or something that will really improve your resume or CV is stating you can code regular expressions in python.

Beginner

Learn the basics of the python programming language. This is a series of videos for the absolute beginner to python. From downloading python, using the IDLE and running programs, to learning the programming concepts that learners need to be able to learn how to code in python.

Beginner

Many people know how to use Scratch and want to learn a programming language like python.

You can use your scratch programming skills to transfer knowledge of programming concepts like loops and variables with a little help.

Simple Python

There are many python tutorials for the absolute beginner but not much after. This series of videos shows some more basic programming concepts in python and looks at other more advanced topics. The material is still simple and suitable for a beginner therefore follows from the beginner course.

Python Fun and Games

This series of videos helps learners improve their programming skills by developing fun games in python. This includes the games of acey deucey, hangman, rummy, battleships and a game called play your cards right. As these involve some random element they make use of the python module random and use the shuffle feature.

Python Regular Expressions

Regular expressions are a great asset for your programming skills. This series of videos looks at regular expressions in python and assumes the learner is a beginner to regular expressions but not new to python.

start Python :
for beginners

This is perfect if you are new to python and you wish to start python programming. How to learn python programming is a series of videos to help you with your first steps and learning the most important programming concepts in python. Designed for the python beginner and available so you can learn python for free.

Before you start coding in python

Before you start coding it is useful to know what is python and how to download and install it.

What is Python?

Python Coder

If you want to learn to code, you need to know what is Python. This video is part of a Python tutorial for beginners and explains what is the Python programming language. Hi, my name is Dr Codie and I am the python coder. Codie means ‘helpful person’ and we want to help you not just learn python but to enjoy learning python. If statements, loops, lists and functions are all things we see in real life and are not complicated. But when you learn to code Python, they may seem difficult. So it is good to understand the concept before you try to understand the code. That is what this series will try to do.

How to start with python

Python Coder | # Beginner | Starter

Python tutorial for the download, installation and use of python 3 on Windows. To install Python you need to know information such as your operating system and if you have a 32 or 64-bit computer, it is good to know about the Python version, path and file name which all help to learn python. Download and install guides are complimented by a video showing the use of .py and the path to drag a firstprogram.py file off the desktop into the command prompt to run the file. The extra section includes what is Python and what is a programming language.

Beginning to code in Python

The first things to do when you want to run a simple python program. Good luck!

Python basics – using the IDLE

Python Coder | # Beginner | IDLE

Python IDLE tutorial for beginners. To learn the Python programming language it is good to know about the Python interactive prompt. Print statements, types, math, operators, concatenation are all included in this short demonstration

Variables in python

Python Coder | Beginner # | Variable

In almost every single Python code you write, you will have variables. Variables store data and can change, hence their name. Have fun! If you have any questions, please let me know in a comment. Learn Python programming with this Python tutorial for beginners a Complete Python Tutorial with examples. This video includes what is a variable, and why do we need them, and how to assign value to a variable.

Python Logic

The programming concepts are important but it is the ability to use them using logic that will improve your python coding skills.

Simple python logic

if statements

Python Coder | Beginner | # Learn Simple Logic

Learn Python – simple, essential new skills. Would you like someone to take the time to explain coding clearly, so it is easy to understand? What is Simple logic? Like true or false. If hungry – eat. Simple This Python tutorial for beginners introduces how to code logic. We introduce simple logic using the if statement. This is perhaps the most important skill you need to learn if you want to learn how to code, such as coding using Python. Over time, you will develop your skills and this simple logic will help you complete more complicated and exciting goals!

Simple python logic 2

if-else & if-else-elif statements

Python Coder | Beginner | #2 Logic

Would you like someone to take the time to explain coding clearly, so it is easy to understand? What is logic? We take the time to explain the concepts used in coding that require logical thinking, show the code, set useful exercises, explain the solutions and clear up the terms. This includes If statements, if else statements, if elif else statements, nested if statements ad using ‘not’.

Simple python logic – practice

Python Coder | Beginner | #2 Logic in Code

Learn Python – simple, essential new skills. Logic 2 part two. Would you like someone to take the time to explain coding clearly, so it is easy to understand? What is logic? We take the time to explain the concepts used in coding that require logical thinking, show the code, set useful exercises, explain the solutions and clear up the terms. This includes If statements, if else statements, if elif else statements, nested if statements ad using ‘not’. This Python tutorial for beginners introduces how to code logic. We introduced simple logic using the if statement and now move on to the other uses of the if statement. This is perhaps the most important skill you need to learn if you want to learn how to code, such as coding using Python. Over time, you will develop your skills and this simple logic will help you complete more complicated and exciting goals!

Simple python logic – code

Python Coder | Beginner | Learn Simple Logic # | Code

This is the code that accompanies the video on learn simple logic for the Python tutorial for beginners. This Python tutorial for beginners introduces how to code logic. We introduce simple logic using the if statement. This is perhaps the most important skill you need to learn if you want to learn how to code, such as coding using Python. Over time, you will develop your skills and this simple logic will help you complete more complicated and exciting goals!

Python Loops

The loop is a simple but important programming concept and used extensively in a python coder’s career.

Python loop

Python Coder | Beginner #| Loop

Learn Python programming language with this Python tutorial for beginners. This video uses the if statement to introduce hoe to use a for loop.

Python for loop and while loop

Python Coder | Beginner # | Loops

Learn Python with this Python tutorial for beginners. Python loops includes how to use a for loop and a while loop.

Python lists, strings & functions

Python lists are as they sound a list of items. Functions are important in python as you often reuse code and breaking the code into manageable parts is also crucial. There are built-in functions in python, such a for strings and lists, whilst both strings and lists can be split into parts called slicing.

Lists in Python

Python Coder | # Beginner | Lists

Learn Python with this Python tutorial for beginners. Python lists explains what a list is and how you can use the index to access the list elements.

Python list slicing & built-in functions

Python Coder | Beginner | List Slicing | Built-in Functions

Learn Python with a Python tutorial for beginners. Python lists explains some basics, slicing lists and the built-in list functions such as sort, append, extend, insert, len, clear and reverse.

Python strings and built-in functions

Python Coder | Beginner | # Strings | Built-in Functions

This Python tutorial for beginners explains strings, string basics like concatenation, string indexing, string slicing and string functions like upper, lower, replace and find. Simple explanations, python code and practice questions and answers.

Python functions

Python Coder | Beginner | Functions Starter

What are functions? Learn Python functions in this tutorial for beginners. Would you like someone to take the time to explain functions clearly, so it is easy to understand? This Python tutorial for beginners is an introduction to functions. The starter includes an explanation of functions and includes how to pass to functions, how it relates to functions in mathematics , simple examples, code and practice questions and answers.

 

Python challenges

To improve your python skills it is necessary to complete small tasks to learn how to code in python and to remember the syntax of the python code. Here are some videos to help you challenge yourself and what you have learnt in the python lessons.

Python beginners challenge

Python Coder |Beginner # | Challenge

Learn Python programming language with this Python tutorial for beginners. This video uses the if statement, a loop and logic to meet a challenge.

Python menu challenge

Python Coder | Beginner # | Try this Challenge

This Python tutorial for beginners series has included conditionals / if statements, loops, functions, user input and other python basics. Now it is time to you to challenge your knowledge with this second challenge. Create a menu system. As a coder, you will need to make sure your program does not crash so we introduce error handling in the form of try and except. Design your solution first and then write the code. Enjoy the challenge and good luck!

Python multiple choice questions

Python Coder | Beginner # | Exercises | Challenge

This Python tutorial for beginners series has covered the basics of Python for a new coder, now it is time to test your knowledge with 20 multiple choice questions and 5 code questions. This is designed to help with your coding and to be used for exam preparation. Good Luck!

Simple Python programs

A range of videos that cover simple python programs in the next level of learning python after the beginners series.

python data, files & dictionaries

Three videos explaining how to use a python dictionary, using files in python and how to use a dictionary to sore data from files.

Python Coder | Simple | What is a Dictionary

This Python tutorial is for new coders to Python but experiences or not, want an easy and simple explanation of some of the concepts in Python. This simple series starts with the dictionary, also known as an associative array. Despite is ease of use it can be confusing to students that have not met this data type before. It is very useful though. In fact, in Perl the associative array was used to build objects such that an object was an associative array inside another associative array. Python continues with this simple but effective data structure.

Python Coder | Simple | How to open | read a file

How to open and read a python file in simple English. Using a file handle a python coder can access each line of file text easily. Watch this simple explanation of how to read file text using the Python programming language.

Python Coder | Simple | File | Data | Dictionary

How to open and read a python file into a dictionary or a data structure of your choice. Watch this simple explanation of how to read file text using the Python programming language. Each line contains two values separated by a comma, in this video the data can go into a dictionary, lists or a list of tuples.

python concepts

Two videos explaining how to use objects in python and how to use the extensive python libraries.

Python Coder | Simple | Learn | Objects | Classes

Python Objects and Python Classes. A simple introduction to objects and classes in Python. Includes class methods and the init method.
 

Python Coder | Simple | Libraries | Packages | Modules

To reuse your code, and use the code of others, it is important to understand libraries, packages and modules.

Python data structures

Two videos explaining how to use python data structures.

Python Coder | Simple | Data Structures | Explain | how | what | when

Python Data Structures – what do you use, how do you use them, and when? This is the first part of using data structures to store items. It uses an example of a maze to show how to use a stack to solve the problem.
 

Python Coder | Simple | Data Structures | Explain | how | 2

Python Data Structures – part 2. How to use Python data structures including dictionaries, tuples, stacks, queues, trees and graphs. Includes the get function for dictionaries, and how to count items

Python databases

Two videos explaining how to use python to connect and update databases

Python Coder | Simple | Menu | Connect | Database

Python Database connection inside a menu. This video is in two parts: An introduction to databases and how to use python to connect to the database, using SQLite, and the second part shows how to download, install and set up the SQLite database and ODBC drivers.
 

Python Coder | Simple | Database | Update

Python code to update databases. The second video that connects to a database using the Python programming language, SQL and SQLite.

Python Similar - n-grams

In text processing determining if texts are the same or similar is important for various reasons. Two methods of evaluation include the use of n-grams and the use of both precision and recall.

Python Coder | Simple | Similar | Precision | Recall

Precision and recall in python – how to compare file texts to see how similar two texts are using both precision and recall. An explanation of precision and recall and example code showing how to open two files, prepare the texts, remove stop words, and deal with multiple words to find the amount of common words and then calculate the precision and recall to determine how similar is the second text.
 

Python n-grams part 2 – Python Coder | Simple | Similar | Ngrams | Code

How to compare file texts to see how similar two texts are using n-grams. The first video included an explanation of n-grams and set a challenge for the viewer to write the code. This second video will go through the answer.

Python Alignment

Alignment is an area that we have tackled using python and is a simple python program showing how logic can help design what can be seen as a complex task.

Python Coder Simple Align – Python Code Examples [2020]

Here is a coding example in python that compares strings in two lists and aligns the lists using a string similarity score. Continue with the alignment with align, bisect and insort.
 

Python Coder Align II – Python Code Examples [code to music]

Here is a coding example in python that fills the gaps after the python coder simple align video aligned two lists using a string similarity score. Using a list of tuples then gaps are filled using the insort function from the bisect module.

Python Fun and Games

Enjoy this series of videos that create fun games in python whilst improving your coding skills and programming logic

Introduction to random and shuffle in Python

The python fun and games series of videos starts with a simple introduction to the random element in games in python code with the use of the random module. In the first video some simple python examples using random show how we can code a coin toss of heads or tails, a dice or two dice, and to use the random element to give values to players in a game to give different winners for different races.

Python Battleships

A series of videos that develops python code to provide a game of battleships. A player can play against the computer and includes tactical play.

Acey Deucey in python

This is a great gambling game where players make a stake on a card being between two other cards. In python code the player must stake an amount of points on the turn of a card. As ace is high and two (deuce) is low there is the greatest chance of a win. Try it!

Rummy 7 card in python

This series creates a simple game of rummy called seven card rummy, although it is not so easy to code! This is a test of your logic skills and patience. Don’t worry the videos go through all of the logic and the code.

python Hangman

A simple program showing the hangman game in python.

Python
REGULAR EXPRESSIONS

Regular expressions are very handy when you are coding and in python regular expressions, sometimes called ‘regex’, are available to help in many tasks such as text processing, text filtering and text wrangling

Python re.search

Pattern matching in python uses regular expressions to search and find characters or patterns in text. This python regular expressions in simple English tutorial explains re.search that takes the regular expression (regex) and matches it in a body of text. There are many expressions so this first video in a series on regular expressions in python looks at characters, special characters and quantifiers. An example text is used with the same simple code with a simple change in the regular expression to show what text would be matched.

Regular expressions are a language format used in text processing. They are the main tool for searching, finding, extracting and substituting text when processing text. They can be used in many programming languages, such as python. Other functions such as re.findall and re.sub are also explained in this tutorial series.

Python re.findall

Python findall is the second video in the series on Python regular expressions in simple English.

To use the text that we match with regular expressions in Python use re.findall. In these python re.findall examples we show how to use regular expressions in the python code to match and extract text from a series of lines of text.

Regular expressions featured include anchors, quantifiers, how to use brackets and the escape character. We also show how to use findall on web text by removing html tags. The second part of the video explains the challenge set for viewers. Try the quiz and see if your answer was correct, or just enjoy watching how use can build up a regular expression for a specific task.

The series on python regular expressions includes re.search, re.findall and re.sub. The next video will be released in the near future.

Pattern matching in python uses regular expressions to search and find characters or patterns in text. Regular expressions are a language format used in text processing. They are the main tool for searching, finding, extracting and substituting text when processing text. They can be used in many programming languages, such as python.

Python re.sub

Learn python regular expressions with the re module and substitution of the text found with pattern matching using re.sub.

This is the third in the series on Python regular expressions in simple English.

To see regular expressions using the re function in Python we use re.sub examples including substitution, deletion and how to replace text such as dates.

There are two parts to the re.sub function. First, there is the regular expression, which is a pattern. The re.sub function finds this pattern in a text that matches the regular expression. The second part is the replacement. This pattern will be substituted into the text on every occasion that the first pattern is matched.

Re.sub is the third part of a regular expressions tutorial for beginners and interested programmers called Python regular expressions in simple English. The channel of Programming in simple English attempts to explain programming concepts and code in a simple way rather than be confusing with too many technical terms. It is hoped that second language learners such as International students will find these videos easy to understand.