Chapter 14


1.

Callable objects

Functions, methods, classes, callable class instances

3.

input() vs. raw_input()

raw_input() returns user input as a string; input() returns the evaluation of the user input as a Python expression. In other words:

input()  eval(raw_input())




Core Python Programming
Core Python Programming (2nd Edition)
ISBN: 0132269937
EAN: 2147483647
Year: 2004
Pages: 334
Authors: Wesley J Chun

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net