Velocity Reviews

Velocity Reviews (
-   Python (
-   -   environment fingerprint (

Jabba Laci 01-29-2013 01:18 PM

environment fingerprint

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?



All times are GMT. The time now is 01:03 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.