python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Extract full Path and File Name
Attempting to write a function that walks a file system and returns the absolute path and filename for use in another function.
Example "/testdir/folderA/222/filename.ext".
Having tried mult...
jjohnson
Votes: 0
Answers: 2
python - changing date modified folder output
I have this python code which outputs the directory last modified date output.
import os
import time
print (time.ctime(max(os.stat(root).st_mtime for root,_,_ in os.walk('/Users/<username>/Desk...
Lacer
Votes: 0
Answers: 3
Python: Unicode characters in file or folder names - os.walk and magic
I was advised to ask a new question linked to Python: Unicode characters in file or folder names.
The former was about reading the path from the list, this one is about walking through folders and sub...
user2097141
Votes: 0
Answers: 0
Python os.walk() get files before directories
I want to simulate the -depth argument of bash find command using python os.walk().
From the Linux manual page:
-depth Process each directory's contents before the directory
itself.
How...
Mike Delta
Votes: 0
Answers: 1