block devices

rick ath-admin at vt.edu
Tue Oct 17 23:43:17 CEST 2006


Diez B. Roggisch wrote:
> Reading it? Using read?
> 
> f = open("/dev/foo")
> f.read(1)
> 
> Diez

Wow, I didn't realize it was that simple. Thanks!



More information about the Python-list mailing list