Markus Neteler wrote:
> >> IOError: [Errno 2] No such file or directory:
> >> u'D:\\GEOGRAPHY\\MODIS\\PERMANENT\
> >> \MYNAME'
>
> I wonder why there are double \\ while two lines above there are only
> the common single \.
The error message is using repr() (note the "u" prefix):
> x = ur'a\b'
> print x
a\b
> print str(x)
a\b
> print repr(x)
u'a\\b'
The backslashes are a red herring. The error indicates that either the
location or the PERMANENT mapset doesn't exist.
--
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev