Introduction
Setup
Operators
variable
String
Number
Dtype & Comment
Lists
Tuples
Sets
Dictionaries
if else statement
For Loop
While Loop
iterator & iterable
Pre-Built functions
Function
Decorators
Generators
Types of errors
Exceptions Handling
OOP
Regular expression
Create module
OS module
Date module
Random module
Math
Statistics module
Exercise 1
Exercise 2
Exercise 3
Learn Data Structure & Algorithm
Learn Numpy
Learn Pandas
Learn Matplotlib
Learn Seaborn
Learn Statistics
Learn Math
Learn MATLAB
Learn Machine learning
Learn Github
Learn OpenCV
Learn Deep Learning
Learn MySQL
Learn MongoDB
Learn Web scraping
Learn Excel
Learn Power BI
Learn Tableau
Learn Docker
Learn Hadoop
To do this You have two functions:
1.makedirs():
If we want to create folder inside folder(like
myfilder/subfol/main folder) then use this function.
2.mkdir():
If we simply want to create a folder then use this function.
But we can also use makedirs() function to create a folder.
Suppose in E drive we have two folders. Inside these folders, we have some folders and files, and also inside these folders, we have some folders. Let's see that in E drive how many files or folders are present, the name of these folders or files, and folder location. To do this we will use for loop and walk() function. Inside of the walk function, we will pass the path.