This is a simple code that lets a user control the mouse and left-click using the Microsoft Kinect, Python, and OpenKinect.
-Python Wrapper for OpenKinect
-A Linux machine using Ubuntu
-A Microsoft Kinect
-A Microsoft Kinect USB Adapter
-Xlib for Python
To run this code you either need...
A simple Python wrapper that makes it easier to mount virtual machine disk images to a local machine.
Requires qemu-nbd package installed.
This middle sized python class will populate himself from any xml with reasonable restrictions.
This will create a header for a Python script. It is a nice way keep a track of what your script does and when it was created, the author of the script, etc..
Update: Now, it will automatically open with one of the two most popular...
This dual-mode script is both a Posix shell script and a python script. The shell part looks like a triple-quoted string to the Python interpreter. The shell does not reach anything after the exec statement.
This is a python code to calculate the gpa and cgpa by abhijeet vaidya
A very simple but powerful shell script which enables writing ad-hoc Python scripts for processing line-oriented input. It executes the following code template:
for line in sys.stdin:
My First Poem Written in Python
I saw something like this in C++ as an introduction to Monte Carlo, so I decided to make something similar in Python. My original code used for loops, but I vectorized it with no small amount of effort, and it now runs orders of magnitude faster....
Linux Network Block Device server in Python
This is a simplified version based on Kragen Sitaker's http://lists.canonical.org/pipermail/kragen-hacks/2004-May/000397.html
Close is never actually called, at least not on the...
This recipe will find all attributes created as meta-object properties in Qt and will create a Python property of the same name for each of them. This is a quick way of providing some of the functionality suggested by PSEP 102, which I sincerely...
This is the Python API for my arduino uno board.
this is base on what i posted in Part I ..
I didn't spend time to comments it...
I'll do it once free soon.
Please study it and extend it and share among open source members...
sending gmail though your python code
If you install python under windows and then open a command shell (DOS-prompt, you normally get an error message
if you type "python" at the prompt. This is because the directory of the python executable is not in the PATH...
A Python script that runs arbitrary Python scripts in an input loop. This allows one-liner Python scripts similarly to how Perl runs them (-l,-a,-n,-F, BEGIN, END)
It provides additional syntax that allows multiline Python scripts to...
this is a python program Python Program for Windows domain based machines to collect usefull information , this can be very customizable to the type of information you'd want to collect.
you can force it to run on all machines using group...
PDO: Python Database Objects, is a collection of objects for use with Phase or with the Python Programing Language. PDO is designed to be robust and simple at the same time, allowing access to multiple styles of databases, with one set of...
ActiveState offers open source for Python and other programming languages.
This column discusses a Python project of mine, the indexer module, and it has an additional purpose: Like you, I am always trying to learn more, and with this installment, I invite comments and ideas from readers. Your contributions will be...
To extend Zope, you first extend Python. While extending Python is not brain surgery, it's no walk in the park either. There are two basic components to a Python extension. The first is obviously the C code. I'll cover that in a minute. The other...