fixed python template
fix python setting
Split files
fix some