1

What is the problem since i have "test_script" folder extant in C: but arcpy detects as a truncated one (i.e est_script) and signals error.

test

9

Python is treating \t as tab so you are really doing C{TAB}est you need to escape with \\ or use a raw string using r e.g r'C:\test_script'

4

Try entering your path as a rawstring, such as in this snippet:

arcpy.CreateFeatureclass_management(r"C:\test_script\Fish.gdb", ...

Basically, just prepend an r.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.