getting local system information with python

Justin Ezequiel justin.mailinglists at gmail.com
Fri Mar 16 02:57:09 EDT 2007


On Mar 16, 2:27 pm, Astan Chee <s... at al.com.au> wrote:
> Hi,
> I have a python script and I want to check what operating system it is
> on and what the current local machine name is.
> How do I do it with python?
> Thanks!
> Astan

import platform
platform.uname()




More information about the Python-list mailing list