Python Create Object From Variable Resistor Rheostat