PyACTS- http://www.pyacts.org -- PyACTS is a collection of Python Modules that are very useful to Parallel Computing in a High Performance Computing environment. This packages incorporates several modules like PyBLACS (allows communication data for Linear Algebra), PyPBLAS (distributed Matrix Operations) and PyScaLAPACK (solve linear systems and get the eigenvalue problems). These libraries are part of PyACTS project that provide interfaces to the ACTS Collection. Also is provided a parrallel interpreter for using this package that implements message-based parallel programming using MPI.
Louie provides Python programmers with a straightforward way to
dispatch signals between objects in a wide variety of contexts. It is
based on PyDispatcher, which in turn was based on a highly-rated
recipe in the Python Cookbook.
Louie is licensed under The BSD License.
General and Advanced Pure and Applied Mathematics
Use SAGE for studying a huge
range of mathematics, including algebra,
calculus, elementary to very advanced
number theory, cryptography, numerical computation,
commutative algebra, group theory, combinatorics,
graph theory, and exact linear algebra.
SendKeys is a Python module for Windows (R) which can be used to send
one or more keystrokes or keystroke combinations to the active window.
SendKeys exports 1 function, SendKeys, and 1 exception, KeySe
Speech Recognition may be possible with COM.
I found an example of how its done in Python.
Looks like foom is busy.
Anyway, here is the verbatim translation of the script foom linked.
I can't test it myself as no mike is installed on my machine.
If you hear "Starting Succeeded", then, try to say one/two/three.
NEED CoHelper.ahk.
One of my recent research tasks required me to retrieve various information from del.icio.us, a well-known social bookmarking service. My programming language of choice is Python, and so I wrote a basic Python module for getting the data I needed.
Re: Kill process based on window name (win32)
Thank you Roger. Your advice did the trick. For anyone interested, the
basic code to terminate a process (politely) would be something like
this (hwnd is retrieved using win32gui.EnumerateWindows):
# Get the window's process id's
t, p = win32process.GetWindowThreadProcessId(hwnd)
# Ask window nicely to close
win32gui.PostMessage(hwnd, win32con.WM_CLOSE, 0, 0)
# Allow some time for app to close
time.sleep(10)
# If app didn't close, force close
try:
handle = win32api.OpenProcess(win32con.PROCESS_TERMINATE, 0, p)
if handle:
win32api.TerminateProcess(handle,0)
win32api.CloseHandle(handle)
except:
pass:
On Sat, 15 Dec 2001 17:53:49 -0800 (PST), David Brady
<daves_spam_dodging_account at yahoo.com> wrote :
>More win32all questions... is it possible to get the
>handle of the window that currently has the focus?
>win32gui.GetActiveWindow() fails because I'm looking
>for a window outside the process of my Python script.
E:\>python
ActivePython 2.1.1, build 212 (ActiveState)
Python 2.1.1 (#20, Jul 26 2001, 11:38:51) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> import win32gui
>>> import time
>>> for x in range(10):
... time.sleep(1)
... print x, win32gui.GetWindowText(win32gui.GetForegroundWindow())
...
0 cmd - python
1 cmd - python
2 (Untitled) * SciTE
3 (Untitled) * SciTE
4 ActivePython Documentation
5 ActivePython Documentation
6 PythonWin
7 PythonWin
8 PythonWin