Win32 or Unix check in python

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

    #1

    Win32 or Unix check in python

    how can you check in python at the beginning if you running the app in
    WIN32 or UNIX.

    please help

  • Erik Max Francis

    #2
    Re: Win32 or Unix check in python

    GujuBoy wrote:
    [color=blue]
    > how can you check in python at the beginning if you running the app in
    > WIN32 or UNIX.[/color]

    import sys
    print sys.platform

    --
    Erik Max Francis && max@alcyone.com && http://www.alcyone.com/max/
    San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
    Some mistakes we must carry with us.
    -- Speaker-to-Animals

    Comment

    Working...