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()