How do I use raw_input in Python 3

Lonnie Price picture Lonnie Price · Jun 5, 2009 · Viewed 928k times · Source
import sys

I am using Python 3.1 and can't get the raw_input to "freeze" the dos pop-up. The book I'm reading is for Python 2.5 and I'm using Python 3.1

What should I do to fix this?


balpha picture balpha · Jun 5, 2009

Starting with Python 3, raw_input() was renamed to input().

From What’s New In Python 3.0, Builtins section second item.