[Tutor] Help with Python in ArcGIS 10.1!

Jacobs, Teri (CDC/NIOSH/DSHEFS) (CTR) wvd8 at cdc.gov
Mon Jun 17 16:26:03 CEST 2013


Hi,


I have a command line to spread geoprocessing operations across multiple processes to speed up performance. However, I do not know how to import the command line (or at least import it properly) in Python 2.7.2. Here's the script example given on ArcGIS 10.1 Help:



import arcpy

# Use half of the cores on the machine.
arcpy.env.parallelProcessingFactor = "50%"

I tried typing it into the command line but nothing happened. Instructions would be much appreciated!!!

Teri A. Jacobs
Geography Fellow
Surveillance Branch/DSHEFS/NIOSH/CDC
513-841-4338
WVD8 at cdc.gov<mailto:WVD8 at cdc.gov>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130617/38729870/attachment.html>


More information about the Tutor mailing list