[Web-SIG] Shortening execution time of Python script

2009-09-09 Thread David Shi
I have a Python script that automatically downloads zip files containing large datasets from another server and then unzips the files to further process the data.   It has been used as a geoprocessor of ArcGIS Server.   The script works fine when two datasets each has several kilobytes size, but

Re: [Web-SIG] Shortening execution time of Python script

2009-09-09 Thread Dirkjan Ochtman
On Wed, Sep 9, 2009 at 12:52, David Shi wrote: > What actions can I try to reduce the execution time? This has absolutely nothing to do with the interests of the Web-SIG. Please send more general Python questions to http://mail.python.org/mailman/listinfo/python-list. Cheers, Dirkjan __

Re: [Web-SIG] Shortening execution time of Python script

2009-09-09 Thread Ionel Maries Cristian
You're a bit contradicting yourself - what's the actual problem, process memory size or execution time ? If it's the process memory size you could trick ArcGIS by using a subprocess that does the actual work (and eats into the memory). -- ionel On Wed, Sep 9, 2009 at 13:52, David Shi wrote: > I

Re: [Web-SIG] Shortening execution time of Python script

2009-09-09 Thread Paweł Stradomski
W liście David Shi z dnia środa 09 września 2009: > ArcGIS Server only works on the basis of 32 bits and I was told that the > maximum memory it can utilise is 4 MBytes. 32bits give 4GB address space, not 4 MB > I should be grateful if someone can make suggestions/recommendations. > > Sincere

Re: [Web-SIG] Shortening execution time of Python script

2009-09-10 Thread Chris Withers
David Shi wrote: I have a Python script that automatically downloads zip files containing large datasets from another server and then unzips the files to further process the data. This smells more like it belongs on comp.lang.python that wb-sig, but here goes... The script works fine when t

Re: [Web-SIG] Shortening execution time of Python script

2009-10-05 Thread Sean Gillies
Chris, Many Europeans call geographic information systems (GIS) "SIG". Web- SIG, to someone who doesn't read the charter, looks like "Web GIS". Hence the random ArcGIS question, I think. Cheers, On Sep 10, 2009, at 9:39 AM, Chris Withers wrote: David Shi wrote: I have a Python script that