Opening Sockets Kevin R. Harris

Kevin R. Harris

Using the Image's Rect data 1.0

This Python/Pygame script demonstrates how to move or place a simple image by accessing its Rect (rectangle) data.

Loading an Image 1.0

This Python/Pygame script demonstrates how to load and display an image file.

Deriving a custom sprite from Sprite class 1.0

This Python / Pygame script demonstrates how to create a custom sprite class for a 2D game by deriving a new class from Pygame 's built-in Sprite class.

Using Fonts 1.0

This Python/Pygame script demonstrates how to create and render on-screen text using fonts.
Demands:
· Pygame

Simple Star Wars Game 1.0

This Python/Pygame script demonstrates how to create a simple Space Invaders clone with a Star Wars theme.

Multithreading & Embedded Python 1.0

This Python script spawns a worker thread so it can run alongside the main application. This is important if you want your C application to run Python scripts, but you don't want it blocking on an unfinished script. This is especially true ...

Extending Python Using C/C 1.0

This script demonstrates how to use the Boost -a Python library to extend Python by creating a new Python module written in C/C . This will allow Python scripts to access and make use of C/C functions and classes like it would with any ...

Embedding Python Into C/C Applications 1.0

This collection of scripts contains four separate samples which help to introduce the basics of how to embed Python into C/C applications.

Integrating C/C and Python 1.0

This script demonstrates how to integrate C/C and Python together by both extending and embedding Python into a C/C application. This is done by using the C API of Python to set up special functions which will allow C/C and Python to ...

Polling the keyboard 1.0

This Python/Pygame script demonstrates how to move an image using keyboard input.

Search & Replace 1.0

This collection of Python scripts demonstrates how to perform a search-and-replace on a plain text file.

GUIs With Tkinter 1.0

This collection of Python scripts demonstrates how to use the Tkinter module to create Graphical User Interfaces for your Python scripts.

Spawning Threads 1.0

This collection of Python scripts demonstrates how to use the threading module to create a thread that sleeps for some time, prints a message, and then exits.

Creating a dictionary object 1.0

Creating a dictionary object script demonstrates how to create and access a dictionary object.

Introduction to Python 1.0

If you know absolutely nothing about Python, this could be your start.

Zipping and Unzipping Files With zipfile 1.0

This collection of Python scripts demonstrates how to use the zipfile module to compress, or uncompress files, or examine the contents of a zipped archive.