Convert String Variable To Int Python Code