Hi;
Forgive multiple posts in one day: online very infrequently
Why am I getting this error?
import os
dir_dict = {6:36, 5:26, 4:22, 3:18, 2:14, 1:12}
cur_dir = os.getcwd()
dirs = os.path.split(cur_dir)
len = len(dirs)
type(len(dirs))
Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    type(len(dirs))
TypeError: 'int' object is not callable

Forgot to bring it with me, but type(len) gives me an intelligent response.
TIA,
Victor
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to