🌐Weekly News Digest [ January 5 – January 11 ]
That was the first full-fledged week of the new year of 2026, during which rulers forgave those who polluted their land, dismissed those who were managing their oil.
💡Here are the key highlights:
🇧🇼 Botswana
— Botswana Invites Russia to Invest in Its Mining Sector
🇨🇩 DR Congo
— Congolese clergy speaks against the US-DRC agreement.
— The government allows processing units to accept ore from artisanal miners amid protests
🇬🇶 Equatorial Guinea
— Equatorial Guinea moves its capital to a brand new city built on oil revenues
🇬🇭 Ghana
— A Ghanaian prophet predicts the discovery of major onshore oil deposits in Ghana
— Ghana hopes to keep its oil fields viable until 2040
🇲🇱 Mali
— JNIM militants attack a gold mine in southeastern Mali
🇳🇪 Niger
— Niger replaces its oil minister
🇳🇬 Nigeria
— President reshuffles the country's oil sector management
🇸🇩 Sudan
— Sudan’s central bank and Sudanese Mineral Resources Company set up a joint commission to curb illegal gold exports.
🇺🇬 Uganda
— Uganda to start its first oil exports by October, despite environmental concerns
🇿🇲 Zambia
— First report on the toxic pollution caused by a Chinese company designates 160 people as victims
— Zambia is concerned over the safety of its workers in southern DRC
#NewsDigest
➡️ Follow to stay informed - @devilsbelow
# The standard string repr for dicts is hard to read:
»> my_mapping = {'a': 23, 'b': 42, 'c': 0xc0ffee}
»> my_mapping
{'b': 42, 'c': 12648430. 'a': 23} # 😞
# The "#json" module can do a much better job:
»> import json
»> print(json.dumps(my_mapping, indent=4, sort_keys=True))
{
"a": 23,
"b": 42,
"c": 12648430
}
# Note this only works with dicts containing
# primitive types (check out the "pprint" module):
»> json.dumps({all: 'yup'})
TypeError: keys must be a string
История(12м) как в Альфа-Банке сокращали размер JSON файла, который передается на устройство для работы SDUI. Решением стала шаблонизация для отказа от одинаковых блоков UI с разными данными
#оптимизация#json
¿Que puede hacer este bot?
@apimaniaBot
Con éste bot puedes crear PDF a partir de páginas web, convertir texto a imágenes, convertir tablas HTML a json y mucho más
Idioma: español
(Visto en @botsgram_cu)
#pdf#web#texto#imágenes#hrml#json