Steven, Alan, Knacktus,
thanks for your help. I was indeed very confused because I thought
'_find' was calling something special instead of just being added to
the dictionary (the confusion stemming from
http://www.python.org/dev/peps/pep-0004/ where find module is
obsolete).
When I ran the code,
Am 20.02.2011 05:14, schrieb Max Niederhofer:
Hello all,
Hello Max,
first post, please be gentle. I'm having serious trouble finding an
alternative for the deprecated find module for dictionaries.
The code (from Zed Shaw's Hard Way, exercise 40) goes something like
this. Hope indentation sur
"Max Niederhofer" wrote
first post, please be gentle. I'm having serious trouble finding an
alternative for the deprecated find module for dictionaries.
I think you are misunderstanding some of the terminology.
There is no deprecated find module. You are not using
any modules in your code. An
Max Niederhofer wrote:
Hello all,
first post, please be gentle. I'm having serious trouble finding an
alternative for the deprecated find module for dictionaries.
What find module for dictionaries?
The code (from Zed Shaw's Hard Way, exercise 40) goes something like
this. Hope indentation
Hello all,
first post, please be gentle. I'm having serious trouble finding an
alternative for the deprecated find module for dictionaries.
The code (from Zed Shaw's Hard Way, exercise 40) goes something like
this. Hope indentation survives.
cities = {'CA': 'San Francisco', 'MI': 'Detroit', 'FL'