getting local system information with python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Astan Chee

    #1

    getting local system information with python

    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
  • Justin Ezequiel

    #2
    Re: getting local system information with python

    On Mar 16, 2:27 pm, Astan Chee <s...@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( )

    Comment

    Working...