Many people, when first finding out about Google Web Toolkit, wonder "why can't I use Python instead of Java?". pyjamas is designed to make that possible.
What is pyjamas?
pyjamas is a stand-alone python to javascript compiler, an AJAX framework / library and a Widget set API.
Why should I use it?
>>> def simple_cache(fn):
... cache = {}
...
... def new_fn(n):
... if n in cache:
... print 'FOUND IN CACHE; RETURNING'
... return cache[n]
...
... # otherwise, call function & record value
... val = fn(n)
... cache[n] = val
... return val
...
... return new_fn
As much as I can. I will cover the basic theory of computer programming - what it is, some of its history and the basic techniques needed to solve problems. I will not be teaching esoteric techniques or the details of any particular programming language,
The taskbar module is really experimental - and I think this is one of the first questions about it :)
tb.RunningApplication.Button(i).Click() - doesn't use ClickInput()
pyPortMidi is a Python wrapper I wrote for PortMidi.
PortMidi is a cross-platform
C library for realtime MIDI control. Using pyPortMidi, you can send and
receive MIDI data in realtime from Python.
pywinauto is a set of python modules to automate the Microsoft Windows GUI.
At it's simplest it allows you to send mouse and keyboard actions to windows
dialogs and controls.
Welcome to the PyPubSub / PMS project, an implementation of a pure python networked publish subscribe mechanism. Central is a message broker which dispatches messages between applications.
If I have: from sympy import Symbol, Integrate x = Symbol('x') f = x**2 + x g = Integrate(f, x) how can I apply g to a numpy array? In other words, how can I "numpify" the g expression, injecting in it x = numpy.linspace(1, 9, 9)? What would be even nicer would be to be able to retrieve a lambda using numpy functions for g as a function of x (that way I don't have the overhead of numpifying it each time I want to apply it to an array).
I love python for its beautiful code and practicality. But it’s not going to win a pure speed race with most languages. Most people think of speed and ease-of-use as polar opposites - probably because they remember the pain of writing C. Cython tries to eliminate that duality and lets you have python syntax with C data types and functions - the best of both worlds. Keeping in mind that I’m by no means an expert at this, here are my notes based on my first real experiment with Cython:
PyProtocols extends the PEP 246 adapt() function with a new "declaration API" that lets you easily define your own protocols and adapters, and declare what adapters should be used to adapt what types, objects, or protocols. In addition to its own Interface type, PyProtocols can also use Twisted and Zope's Interface types too. (Of course, since Twisted and Zope interfaces aren't as flexible, only a subset of the PyProtocols API works with them. Specific limitations are listed in the documentation.)
Given Python's goal to be a powerful and easy-to-use scripting
language, its features for working with dates and times are not as
user-friendly as they should be. The purpose of pyfdate is to remedy that
situation by providing features for working with dates and times that are as
powerful and easy-to-use as the rest of Python.
sychotic is an innovative optimizing compiler for Python code. It has unique features, the most important of which is that it breaks through the ConstantTimeBarrier. It is very easy to use and has an interface similar to that of the popular Psyco project. Below, you can see a usage example. You can also learn about HowItWorks, the ProjectHistory and KnownIssues. You can also browse the easy-to-understand source especially the alysis.py analyzer module and the dingo.py runtime bootstrap. There is an introductory screencast available (less than 5 minutes long). Usage
Linda is an widely studied distributed computing environment, centered around the notion of a tuple space. A tuple space is a bag (also called a multi-set) of tuples. A tuple is an ordered, typed chunk of data. Tuple spaces exist independently of processes in the system, and the data placed into a tuple space also exist independently. See "Generative communication in Linda" (1985) and "Multiple tuple spaces in Linda" both by David Gelernter for more information on Linda.