One pot biocatalytic synthesis of a biodegradable electroactive macromonomer based on 3,4-ethylenedioxytiophene and poly(l-lactic acid).