# Write a Python program to Get file id of windows file # importing popen from the os libraryfrom os import popen# Path to the file whose id we would# be obtaining (relative / absolute)file = r"C:\Users\Grandmaster\Desktop\testing.py"# Running the command for obtaining the fileid,# and saving the output of the commandoutput = popen(fr"fsutil file queryfileid {file}").read()# printing the output of the previous commandprint(output)