python scripts doesn't execute in arcgis 10 ????

2785
4
02-02-2016 10:08 AM
sanabelja
New Contributor

hi

can any one guided me please !!

i start to learn arcpy with arcgis ... writing scripts on python window in arcgis 10 !! but it doesn't execute any one of them ??????

Tags (1)
0 Kudos
4 Replies
DanPatterson_Retired
MVP Emeritus

try

>>> import arcpy

at the command prompt (ie the >>> in your IDE)

any luck?

0 Kudos
sanabelja
New Contributor

thank you sir

but it's not given me error when import arcpy !! and arcpy.mapping !! but when i complete the script it doesnt execute ?!!..even the function comletion dont recognize the method so !!!!!!

0 Kudos
DanPatterson_Retired
MVP Emeritus

show the script... perhaps there are no print or arcpy.AddMessage lines to show the output information

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

It would help if you code post your code using Posting Code blocks in the new GeoNet​ 

If we can have a look at it we should be able to see if it is a coding issue.  If not, then the next things would be to see if there is a problem with your installation and finding python.

Also, have you tried running the code in the Python window in ArcMap/Catalog?  are you getting any errors there?

0 Kudos