The Python Oracle

Calculating a directory's size using Python?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle2

--

Chapters
00:00 Question
00:28 Accepted answer (Score 389)
02:14 Answer 2 (Score 68)
03:02 Answer 3 (Score 28)
04:41 Answer 4 (Score 28)
05:13 Thank you

--

Full question
https://stackoverflow.com/questions/1392...

Accepted answer links:
[os.listdir]: http://docs.python.org/library/os.html?h...
[os.path.getsize]: http://docs.python.org/library/os.path.h...
[os.walk]: http://docs.python.org/library/os.html?h...
[os.path.islink]: https://docs.python.org/3/library/os.pat...
[os.stat]: http://docs.python.org/library/os.html?h...
[scandir]: https://pypi.org/project/scandir/

Answer 3 links:
[question]: https://stackoverflow.com/questions/1094...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #directory

#avk47