A group of new photoactive polyamides (PAs) based on pyridine with pendant group such as xanthene was synthesized from new diamine and available dicarboxylic acids. The structure of diamines and PAs were completely defined by FTIR and NMR. These polymers showed flourescence emission upon irradiation with UV light and can be candidate for applications in electroluminescent devices.