The officers were making enquiries about a burglary in the area. A shot was fired at their marked police car in Knatchbull Road, SE5 at approximately midday.
The unarmed officers were not injured.
A 26-year old man was arrested on suspicion of attempted murder, and was held in custody at a south London police station.
Simon Wroe on Twitter said that roads around Myatt’s Field had been cordoned off.
Detective Chief Inspector Rebecca Reeves, who is leading the investigation said: “This incident happened at a busy time of day. We are interested in hearing from any local people who feel they have information that could help the investigation.”
Any witnesses or anyone with any information should call police on 101 or Crimestoppers anonymously on 0800 555 111.