# 1.
import shutil
# new_file = open('f1.txt', 'x')

# 2.
import os
# print(os.path.isfile('f1.txt'))

# 3.
new_file1 = open('f3.txt', 'w')
data = new_file1.write('this is a write file')
print(data)

# 4.
new_file1 = open('f3.txt', 'r')
# shutil.move(r'C:\Users\sudha\venv',r'C:\Users\sudha\PycharmProjects\datatypes')
print(os.getcwd())
# 5.
print(os.path.isfile(r'C:\Users\sudha\Desktop\new.txt'))

