Do I Need Pywin32 For Mac

Explore the world of Mac. Check out MacBook Pro, iMac Pro, MacBook Air, iMac, and more. Visit the Apple site to learn, buy, and get support. Feb 01, 2016 The following versions: 2.7, 2.6 and 2.5 are the most frequently downloaded ones by the program users. Our antivirus scan shows that this download is virus free. The latest version of Python pywin32-216 can be downloaded for PCs running Windows XP/Vista/7/8/10, both 32 and 64-bit. The actual developer of the free software is Mark Hammond.

Latest version

Pywin32 is: Python extensions for Microsoft Windows Provides access to much of the Win32 API, the ability to create and use COM objects, and the Pythonwin environment. Which essentially means an interface for Python to access the native Windows API.


A simple, cross-platform module for mouse and keyboard control

Project description

A module for cross-platform control of the mouse and keyboard in python that is
simple to use.
Mouse control should work on Windows, Mac, and X11 (most Linux systems).
Scrolling is implemented, but users should be aware that variations may
exist between platforms and applications.
Keyboard control works on X11(linux) and Windows systems. Mac control is a work
in progress.
Depending on your platform, you will need the following python modules for
PyUserInput to function:
* Linux - Xlib
* Mac - Quartz, AppKit
* Windows - pywin32, pyHook
How to get started
After installing PyUserInput, you should have pymouse and pykeyboard modules in
your python path. Let's make a mouse and keyboard object:
from pymouse import PyMouse
from pykeyboard import PyKeyboard
m = PyMouse()
k = PyKeyboard()
Here's an example of clicking the center of the screen and typing 'Hello, World!':
x_dim, y_dim = m.screen_size(), y_dim/2, 1)
k.type_string('Hello, World!')
PyKeyboard allows for a range of ways for sending keystrokes:
# pressing a key
# which you then follow with a release of the key
# or you can 'tap' a key which does both
# note that that tap_key does support a way of repeating keystrokes with a interval time between each
# and you can send a string if needed too
k.type_string('o World!')
and it supports a wide range of special keys:
#Create an Alt+Tab combo
k.tap_key(k.function_keys[5]) # Tap F5
k.tap_key(k.numpad_keys['Home']) # Tap 'Home' on the numpad
k.tap_key(k.numpad_keys[5], n=3) # Tap 5 on the numpad, thrice
Note you can also send multiple keystrokes together (e.g. when accessing a keyboard shortcut) using the press_keys method:
# Mac example
# Windows example
Consistency between platforms is a big challenge; Please look at the source for the operating system that you are using to help understand the format of the keys that you would need to send. For example:
# Windows
# Mac
I'd like to make a special note about using PyMouseEvent and PyKeyboardEvent.
These objects are a framework for listening for mouse and keyboard input; they
don't do anything besides listen until you subclass them. I'm still formalizing
PyKeyboardEvent, so here's an example of subclassing PyMouseEvent:
from pymouse import PyMouseEvent
def fibo():
a = 0
yield a
b = 1
yield b
while True:
a, b = b, a+b
yield b
class Clickonacci(PyMouseEvent):
def __init__(self):
self.fibo = fibo()
def click(self, x, y, button, press):
''Print Fibonacci numbers when the left click is pressed.''
if button 1:
if press:
else: # Exit if any other mouse button used
C = Clickonacci()
Intended Functionality of Capturing in PyUserInput
For PyMouseEvent classes, the variables 'capture' and 'capture_move' may be
passed during instantiation. If `capture=True` is passed, the intended result
is that all mouse button input will go to your program and nowhere else. The
same is true for `capture_move=True` except it deals with mouse pointer motion
instead of the buttons. Both may be set simultaneously, and serve to prevent
events from propagating further. If you notice any bugs with this behavior,
please bring it to our attention.
A Short Todo List
These are a few things I am considering for future development in
* Ensuring that PyMouse capturing works for all platforms
* Implement PyKeyboard capturing (add PyKeyboardEvent for Mac as well)
* PyMouse dynamic delta scrolling (available in Mac and Windows, hard to standardize)
* Make friends with more Mac developers, testing help is needed...
Many thanks to
[Pepijn de Vos]( - For making
[PyMouse]( and allowing me to modify
and distribute it along with PyKeyboard.
[Jack Grigg]( - For contributions to
cross-platform scrolling in PyMouse.

Release historyRelease notifications RSS feed

Do i need pywin32 for mac free









Do I Need Pywin32 For Mac 10


Do i need pywin32 for macbook pro




Download files


Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Do i need pywin32 for mac 2017
Files for PyUserInput, version 0.1.11
Filename, sizeFile typePython versionUpload dateHashes
Filename, size PyUserInput-0.1.11-py2-none-any.whl (40.0 kB) File type Wheel Python version 2.7 Upload dateHashes
Filename, size PyUserInput-0.1.11.tar.gz (28.7 kB) File type Source Python version None Upload dateHashes

Hashes for PyUserInput-0.1.11-py2-none-any.whl

Hashes for PyUserInput-0.1.11-py2-none-any.whl
AlgorithmHash digest

Hashes for PyUserInput-0.1.11.tar.gz

Do I Need Pywin32 For Mac Os

Hashes for PyUserInput-0.1.11.tar.gz
AlgorithmHash digest