os.name

Holger Jannsen holger at phoenix-edv.netzservice.de
Mon Aug 2 10:38:28 CEST 1999


Thank you,

that'll have to do it.

Ciao,
Holger

Arpad Kiss schrieb:
> 
> Emile van Sebille wrote:
> >
> > It sure would.  Any idea how you would get the result back into python
> > without having the dos command windows flash up on the screen?
> On Windows NT I use win32pipe:
> i,o,e=win32pipe.popen3('ver')
> ret=o.readlines()
> >
> > but-the-you-wouldn't-have-the-fun-of-parsing-the-file-ly yr's
> >
> > --
> >
> > Emile van Sebille
> > emile at fenx.com
> > -------------------
> >
> > Felix Puetsch <puetsch at gmx.de> wrote in message
> > news:7nuac5$3rs$1 at chief.death.de...
> > > emile at fenx.com (Emile van Sebille) wrote in
> > > <Ggto3.4361$VL2.467372 at news.direcpc.com>:
> > >
> > > >By the way, in windows at a command prompt:
> > > >
> > > >95,98:    net config
> > > >nt:       net config [server|workstation]
> > > >
> > > >gives a line that starts : Software version
> > >
> > > Wouldn't "ver" be easier?
> > >
> > > --
> > > Felix Pütsch
> >
> > --
> Arpad Kiss




More information about the Python-list mailing list