Python program to create a folder using mkdir() and makedirs() method

Опубликовано: 29 Октябрь 2024
на канале: The Programming Portal
28,799
323

In this video, you will learn a python program to create a directory or folder using mkdir() and makedirs() method.
We will also learn how to handle exceptions and join multiple paths in python.

source code : https://theprogrammingportal.com/Pyth...
GIT : https://github.com/TheProgrammingPort...

mkdir() in python - https://docs.python.org/3/library/os....
makedirs() in python- https://docs.python.org/3/library/os....
exists() in python - https://docs.python.org/3/library/os....
join multiple paths in python - https://docs.python.org/3/library/os....

https://docs.python.org/3/library/exc...
https://docs.python.org/3/library/exc...


In this video you will learn:
how to create a folder in python
how to create a intermediate folder in python
how to join multiple path in python
mkdir() in python
makedirs() in python
Exception handling in python
os module in python
if condition in python
for loop

Want to learn more from me?

Python examples complete Playlist :
   • python program for string palindrome  
Java examples complete Playlist :
   • Java Factorial Program  

#PythonTutorial
#PythonTutorialForBeginners
#PythonProgramToCreateAFolder
#FileHandingInPython
#PythonExamples
#PythonDirectoryTutorial
#DirectoryInPython
#ExceptionHandlingInPython

Subscribe to my other channel for random videos:
IndianBox :    / @indianbox1736  

Follow us on:
Facebook :   / theprogrammingportal  
Instagram :   / theprogrammingportal  

Support:
Patreon :   / theprogrammingportal  

Keep Coding!