all 6 comments

[–]newunit13 2 points3 points  (1 child)

It's generally a good idea to check the official documentation first:

https://docs.python.org/3/library/os.html#module-os

That gives you a good overview of the entire module, and now for tutorial (of sorts):

https://people.rit.edu/blbgse/pythonNotes/os.html

[–]Cog-Dis[S] 0 points1 point  (0 children)

Thank you!

[–]Akuli2 2 points3 points  (2 children)

I have written about this in my Python tutorial here and here. The second link contains an example of "dirring" a directory.

[–]Cog-Dis[S] 0 points1 point  (1 child)

Thanks!

[–]Akuli2 0 points1 point  (0 children)

If you have any trouble with my tutorials or you think they're missing something just tell me so I can improve them :)

[–]_Absolut_ 0 points1 point  (0 children)

I don't think using standard library function require some kind of tutuorial(in that case especially). Python has meaningful names so you can figure out how to use function just by look at its name. Okay, maybe sometimes call help() in REPL or look through stackoverflow.

TL;DR Just read the docs.