Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install speech

How to install speech

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install speech
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.5.2 Available View build log
Windows (64-bit)
0.5.2 Available View build log
Mac OS X (10.5+)
0.5.2 Available View build log
Linux (32-bit)
0.5.2 Available View build log
Linux (64-bit)
0.5.2 Available View build log
Depended by
Lastest release
version 0.5.2 on Jan 5th, 2011

Allows your Windows python program to: * get the text spoken by the user when prompted (a la raw_input()) * execute a callback when certain phrases are heard * execute a callback when any understandable text is heard * have different callbacks for different groups of phrases * convert text to speech.


Showing speaking out loud, a simple input, and listening for all recognizable words.

System Message: WARNING/2 (<string>, line 19)

Literal block expected; none found.

import speech import time

response = speech.input("Say something, please.") speech.say("You said " + response)

def callback(phrase, listener): if phrase == "goodbye": listener.stoplistening() speech.say(phrase)

listener = speech.listenforanything(callback) while listener.islistening(): time.sleep(.5)


Requires Windows XP or Vista, and Python 2.4 or 2.5. If you use Windows Vista, you'll need to say "start listening" if Speech Recognition is not awake.

In addition to easy_installing speech.py, you'll need pywin32 (for Python 2.5 or for Python 2.4); and if you're on XP, you'll need the Microsoft Speech kit (installer here).


System Message: WARNING/2 (<string>, line 56)

Bullet list ends without a blank line; unexpected unindent.


Please let me know if you like or use this module - it would make my day!

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.