Merge Sort: A Python Implementation

In the previous article, we introduced the concept of modules and functions, and even created a simple Python program to test for palindromes. In this article, we will continue our look at recursion and put some of the concepts introduced in previous … [Continue reading]

Python Modules; Introduction to Recursion

  If you quit the Python interpreter and enter it again without saving your program to a text file, the definitions you have made will be lost. Therefore, if you want to write a somewhat longer program, you are better off using a text editor to … [Continue reading]

Python Programming: Part Three (Conditional Statements; Lists, Tuples and Dictionaries)

In the previous article, we covered variables, and how to save and run Python modules. In this article, we will introduce some more basic concepts including statements that alter the control flow of Python, and lists, tuples and dictionaries. Up … [Continue reading]

Python Programming: Part Two (Python IDLE)

XML processing

In the previous article, we introduced some basic concepts about Python and how to use Python at the interactive command line. In this article, we will introduce variables, and also consider how to save a code module and run it, both from the command … [Continue reading]

Python Programming: Part One

XML Processing

Python, as mentioned earlier, is an interpreted language. An interpreter is a program that executes other programs, and when you are doing Python programming, the Python interpreter reads your program and carries out the instructions it … [Continue reading]

How to Install Python

Install Python

If you want to run a Python script and you don't have Python on your system already, fear not. There are a number of options available to install Python, covering a wide variety of different platforms. How to Install Python: From … [Continue reading]

Are Python Scripts Programs?

Python database programming

We have often heard Python referred to as a scripting language; in fact, often the terms "Python program" and "Python script" used interchangeably. So is Python a true scripting language? Python Script: What a Scripting Language Is In order to … [Continue reading]