Python gravity