The simplest way would be a 2 electrodes configuration, deeps into the Py solution, then sweep potential on a window containing the oxidation process. You should well dimension your counter electrode in order to have at least the same developed surface as your carbon screen. Use an ozone cleaner on both electrode if you possess one. Use a slow potential scan if you are not in a hurry, the quality of the deposition will be enhanced. Finally, care not to deposit a too thick layer of PPy or it will tend to delaminate more easily !
Article The electrodeposition of polypyrrole films from aqueous solutions
A screen-printed carbon electrodes can be used as working electrode while the platinum disk and Ag/AgCl use as counter and reference electrodes, respectively. Electrochemical polymerization is carried out potentiostatically at +1 V vs. Ag/AgCl until a final optimum charge deposit (50 mC/cm2) is reached
electrolyte selection: in aqueous solution, the monomer is not soluble, a surfactant is generally needed; in organic solvents (e.g. Acetonitrile), you can get a high concentration one, which would result in a very thick layer.
scan cycles: it should be carefully tuned due to the demand for your case. If you deposit in a 20 mM solution, 2-3 cycles are enough to get a ~20 nm film.
If you do the electropolymerization in acetonitrile, you must ensure to be free of molecular oxygen in it (and water, so use high grade like HPLC grade) . N2 bubbling ensure to evacuate most of it. So IMO it is not mendatory to keep the bubbling while electropolymerization, but do it before in a perfectly sealed recipient.
I have been trying to electropolymerize py on a SPCE , I am doing it as follows: voltage range: 0.0 -0.8 V, Scan rate: 0.01 V/S and 4 cycles after optimization. You can find a bunch of literature.