Run Python Code At Specific Gravity