of aniline and up to about 50 by weight of pyrrole or a substituted pyrrole such as n methylpyrrole and 3 4 dimethylpyrrole as noted the polymerization is conducted in the presence of an oxidizing agent generally the polymerization is accomplished in the presence of about 0 8 to about 2 moles of the oxidizing agent per mole of aniline various oxidizing agents may be utilized to effect the polymerization of the aniline and useful oxidizing agents include peroxides such as sodium peroxide hydrogen peroxide benzoyl peroxide etc alkali metal chlorates such as sodium chlorate and potassium chlorate alkali metal perchlorates such as sodium perchlorate and potassium perchlorate periodic acid alkali metal iodates and periodates such as sodium iodate and sodium periodate persulfates such as metal or ammonium persulfates and chlorates alkali metal and alkaline earth metal persulfates may be utilized the metal and ammonium persulfates particularly alkali metal or ammonium persulfates are especially useful as the oxidizing agent polymerization of the aniline as noted above also is conducted in the presence of an acid in one embodiment from about 0 1 to about 1 6 or even 2 moles of an acid may be used per mole of aniline or mixture of aniline and any of the comonomers described above in another embodiment from about.