A selection of the week's best photos from across the continent and beyond:
Getty Images
On Monday graduates collect their bachelor degrees in Guinea's capital, Conakry...
Getty Images
... Posters are all over the city reminding people of the presidential election on Sunday in which Alpha Condé will be running for a third term...
Getty Images
... Cellou Dalein Diallo is running against Mr Condé and his supporters, like this one carrying a painting of him, are drumming up support.
Reuters
On Monday a protesters stands on the roof of a car and demands action against police brutality in Nigeria's commercial capital Lagos...
Getty Images
... two days later another protester finds a more creative approach to catching the world's attention.
Reuters
You wait ages for one rickshaw and then five turn up at once in Somalia's capital Mogadishu on Wednesday.
Getty Images
On Wednesday volunteers in Johannesburg, South Africa, prepare food parcels for people struggling after lockdown.
Reuters
On Monday children in Kenya returned to their schools for the first time since they were closed in March to reduce the spread of coronavirus.
Getty Images
Elsewhere in South Africa on the same day, people hold hands to pray in the town of Senekal that is the centre of tensions over attacks on white farmers.
Getty Images
On Friday the French President Emmanuel Macron looks on as the 75-year-old French aid worker Sophie Petronin hugs her family after being released by kidnappers who had taken her hostage in Mali in 2016.
Getty Images
On Monday, the UN-recognised Libyan Government of National Accord detonate mines which had been found near the capital Tripoli.