A selection of the week’s best photos from across the continent and beyond:
Also on Friday, this boy has fun with chrysanthemums during the harvest in northern Egypt.
Supporters of Chad’s Prime Minister, Succès Masra, fling flags into the air at a rally for his newly announced presidential bid.
Members of Fire Tabernacle Prophetic Ministry’s choir sing for South Africa’s President Cyril Ramaphosa on Sunday.
Barbie Kyagulanyi and her husband Robert – better known as Bobi Wine – walk the Oscars red carpet on Sunday. He features in a film that was nominated in the documentary category.
Later that day, Lupita Nyong’o presented fan favourite Da’Vine Joy Randolph with the award for Best Supporting Actress.
Ghanaian-American singer Amaarae, best known for her song Sad Girlz Luv Money, performs in Germany the previous day.
Also on Saturday, Liberia’s former President Ellen Johnson Sirleaf is honoured with a Forbes Lifetime Achievement Award, in the United Arab Emirates.
Miss Tanzania Halima Kopwe competes at the Miss World contest, also on Saturday.
Ramadan preparations are under way in Senegal on Sunday…
The Muslim holy month officially begins with the sighting of a crescent moon – as seen here in Cape Town on Monday.
Kunafa – made from shredded pastry – is a popular Ramadan snack in Egypt.
On Sunday in the French city of Tolouse, Cameroon’s entries in the Chocolatine World Cup await crispy completion in the oven.
Cucumbers and fresh produce line this market in Mogadishu, Somalia, on Monday.
On the same day, this mountain gorilla enjoys a moment of peace and quiet in one of Uganda’s national parks.
Passengers travel by minibus on the outskirts of Senegal’s capital, Dakar, the day before.
Also in Dakar this T-shirt shows jailed opposition figurehead Ousmane Sonko and the man he picked to replace him as leader, Bassirou Diomaye Faye, who has himself been detained, ahead of next week’s election.
On Monday in Senegal’s capital city, the country’s first female presidential candidate – Anta Babacar Ngom – greets supporters.
Shoemaker Ifunanya Ifwobu crafts loafers for her clients at her Lagos workshop on Friday.
Cameroon’s Francis Ngannou blocks a blow from boxer Anthony Joshua at Saturday’s fight in Saudi Arabia, which was comfortably won by the British heavyweight.
Members of the Africa Roho Msalaba church in Nairobi, Kenya, perform a ritual they call “throwing babies in the air”. Infants in this religious community are not to be seen by strangers until they are two years old – then they are paraded publicly and thrown skyward in celebration.
Tobacco marketing season has begun in Zimbabwe, where this man samples the produce on Wednesday.
And on Saturday in Durban, South Africa, a surfer leaps into the ocean at sunrise.