api py failure

1 view
Skip to first unread message

Xinyue Ye

unread,
Jun 28, 2010, 5:34:55 PM6/28/10
to pysa...@googlegroups.com
$ python -i api.py -i
Traceback (most recent call last):
File "api.py", line 4, in <module>
w_rook,observation_ids=weights.rook_from_shapefile("file.shp",
id_variable_name)
NameError: name 'id_variable_name' is not defined

Serge Rey

unread,
Jun 28, 2010, 6:07:23 PM6/28/10
to pysa...@googlegroups.com
api.py was a template and wasn't intended to be used as source code.

--
Sergio (Serge) Rey
Professor, School of Geographical Sciences and Urban Planning
Arizona State University
http://geoplan.asu.edu/rey

Editor, International Regional Science Review
http://irx.sagepub.com

Reply all
Reply to author
Forward
0 new messages