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.



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'

| improve this answer | |

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.

| improve this answer | |

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.