Reading Tapes
Greg Copeland
gtcopeland at earthlink.net
Wed Aug 15 10:00:59 EDT 2001
It's been a while so forgive me if I've got this wrong,
but shouldn't you be doing:
dat = open( '\\\\.\\Tape0' ).read()
Greg
"Juan Huertas" <jhg at galdon.com> writes:
> Hi all.
>
> My pc has a DAT tape (Windows 2000 Tape0) and i need to read the content of
> a tape with unix format, using low level I'ts possible to read from the
> device inside python?.
>
> I try:
>
> dat=open('\\.\Tape0','rb').read()
>
> but the system does not open the file (ilegal file name: \\.\Tape0).
>
> Un saludo.
>
>
>
>
>
--
Greg Copeland, Principal Consultant
Copeland Computer Consulting
--------------------------------------------------
PGP/GPG Key at http://www.keyserver.net
DE5E 6F1D 0B51 6758 A5D7 7DFE D785 A386 BD11 4FCD
--------------------------------------------------
More information about the Python-list
mailing list