I know in linux it is as simple as /dev/sda but in Windows how do you open a disk and start reading data at the low level?
In python I've tried:
f = open("K:", "r")
and I get this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 13] Permission denied: 'K:'
I get this error even as administrator.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…