environment fingerprint

Discussion in 'Python' started by Jabba Laci, Jan 29, 2013.

  1. Jabba Laci

    Jabba Laci Guest

    Hi,

    I have a script that I want to run in different environments: on
    Linux, on Windows, on my home machine, at my workplace, in virtualbox,
    etc. In each environment I want to use different configurations. For
    instance the temp. directory on Linux would be /tmp, on Windows
    c:\temp, etc. When the script starts, I want to test the environment
    and load the corresponding config. settings. How to get an
    OS-independent fingerprint of the environment?

    Thanks,

    Laszlo
     
    Jabba Laci, Jan 29, 2013
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Javier Camacho

    Microsoft FingerPrint Reader

    Javier Camacho, Sep 16, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    5,708
    =?Utf-8?B?Sm9obg==?=
    Oct 21, 2005
  2. pvs
    Replies:
    10
    Views:
    1,326
  3. Replies:
    1
    Views:
    6,165
    JScoobyCed
    Nov 7, 2005
  4. Replies:
    2
    Views:
    3,511
    James Harvey
    Apr 18, 2006
  5. emrefan
    Replies:
    6
    Views:
    3,949
    emrefan
    Aug 29, 2006
  6. kpoan
    Replies:
    0
    Views:
    1,185
    kpoan
    Sep 7, 2006
  7. durumdara

    [Off] WXP Fingerprint + Python...

    durumdara, Jan 2, 2007, in forum: Python
    Replies:
    0
    Views:
    404
    durumdara
    Jan 2, 2007
  8. pradeep
    Replies:
    5
    Views:
    416
    Vladimir Lushnikov
    Apr 27, 2006
Loading...