Advertisment
Generators are a very cool Python abstraction that allows you to greatly simplify control flow and can also lead to much lower memory consumption.
An introduction to python, made in python for beginner/nonprogrammers. So please visit this site if you are a complete beginner, it will definitley...
In this tutorial, you first learn a few Python basics and see why Python makes a good network programming language. Then you move on to the basic...
In this tutorial, learn how install python on your computer and write your first script.
In this tutorial, you make a python file, save it to the desktop, and learn how to change the directory in the terminal so it points to the desktop...
Learn more printing, Arithmetic, and comments in Python.
learn about variables in python. Variables are a letter(s) or letters and numbers combined which store data.
Today, we are going to talk about the while loop. It is a control structure. Normally, statements are executed from the top down line by line. A...
Learn more about control structures: If, elif, and, or, ect. commands
The ‘def’ command defines, or creates, a function that can be used throughout the program.
Learn about the list value. Ordinary variables hold one value. The list variable can hold multiple values.
We begin with a list named ‘greek_letters’, with the first five Greek letters. We tell the terminal to print the third value with the command...
‘For’ loops are like ‘while’ loops, but ‘for’ loops give a better way to go through the elements in a list or repeat an argument multiple times...
Boolean expressions are expressions that have the values ‘True’ or ‘False’ as results.
A dictionary is a type of list with two parts: keys and values. The keys are used to find values. Keys and values are analogous in a dictionary to...
...Modules are scripts and such that you can “import” into the program. They give new functions. I will find and review three modules...
The XO laptop intended (of the One-Laptop-Per-Child initiative) uses GNU/Linux as the underlying operating system, and includes an application...
This is a line-by-line tutorial that will guide you through the basics of creating a simple game using the popular Pygame library. If you know...
Apache processes requests in phases. A handler is a function that processes a particular phase of a request. Handlers are provided by Apache and by...