sunsilk10

Migrate to ArcGIS10 - Running scripts in python window

Discussion created by sunsilk10 on May 23, 2011
Latest reply on May 26, 2011 by sunsilk10
Hi I have following commands I used to run from the Command window in ArcGIS 9.3

Delete TEMPPOI
MakeXYEventLayer 'c:\static_gis_data\OS_POI\Data\A_E Hospitals.csv' EASTING NORTHING TEMPPOI "PROJCS['British_National_Grid',GEOGCS['GCS_OSGB_1936',DATUM['D_OSGB_1936',SPHEROID['Airy_1830',6377563.396,299.3249646]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',400000.0],PARAMETER['False_Northing',-100000.0],PARAMETER['Central_Meridian',-2.0],PARAMETER['Scale_Factor',0.9996012717],PARAMETER['Latitude_Of_Origin',49.0],UNIT['Meter',1.0]];IsHighPrecision"
CopyFeatures TEMPPOI 'Database Connections\GISTEST_GO.SDE\POI_ALL' DEFAULT_ST


We have upgraded to ArcGIS10. Now when running same script in Python window, it says syntax exception at line 1. I thought the syntax is the same. I have tried other similar commands that worked from previous command window, they now fail to run in python window.


Any ideas?

Thanks

Outcomes