[Tutor] os.name on Windows 98

Rodrigues op73418@mail.telepac.pt
Fri Jul 11 05:34:02 2003


> -----Original Message-----
> From: tutor-admin@python.org
> [mailto:tutor-admin@python.org]On Behalf Of
> Tony Cappellini
> Sent: sexta-feira, 11 de Julho de 2003 0:16
> To: Magnus Lycka
> Cc: tutor@python.org
> Subject: Re: [Tutor] os.name on Windows 98
>
[text snipped]
> > Why does your program need to know this?
>
> Because different drivers are required to talk to various
> hardware, on
> each OS, and I need to make the differentiation in order to
> know which
> driver to use.
>

In the upcoming 2.3 there is a module called platform for, and I quote

"find out everything you always wanted to know about your platform,
but were afraid to ask. "

> thanks
>
> Tony
>

With my best regards,
G. Rodrigues