Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Load XML and iterate through tags
Post: Load XML and iterate through tags

Hi. I'm trying to use Python (3.6.5) and lxml to iterate through an existing XML file. I would like to take the XML file's opening tag names and create a folder based on the XML structure and tag n...
jkimrey General Coding Help 1 2,449 Apr-30-2018, 07:49 PM
    Thread: Finding directory based on wildcard?
Post: RE: Finding directory based on wildcard?

(Apr-24-2018, 01:41 PM)mlieqo Wrote: maybe something like this: import os def search_dir(starting_directory, string_to_search): directory_list = [] for directory in [x[0] for x in os.walk(...
jkimrey General Coding Help 4 3,420 Apr-24-2018, 02:20 PM
    Thread: Finding directory based on wildcard?
Post: Finding directory based on wildcard?

Hi. I'm trying to create a function that will return a (windows) directory based on a wildcard. For instance, my starting directory is C:\users\auser, and I would like to search through all (sub) di...
jkimrey General Coding Help 4 3,420 Apr-24-2018, 01:07 PM

User Panel Messages

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