send file folder to folder
# Python program to explain os.link() method
# importing os module
import os
# Source file path
src = 'D:\html\yt1\jagg'
# Destination file path
dst = 'D:\html\yt\jagg'
# Create a hard link
# pointing to src named dst
# using os.link() method
os.link(src, dst)
print("Hard link created successfully")
Comments
Post a Comment