• Blog
  • About
  • RSS
  • Photography Site
  • Art
  • Books
  • ComPosts
  • Creativity
  • GIS
  • Inventions and Ideas
  • Photography
  • Poetry
  • Programming
  • Prose
  • Technology
  • Web Development
Subscribe via RSS

Recent Posts

  • What is a Christian?
  • Expansion of U.S. domestic surveillance threatens civil liberties and freedom
  • How to Prepare for a Cyber-Attack
  • Gutterfound
  • Where to Find the desktop.msi File for Performing a Silent Install of ArcGIS for Windows
Skip to content
Ryan Davison
  • Blog
  • About
  • RSS
  • Photography Site

Tag: directory search

Search Directory Trees with Python

by Ryan DavisonProgrammingPosted on February 7, 2016June 6, 2018No Comments

Here is a simple but powerful way to use Python to search and find all files with a specific extension within a given folder and all of its sub-folders using os.walk(). I use it a lot to find map documents with broken data sources, images that need to be organized or just to get a quick count of …

Read more “Search Directory Trees with Python”

Powered by WordPress Inspiro WordPress Theme by WPZOOM