How do you undo x = `a` if A is a list?

Moshe Zadka moshez at math.huji.ac.il
Sat Feb 12 07:18:12 CET 2000


On Fri, 11 Feb 2000, Emile van Sebille wrote:

> >>> f = open(r"c:\temprepr","r")
> >>> c = eval(f.readline)

bug: you meant eval(f.readline())

--
Moshe Zadka <mzadka at geocities.com>. 
INTERNET: Learn what you know.
Share what you don't.





More information about the Python-list mailing list