block devices

rick ath-admin at vt.edu
Tue Oct 17 17:43:17 EDT 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