Testing for win95 vs. win98 vs. winNT?

David Ascher da at ski.org
Fri May 7 15:10:51 EDT 1999


On Fri, 7 May 1999, Aahz Maruch wrote:

> In article <Pine.WNT.4.04.9905070921310.78-100000 at rigoletto.ski.org>,
> David Ascher  <da at ski.org> wrote:
> >
> >Ah, yes, that's the kind of hack I was looking for.  Except I need to know
> >about win95 vs. win98.  
> 
> It might help if you explained why you needed this info; then we might
> be able to figure out a behavior-based hack to detect whether that
> capability was present.  (E.g., Win95OSR2.1 is awfully similar to Win98;
> are you sure what you're looking for is *not* in 2.1?)

Good point.  I've decided to not get the subplatform info, and instead do
a reasonable search for the DLL's.  More likely to be accurate.

--david





More information about the Python-list mailing list