List to string
Steven D'Aprano
steve at REMOVE.THIS.cybersource.com.au
Mon Mar 19 23:41:19 EDT 2007
On Mon, 19 Mar 2007 13:11:09 +0100, Bruno Desthuilliers wrote:
> There's no "cast" in Python. It would make no sens in a dynamically
> typed language, where type informations belong to the LHS of a binding,
> not the RHS.
Surely you have left and right mixed up?
x = 1
x = None
x = "spam"
x = []
The name x has no type associated with it. The object bound to the name
does.
--
Steven.
More information about the Python-list
mailing list