15.02.2017 Views

Learning ArcGIS Pro

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6. Click Options in the top menu.<br />

7. Select IDLE Preferences.<br />

8. Click on the General tab and set Default Source Encoding to UTF-8.<br />

9. Click Apply and OK.<br />

Step 2 – writing the script<br />

Now you will begin writing the script you need to accomplish the tasks you performed<br />

manually before. To start, you will insert some basic information concerning your script in<br />

accordance with best practices. Then you will import the ArcPy module and lastly write<br />

the code for the script:<br />

1. First, you will save your empty script so it has a name. Click on File and then Save.<br />

2. In the Save As window, navigate to C:\Student\IntroArc<strong>Pro</strong>\Chapter10 and name

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!