Migrate to ArcGIS10 - Running scripts in python window

650
1
05-23-2011 06:03 AM
RavinHasseea
New Contributor
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
0 Kudos
1 Reply
RavinHasseea
New Contributor
Some changes made to a python script are not reflected until the machine is restarted. I have cleared the temp files in document and settings.
Anywhere else the caching occurs?

Thanks
0 Kudos