源代码
f = open("demofile.txt", "r") print(f.fileno())
运行结果