"""start of script
file name: PythonOSModules
author: neha
tool: pycharm
created:19/02/2021
"""
import os
print(os.name)
print(os.path)
print(os.getcwd())
print(os.chdir('C:\\Users\\Acer\\PycharmProjects\\Python language\\PythonScripting'))
print(os.getcwd())
print(dir(os))
print(os.listdir())
#os.mkdir("python")
#os.makedirs("C/program")
#os.rename("abc.txt","pqr.txt")
#print(os.environ.get('Path'))
#print(os.path.join("C:\\", "pqr.txt"))
#print(os.path.exists("C:\\Users\Acer\PycharmProjects\Python language\PythonScripting\C\program"))
#print(os.path.isdir("C:\\Users\Acer\PycharmProjects\Python language\PythonScripting\C\program"))
#print(os.path.isfile("C:\\Users\Acer\PycharmProjects\Python language\PythonScripting\C\program"))
#os.removedirs('C/program')
#print(os.stat('pqr.txt'))
print(os.walk('\\Users\Acer\PycharmProjects\Python language\PythonScripting'))




