ami0707

Problem to creating buffers in Pythonwin

Discussion created by ami0707 on Jun 12, 2011
Latest reply on Jun 12, 2011 by JScheirer-esristaff
Hii everyone,

I'm new in python and I need some help from you guys.
I've a .shp (lines) and I want to create buffers of 100 m using python win. And I'm using these codes to execute the process but it couldn't succeeded.

>>> import arcpy
>>> arcpy.env.overwriteOutput = True
>>> arcpy.Buffer_analysis(E:\Project data\Python\VK_Streets.shp, E:\Project data\Python\VK_Streets_buffer.shp, 100)
#Error massage
SyntaxError: invalid syntax
>>> >>> arcpy.Buffer_analysis(E:\Project data\Python\VK_Streets, E:\Project data\Python\VK_Streets_buffer, 100)
Traceback (  File "<interactive input>", line 1
    >>> arcpy.Buffer_analysis(E:\Project data\Python\VK_Streets, E:\Project data\Python\VK_Streets_buffer, 100)
     ^
SyntaxError: invalid syntax


Any suggestions...?

Outcomes