Re: [Tutor] Problem in running script

2011-11-01 Thread Hugo Arts
On Tue, Nov 1, 2011 at 10:47 PM, Narguess Dadfar wrote: > I want to prepare a script in python that updates the attributes of the > crime incidents falling within the patrol zone. I haveĀ  a point feature > class of crime incidents and a polygon feature class of patrol zone. > > I used the getcount

Re: [Tutor] Problem in running script

2011-11-01 Thread Steven D'Aprano
Narguess Dadfar wrote: [...] But I ran to problem. Please let me know what I should change. Would you like us to guess what problem you had? My guess is... you got a SyntaxError, because you forgot to put a closing bracket on the previous line. Am I close? -- Steven

[Tutor] Problem in running script

2011-11-01 Thread Narguess Dadfar
I want to prepare a script in python that updates the attributes of the crime incidents falling within the patrol zone. I have a point feature class of crime incidents and a polygon feature class of patrol zone. I used the getcount. method to take a count of the incidents in the current layer as