#pythonmodules
A folder or a directory is a location on a computer to store and organize multiple files and sub-directories. Python has a module named os that makes it really easy to work with directory and file management tasks.
🔥 Want to learn Python, the right way? Get my interactive Python course: https://bit.ly/right-python
In this video, we will learn to use the os module to perform various directory operations like creating, renaming, and removing directories with the help of examples.
~
Run Python Online: https://www.programiz.com/pyth....on-programming/onlin
Programs in this video: https://github.com/programiz/p....ython-course/blob/ma
Python Directory and Files Management (text-based tutorial): https://www.programiz.com/pyth....on-programming/direc
Python Object-Oriented Programming: https://youtu.be/pnWINBJ3-yA?l....ist=PL98qAXLA6afscIX
Watch our videos and revise them with our Python App!
Download here for Android: https://bit.ly/learn-python-android
Download here for iOS: https://apple.co/3iPm6Sx
Timestamps:
0:00 Intro
0:24 Getting Current Directory
1:10 Changing Directory
3:22 Listing all Directories and Files
4:30 Making a New Directory
5:18 Renaming a Directory or a File
6:11 Removing Directory or File
Find Programiz elsewhere:
Facebook: https://www.facebook.com/programiz
Instagram: https://www.instagram.com/_programiz/
LinkedIn: https://www.linkedin.com/company/programiz
Website: https://www.programiz.com
-------------------------------------------------
Python os Module (Work with Directories) #27
#programiz #python #programming #pythonmodules
A module is a file containing Python code that we can use in our program. 🔥 Want to learn Python, the right way? Get my interactive Python course: https://bit.ly/right-python
In this video, we will understand why modules are used and learn how to import them into our program. We will then learn to create custom modules with the help of examples.
~
Run Python Online: https://www.programiz.com/pyth....on-programming/onlin
Programs in this video: https://github.com/programiz/p....ython-course/blob/ma
Python Modules (text-based tutorial): https://www.programiz.com/pyth....on-programming/modul
Python Object-Oriented Programming: https://youtu.be/pnWINBJ3-yA?l....ist=PL98qAXLA6afscIX
Watch our videos and revise them with our Python App!
Download here for Android: https://bit.ly/learn-python-android
Download here for iOS: https://apple.co/3iPm6Sx
Timestamps:
0:00 Intro
0:19 Python modules
2:07 Renaming modules
3:00 Python from...import statement
4:54 The dir() function
6:24 Custom modules
Download VS Code: https://code.visualstudio.com/download
Find Programiz elsewhere:
Facebook: https://www.facebook.com/programiz
Instagram: https://www.instagram.com/_programiz/
LinkedIn: https://www.linkedin.com/company/programiz
Website: https://www.programiz.com
-------------------------------------------------
Use Python Modules (to Write Clean Code) #23
#python #learnprogramming #programiz #pythonmodules