pylab_ml.common.environment

This script contains functions to handle the environment, such as inserting paths to sys.path and getting environment variables. It also includes a function to replace environment variables in a dictionary with their values.

Functions

checkNetworkPath(name[, network])

Check if the given path name is a network path on Windows and adjust it if necessary.

environ_getpath(self, key)

Get the value of an environment variable and adjust it for network paths on Windows if necessary.

path_insert(self, path[, check, append])

Insert a path into sys.path if it does not already exist.

replaceEnvs(dictionary[, network])

Recursively replace environment variables in a dictionary with their values.