extracting python resources into a separate page