OS module in Python. How to create and delete folders?? Advanced Python Tutorials...

Опубликовано: 23 Март 2026
на канале: Arshad Kareem
81
12

Hello Programmers.

In this video we had seen how to use " os " module in python. we had seen how to create and delete folders using python...

#ProgrammingWithArshad #OSmodulePython

SOURCE CODE :
"
import os

os.system("control panel")
os.startfile("microsoft.windows.camera:")
os.startfile("www.instagram.com")

os.mkdir("Python")

files = os.listdir()
print(files)

os.chdir("Python")

files_new = os.listdir()
print(files_new)

os.rmdir("Python")

1
"

Visit this playlist for more amazing videos :    • Advanced Python Tutorials  

Like, Comment, Share And Subscribe To Programming With Arshad

----- Channel Link -----
   / @arshadkareem7265  

----- My Website -----
https://arshad272.github.io/home.html

----- Contact Me -----
https://arshad272.github.io/contact.html

----- Instagram -----
https://www.instagram.com/invites/con...

----- WhatsApp Group -----
https://chat.whatsapp.com/BptwWNWZ0RU...

----- LinkedIn -----
  / arshad-k-788855185  

----- Twitter -----
https://twitter.com/Arshad84950201?s=08