@shreyaschavhan5522

+ os.getcwd()                                            => get current working directory
+ os.chdir(<path>)                                    => change directory 
+ os.listdir()	                                            => list directory
+ os.mkdir(<dirname>)                           => create a directory
+ os.makedirs(<dirname>)                    => make directories recursively
+ os.rmdir(<dirname>)	                   => remove directory
+ os.removedirs(<dirname>)                => remove directory recursively
+ os.rename(<from>, <to>)                   => rename file
+ os.stat(<filename>)                            => print all info of a file
+ os.walk(<path>)	                          => traverse directory recursively
+ os.environ		                                 => get environment variables
+ os.path.join(<path>, <file>)              => join path without worrying about /
+ os.path.basename(<filename>)     => get basename
+ os.path.dirname(<filename>)         => get dirname
+ os.path.exists(<path-to-file>)         => check if the path exists or not
+ os.path.splitext(<path-to-file>)      => split path and file extension
+ dir(os)			                               => check what methods exists

@dev_soda8315

its so sad that this guy has not uploaded any content for over a year now... his tutorials are always the best, most methodically thought out pieces of work on the platform

@codaadoc5302

A tutorial for the sys module would help tremendously. It's difficult to find someone like you who can explain things in such detail as well as show how useful certain things within python can be without half-assing it. Thanks, Corey.

@sreedharIITR

For windows users, print (os.environ.get("HOME")) won't work as there is no HOME folder, instead it is USERPROFILE. So, type USERPROFILE instead of HOME.

@chuanliangjiang7390

It is very excellent tutorial, much better than some paid python tutorial vedios in Udemy
for i in range(1,1000000):
     print('Thank you so much for sharing this wonderful tutorial')

@jordangillard2637

Bless your soul Corey! The os module has always been such a pain to learn. When you first see it in code it's so cryptic. Thanks for breaking it down for us!

@bactran7799

every time I need a tutorial video for Python, Corey is always the best one with really well organized, fully information and easily to remember. Thanks a lot Corey

@khaled-dz8357

The best one i have ever seen in teaching coding . Thank you so much man

@knownwolf

These Python videos are extremely helpful, thank you. I would be grateful if you added chapters. Some of the 10 minute plus videos have a lot of concepts and it would be great to jump back into a specific section when in need of a refresher. Keep up the excellent work and stay Pythonic my friend.

@yomajo

I never read your descriptions, but after seeing what's on your amazons' wish list, I can tell, you aint no ordinary tutor. Respect. Sharp, evolving mind.

@АлексейСоков-ь8и

It is so demonstrating that you can hardly find any questions in the comments - there are only thanks and insparations 😏 The explanation is so clear that it leaves nothing to ask about 💎 Great job 👍

@NicolasChanCSY

For anyone who needs to work with paths and don't want to deal with the forward/backward slashes difference between Linux, Windows, and MacOS, you can consider or at least take a look at the module `Pathlib`. It is simpler and easier to manipulate in my opinion.

My favourite part of the module is its slash operator, e.g. taken from the documentation
```python
>>> p = PurePath('/etc')
>>> p
PurePosixPath('/etc')
>>> p / 'init.d' / 'apache2'
PurePosixPath('/etc/init.d/apache2')
```
Thus, you are free from the long `os.path.join()`  method call introduced in 14:05 and make things cleaner and more readable.

@salkdjfasldkfjsdlk

You are very good at explaining Python modules and their practical uses.

@GihanJayaneththie

Simple, well organized, great for beginners  and informative. Nothing but least speaks English doesn't try to showoff.

@sujithnair232

for Windows users I used HOMEPATH instead of Home , use SET  Command to be able to see all environment variables on CMD
print(os.environ.get('HOMEPATH'))

@turboromy

I was surprised how quick that search was wth os.walk().... and at the same time, wondered why Windows "Find" takes so long.  Thanks for the great teachings.

@sahajjaiswal1074

you are much better than my faculty handling python course....

@zacharysimpson4025

I've been learning python for several months now, and not once did i ever see anything about print(dir(<module>))! Like given!

@mubashirmuhib8339

From 00:02
 The Os Module

From 00:06
 Os Module

From 00:27
 Import the Os Module

From 01:31
 Navigate to a New Location on the Filesystem

From 04:32
 Leading Folders

From 05:27
 Rename a File or a Folder

From 10:09
 Walk Method

From 14:04
 Os Path Join

From 15:49
 Os Path Base Name

From 17:31
 Split Ext

@JoyDavidson

Corey, I hope you are well today. 🤙🤙 I have been sober for one year. We got this.