"Susana Iraiis Delgado Rodriguez" <susana.delgad...@utzmg.edu.mx> wrote

message which tells me the file I want to work with
doesn't exist, but it does.

I don't believe you! :-)

Traceback (most recent call last):...
    lyr.datasource = mapnik.Shapefile(base=filepath, file=filepath)
    return CreateDatasource(keywords)
RuntimeError: C:\Ýndice.shp/C:\Ýndice does not exist

That "file name" has two C: in it which I am pretty sure is
an illegal path in Windows. Therfore the file cannot exist.

You just need to build your path correctly I suspect.

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to