Category Archives: Python How To

Create Automated Websites with Python

Make a Website Video TutorialI while back I showed you how to Make Money Blogging by setting up a simple automated WordPress blog using WP-O-Matic. I was then asked for an automated site that allowed for more robust article grabbing.

In the video below I show you how to grab content from any website and then send that to the Postie WordPress Plugin, that will post it to your site automatically. Here is an article on How to Use Postie.

Continue reading Create Automated Websites with Python

Regular Expressions Python Tutorial

Python PictureIn this video, I provide a bunch of examples on how to use Regular Expressions in Python. I show you how to search for numerous different types of data and output and manipulate that data.

I’ve provided all of the code after the video and if you have any questions, leave them in the comment section below.

In the next article, I’ll show you how to grab information from any web page and do what ever you want with that information.

Special Note: Click the HD and Full Screen buttons for the best view of the video.

Continue reading Regular Expressions Python Tutorial

Python How To Video Pt 6

Python How ToThis article and video was created because of the requests from Gent2910 and others. You guys have been having problems understanding a few concepts with Python. Specifically you’ve asked for:

  • More examples on unconventional uses for functions
  • Examples on using lists
  • Explanation on how to use elif
  • More on Conditional Expressions
  • How to catch errors, or Python Error Handling

Continue reading Python How To Video Pt 6

Python How To Video Pt 5

Python PictureIn this video, I completely cover how Object Oriented Programming (OOP) works in Python. This is also how it works in other OOP languages though.

Inheritance, Polymorphism, Classes and Objects are jargon terms specific to the concept of programming in OOP. These concepts do not change based off of the language you use.

All of the code from the video, follows after the video below. If you haven’t watched the other video’s, watch them first or you will be confused.

Like always, if you have any questions or comments, leave them in the comment section below.

Continue reading Python How To Video Pt 5

Python How To Video Pt 4

Python How ToIn this article and video, I’ll show you how to read and write to files using the Python programming language.

If you didn’t watch part one definitely watch Python How to Program Part 1 first!

In this video, I also use the Eclipse IDE for coding, instead of IDLE. If you want to know how to install it (It’s Free), watch this tutorial Eclipse The Free IDE.

If you have any questions leave them in the comment section below.

The code from the video tutorial can be found on this page, after the video.

Continue reading Python How To Video Pt 4

Python How To Program Pt 3

PythonIn this video I cover how to use the list data types in Python (tuples, lists, dictionary’s).

I also review and introduce the While Loop, If then Elif, and a bunch of tricks with Python. All of the code from the video follows the video on this page. If you didn’t watch part 1 of this tutorial watch it here: Python How To Program

If you have any questions or comments, leave them in the comment section below.

NOTE: At the end of the video, I say I don’t know the topic of the next video. It will be on Object Oriented Programming with Python.

Continue reading Python How To Program Pt 3

Python How to Video Pt 2

Python PictureHere I continue my Python How to Program Tutorials. If you missed part 1, go watch Python How to Program Pt 1.

In this video tutorial, I’ll cover the integer and string variable types. I’ll also go over all of the different functions available to you for manipulating integers and strings in Python.

All of the code used, can be found after the video. If you have any questions or comments, leave them in the comment section below.

Continue reading Python How to Video Pt 2

Python How to Video Pt 1

Python How ToIf you have ever wanted to learn how to program a computer, this is the tutorial for you. I walk you step-by-step through how to do anything with Python.

Everything you can do with Python will be covered. You can watch over my shoulder as I teach programming, based off of your requests. I asked you guys what you wanted and you said:

Continue reading Python How to Video Pt 1

Python How To : Examples

Python How ToI’ve received a bunch of email’s requesting that I provide more sample Python code. Some people learn better by seeing somebody work through examples. So, here I’ll work through some simple to understand examples that should teach you a bunch about Python.

Note: They will start out simple and work up to file I/O (Reading and Writing to files)

Continue reading Python How To : Examples

Python How To : Functions and Exceptions

Python PictureHere I’ll go over a bunch more on Python. If you haven’t seen Part 1 of the Python How To Program Tutorial, read it first.

In this article I’ll cover functions, exception handling and general file i/o. I’ve read your comments, and yes I will be providing a bunch of Python sample programs and videos. They may already be done actually. Check the right side bar on this site where it says categories, click on Python How to. That will display every Python article. Well on with the article.

Continue reading Python How To : Functions and Exceptions

Python How to Built in Functions Pt 4

PythonThere are numerous built in functions and library modules in Python. Definitely more than I can cover in one article, but I will go over many of them today.

I’ll specifically cover the most commonly used functions pertaining to mathematical operations and string manipulation. All also throw in some random issues that are sure to come up.

Continue reading Python How to Built in Functions Pt 4

Python How to Conditionals & Loops Pt 3

Python How ToWelcome to Part 3 of my Python How to Program tutorial. If you haven’t seen the other tutorials, check them out first Python How to Program : Tools Needed and Python How to Program Data Types.

In this article, I’ll be covering Conditionals (IF and Conditional Expression) and Loops (FOR and WHILE). Once again Python does things a little differently from other languages. And, while Python doesn’t include a switch statement for performing Conditionals, I’ll show you how to create one as well.

Continue reading Python How to Conditionals & Loops Pt 3

Python How to Basics Pt 2

Python PictureWelcome to Part 2 of the Python How to Program series. I’m going to mainly focus on variable types specific to Python in this article. I also will go over many basic topics that make Python different than any other programming langauge.

How Python Handles White Space

If you have programmed in other languages, you are probably used to enclosing your code between brackets { }. Python instead separates it’s code segments through the use of white space. So if you where creating a function in Python you would indent all of the code that lies in that function (normally 4 spaces).

Continue reading Python How to Basics Pt 2

Python How to Program Tutorial Pt 1

Python How ToWelcome to the Python How to Program Tutorial. In a long series of articles, I will answer all of your Python questions. I’ve chosen to cover Python because I’ve received many requests pertaining to learning how to program with Python. I’ve also chosen to finally finish my automated website program with Python. By the end of this tutorial you’ll be able to:

Continue reading Python How to Program Tutorial Pt 1