python tricks