Reading Tapes

Marc Christiansen tolot at solar-system.dynodns.net
Wed Aug 15 19:07:00 CEST 2001


Greg Copeland <gtcopeland at earthlink.net> wrote:
> It's been a while so forgive me if I've got this wrong,
> but shouldn't you be doing:
> dat = open( '\\\\.\\Tape0' ).read()

Or, less ugly (IMHO) using a raw string:
dat = open(r'\\.\Tape0').read()

Ciao
  Marc



More information about the Python-list mailing list