Skip to content

marigolds6/pythonintro

Repository files navigation

Introductory Geoprocessing with Python

This course will get you up and running with python in four sections. We still start with installation, including installation with ArcGIS, integrated development environments (IDEs) and where to find more help. Next, we will cover basic syntax, import statements, writing functions, and adding additional libraries and site packages to your installation. For the third section of the class, we will dive into python programming basics: variables, scopes, datatypes, flow control, debugging, and error handling. The class will wrap up by covering common data structures and an introduction to libraries with the widely used os and datetime modules. You should have a very basic understanding of script writing, as we will be up and running with our own scripts by the end of the class. Knowledge of basic flow control (if-then- else, for loops, while loops) is recommended.

Hour One - This new learning amazes me, Sir Bedevere.

Explain again how sheep's bladders may be employed to prevent earthquakes.

  • Installation
  • Where to get help
  • IDLE Toying

Hour Two - That's enough music for now, lads... Looks like there's dirty work afoot.

An Informal Introduction to Python

Hour Five! Three sir. Three! - More on lists, and we get into flow control

  • More Lists
  • Flow Control
  • Useful tools
  • Scope

Hour Four - How to recognize different trees from quite a long way away and object orientation

  • The Larch
  • import
  • functions
  • modules
  • The Larch
  • We write a module

Hour Five - Olsen's Standard Book of British Birds (expurgated) and the Standard Library (very abbreviated)

  • os
  • datetime
  • pytz (and we install a library)
  • Syntax Errors
  • Exceptions
  • Handling Exceptions

Hour Six - I am out of good references because data structures are not funny

  • Tuples
  • Sets
  • Dictionaries
  • More Looping

Hour Seven - Geoprocessing with Arcpy: My hovercraft is full of eels.

  • Arcpy Licensing
  • We try our hand at geoprocessing

Hour Eight - Remarkable bird, the Norwegian arcpy.mapping, beautiful cartography, innit?

  • Extents
  • Exports
  • Other bits

About

Materials for the Introduction to Geoprocessing with Python class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published