
Wrap the asset count in a function, loop it over every pressure-zone geodatabase with arcpy.da.Walk, and turn a Notebook into a script you can run again.
Replace hard-coded paths with argparse options and safe defaults, so the QA script takes the geodatabase path and the date as inputs.
Write dated log files with levels, read tool errors with GetMessages, keep going past a broken dataset and return clear exit codes.
Ship a logged, parameterised nightly QA job (missing materials, valves off mains, duplicate IDs) and schedule it for 02:00 with Windows Task Scheduler.
Set arcpy.env house rules (workspace, overwriteOutput, output coordinate system, extent), use EnvManager, and build a full data inventory with Describe and Walk.
Learn when a script should become a tool, then register it as a script tool in a toolbox so the control room can run it with one click.
Add typed parameters, validation, messages and a progress bar, so the tool only accepts point layers and reports how many customers were found.
Rebuild the tool as a Python toolbox (.pyt) from Esri's template, keep it in Git as plain text, and test odd inputs on purpose.
Ship the Break Impact Report .pyt and run it in ArcGIS Pro: pick a break and get the affected customers, a CSV and a clear report.
Reference the project, maps and layers with arcpy.mp, add and move layers, and fix broken data sources across a whole project after a folder move.
Change renderers and symbols from code and colour the water mains by age: under 30, 30 to 60 and over 60 years.
Build a named layout template and fill its title, legend and map frame from code with the break ID, time and customer count.
Zoom to a main break, export one page per affected zone and merge the pages into a single PDF outage map book.
Read, clean and join the pipes and break history tables with pandas 3, then count breaks per year.
Move feature classes into and out of a Spatially Enabled DataFrame, query them and add a condition score to every main.
Summarise the condition scores with NumPy and chart condition by material with Matplotlib.
Connect with the ArcGIS API for Python, publish the condition scores as a hosted layer and append updates, without passwords in your code.
Publish a styled layer straight from a Pro map with a sharing draft, then keep the hosted layer fresh every night with safe, de-duplicated updates.
This course contains the use of artificial intelligence.
You can write an ArcPy script. Now make it run itself, and make it useful to people who never open Python.
You are still the GIS developer at Riverbend Water, a (fictional) city water utility. This time the tickets are bigger: "Check yesterday's edits every night at 2 a.m.", "Give the control room a button for main breaks.", "Send the press an outage map within fifteen minutes.", "Put the pipe condition scores online for the board." Each video solves one of them, and each chapter ends with a tool your colleagues could really use.
Built for the current versions: ArcGIS Pro 3.7, Python 3.13 and ArcPy 3.7, with pandas 3, NumPy 2.3 and the ArcGIS API for Python 2 that ship with Pro 3.7. You'll use the 3.7 features that save real time, like the cursor spatial_filter, pathlib paths in geoprocessing tools and arcpy mp CreateArcGISProject. Where the book or older tutorials differ (chained assignment in pandas 3, np.NaN, ArcMap-era toolbox settings), the video tells you.
What's inside
4 chapters, 16 short videos (5–6 min) + 2 extra videos and a short welcome, about 1 h 45 min in total.
A task file for every video (notebook, or a .py/.pyt for toolbox work) with # TODO gaps, hints and a checker or self-test, plus a separate solution. Many parts run offline on the real Riverbend exports, so you can practise without Pro.
A project at the end of every chapter: a scheduled nightly QA job, a Break Impact Report toolbox, an automated outage map book and a published condition dashboard.
Chapter by chapter
Batch automation and logging. The batch recipe (function, list, loop, collect), argparse options with safe defaults, log files with levels, error handling that keeps going past a broken file, exit codes, and Windows Task Scheduler. Extra: environment settings, EnvManager and a full data inventory with Describe and Walk.
Script tools and Python toolboxes. Turn a script into a button with a form, add parameter types, validation, messages and a progress bar, then move it all into one .pyt that Git understands, and test the edge cases on purpose.
Maps and reports with arcpy mp. Fix broken data sources across a whole project in one line, colour mains by age from code, fill a named layout template, and export a multi-page outage map book as one PDF.
Data science with pandas and SEDF. Clean and join tables the pandas 3 way, score every main with a Spatially Enabled DataFrame, chart it with NumPy and Matplotlib, and publish and update a hosted layer with the ArcGIS API for Python. Extra: publish a styled layer from a Pro map and keep it fresh every night.
How this course is made
The narration uses an AI voice, and AI tools helped produce the slides and course materials. The curriculum, the Riverbend storyline and the tickets come from Hendo's own utility GIS work. ArcGIS Pro screens are shown as animated, illustrative mock-ups (not Esri artwork), so you can follow every step; you then run the same steps in your own copy of ArcGIS Pro.
This is Course 2 of a 3-course path: Python for ArcGIS Pro 3.7: ArcPy for Complete Beginners → Automate ArcGIS Pro 3.7 with Python: Tools, Maps & pandas → Electric Utility Networks with ArcPy: Trees, Traces & AI. If you already know basic ArcPy (cursors, selections, tool pages), you can start here.