OS in Python
OS OS stand for operating System, os python ka built in module hai to ise hme install nhi krna padega , OS module hame operating system se related operation krne mai madad krta hai jaise ki current working directory dekhna ya fir usay change krna , os module ki madad se hm koi bhi folder kisi bhi drive mai create kr skte hai. Aayiye ise aur clear banate hai example ki madad se ------------------------ import os #os module ko import krne ke liye ---------------------------------------------------------------- print(os.getcwd()) output: C:\Users\hp #cwd stand for current working directory , getcwd function hame hamari current working directory batata hai ----------------------------------------------------------- print(dir(os)) output: ['DirEntry', 'F_OK', 'MutableMapping', 'O_APPEND', 'O_BINARY', 'O_CREA...