python - top 5 tips and tricks · 2017-08-15 · chennai floods 2015 - a geographic analysis on...

15
Python - Top 5 Tips and Tricks Brittney White

Upload: others

Post on 15-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

Python - Top 5 Tips and TricksBrittney White

Page 2: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

5. Choose the best place to write

code

Page 3: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

Where do I write Python code?

• IDE

- PyCharm, Spyder, Wing IDE, Python IDLE,…

• Python window in ArcGIS

Page 4: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

4. Copy and paste

Page 5: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

Copy and paste - Code samples

Page 6: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

Copy and paste - Paths

Shift + Right-click a file

reveals the Copy as path

option

Page 7: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

3. Participate in the Python

GeoNet Community

Page 8: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours
Page 9: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

2. Explore the ArcGIS API for

Python Sample Notebooks

Page 10: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours
Page 11: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours
Page 12: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

1. Add Python packages with

ArcGIS Pro

Page 13: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours
Page 14: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours

Please Take Our Survey on the Esri Events App!

Select the session you attended

Scroll down to find the survey

Complete Answersand Select “Submit”

Download the Esri Events app and find

your event

Page 15: Python - Top 5 Tips and Tricks · 2017-08-15 · Chennai Floods 2015 - a geographic analysis On December 1—2, 2015, the Indian city of Chennai received more rainfall in 24 hours