Python Module Level Variable Resistor Functions