Python Imbalance Resources