Python 3.4.1 script syntax error, arcpy &

℡╲_俬逩灬. 提交于 2019-11-27 16:23:47

Backslashes (used by you as Windows path separators) signal escape sequences in Python strings. Double the backslashes or use a raw string literal:

"F:\\Pro_Projects\\NAIP2013\\raster.sde"

or

r"F:\Pro_Projects\NAIP2013\raster.sde"

Windows also accepts forward slashes in paths, avoiding the issue altogether:

"F:/Pro_Projects/NAIP2013/raster.sde"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!