In situ one-pot rapid layer-by-layer assembly of polymeric films as an active layer of a photoactive device via alternation of reductive and oxidative electropolymerization has been demonstrated. This novel fabrication without moving or changing experimental gears would be a powerful strategy to develop automated layer-by-layer machines.