Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search and Sort Shapefiles
#3
(May-12-2017, 03:39 PM)babakkasraie Wrote:
folder = "C:/GIS_database/module5/module5data.mdb"
for path,dirs,files in os.walk(folder):
An .mdb file is probably not a folder, so os.walk wouldn't return anything at all. Which is probably why you're not seeing any output at all :p
Reply


Messages In This Thread
Search and Sort Shapefiles - by babakkasraie - May-12-2017, 03:39 PM
RE: Search and Sort Shapefiles - by Low_Ki_ - May-12-2017, 03:45 PM
RE: Search and Sort Shapefiles - by nilamo - May-12-2017, 03:58 PM
RE: Search and Sort Shapefiles - by babakkasraie - May-13-2017, 03:48 AM
RE: Search and Sort Shapefiles - by buran - May-13-2017, 04:00 AM
RE: Search and Sort Shapefiles - by babakkasraie - May-13-2017, 04:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  sort search results by similarity of characters jacksfrustration 5 1,708 Feb-16-2024, 11:59 PM
Last Post: deanhystad
Photo a.sort() == b.sort() all the time 3lnyn0 1 1,990 Apr-19-2022, 06:50 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020