Study of polypyrrole film as redox electrode