@ncdcgov · Post #4348 · 09.08.2024 г., 09:38
Have you ever heard about #YellowFever❓ What causes it and how does it spread❓ Share your knowledge about #YellowFever with us in this short survey⬇️ 📋 https://forms.gle/QA83FP1XsrhHnXaBA
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #303 · 27 дек.
Наверняка вы замечали, что в Python есть удобная функция для получения переменной окружения os.getenv(NAME) И её "сестра" для создания или изменения переменных окружения os.putenv(NAME, VALUE) Но почему-то putenv() не работает как должно. Энвайромент не обновляется! os.putenv('MYVAR', '1') print(os.getenv('MYVAR')) ... и ничего 😴 Почему так? На самом деле энвайромент обновляется, но это значение не добавляется в словарь os.environ. Откройте исходник функции os.getenv(). Это просто шорткат для os.environ.get() В то время как putenv() это built-in С-функция. Словарь os.environ (или точней класс из MutableMapping) создаётся из энвайромента в момент инициализации. Функция putenv() самостоятельно его не изменяет. В тоже время, когда вы создаёте или изменяете ключ в os.environ, автоматически вызывается putenv() в методе __setitem__(). То есть, технически putenv() всё делает верно, но в os.environ это не отражается. Можно проверить так: >>> os.putenv('MYVAR', '123') >>> os.system('python -c "import os;print(os.getenv(\'MYVAR\'))"') 123 Я объявил переменную в текущем процессе и вызвал дочерний процесс, который её унаследовал и получил в составе os.environ. Аналогично при удалении переменной вызывается еще одна built-in функция unsetenv(), удаляющая переменную из системы. Итого ▫️ Удобней всего явно обновлять переменные через os.environ ▫️ Есть способ неявно создать/удалить переменную через putenv/unsetenv, что не повлияет на os.environ но изменит энвайромент и передаст изменения сабпроцессам. Но так лучше не делать! ▫️os.environ это просто обертка для built-in функций putenv() и unsetenv(). #basic
Hashtags
Пребарај: #yellowfever
@ncdcgov · Post #4348 · 09.08.2024 г., 09:38
Have you ever heard about #YellowFever❓ What causes it and how does it spread❓ Share your knowledge about #YellowFever with us in this short survey⬇️ 📋 https://forms.gle/QA83FP1XsrhHnXaBA
Hashtags
@ncdcgov · Post #3865 · 15.06.2023 г., 09:04
#YellowFever is transmitted through the bite of an infected mosquito. If you experience any of the following symptoms: Bleeding (from the nose, ears, or mouth) ➡️Sudden fever ➡️Body pain ➡️Severe headache Report to a health care facility near you immediately
Hashtags
@ncdcgov · Post #3838 · 16.05.2023 г., 09:34
#Yellowfever is transitted through the bite of an infected mosquito. If you experience any of the following symptoms: Bleeding (from the nose, ears, or mouth) Sudden fever Body pain Headache Report to a health facility near you immediately
Hashtags
@ncdcgov · Post #3868 · 20.06.2023 г., 08:04
#Yellowfever is a vaccine-preventable disease! A single dose of yellow fever vaccine keeps you protected for life. Visit a primary healthcare facility close to you to get the vaccine. #TakeResponsibility to stay safe and healthy.
Hashtags
@ncdcgov · Post #3864 · 14.06.2023 г., 09:00
Mosquito control helps reduce the risk of #Yellowfever infection. Ensure you: ✅Get rid of stagnant water ✅Keep your environment clean ✅Keep your water containers covered properly ✅Wear protective clothing to prevent mosquito bites #TakeResponsibility
Hashtags
@ncdcgov · Post #4318 · 26.06.2024 г., 11:38
As with #cholera, cases of #yellowfever also increase during the rainy season. Mosquito control helps reduce the risk of #Yellowfever infection. Ensure you: ✅Get rid of stagnant water ✅Keep your environment clean ✅Keep your water containers covered properly ✅Wear protective clothing to prevent mosquito bites #TakeResponsibility
@ncdcgov · Post #3736 · 17.02.2023 г., 09:59
A clean environment helps to prevent the spread of infectious diseases. Practice proper environmental hygiene at all times to prevent the spread of diseases such as #LassaFever, #Cholera, #COVID19 and #YellowFever.
@ncdcgov · Post #3872 · 23.06.2023 г., 09:22
A suspected case of #YellowFever is any person with sudden fever, vomiting, serious back pain, with yellowness of the eye and skin appearing within 14 days. Take all sick persons to a healthcare facility immediately for accurate diagnosis and treatment. #YellowFeverInfo
Hashtags
@ncdcgov · Post #4330 · 15.07.2024 г., 09:46
Our guidelines on Infection Prevention & Control for #ViralHemorrhagicFevers include standard operating procedures and checklists to be used in the care & management of VHFs such as #LassaFever & #YellowFever. Healthcare workers are urged to read & share via 🔗https://ncdc.gov.ng/themes/common/docs/protocols/341_1707300274.pdf
@ncdcgov · Post #3703 · 24.01.2023 г., 12:18
Our guidelines on Infection Prevention & Control for #ViralHemorrhagicFevers include standard operating procedures & checklists to be used in the care & management of VHFs such as #LassaFever & #YellowFever Healthcare workers are urged to read & share via https://ncdc.gov.ng/themes/common/docs/protocols/111_1579986179.pdf
@ncdcgov · Post #3819 · 27.04.2023 г., 08:32
#Yellowfever is a vaccine-preventable disease spread through the bite of infected mosquitoes. A single dose of the yellow fever vaccine keeps you protected for life. #GetVaccinated #WorldImmunisationWeek
@ncdcgov · Post #4524 · 06.09.2025 г., 11:48
#Yellow Fever is an acute viral infection spread by the bite of infected mosquitoes . The disease can cause mild illness in some, but in severe cases it may lead to life-threatening complications. 👉 Protect yourself and those around you by: ✔️ Getting vaccinated ✔️ Preventing mosquito bites ✔️ Seeking medical care if symptoms appear Together, we can eliminate the threat of Yellow Fever. 💪✨ #YellowFever#StaySafe#HealthyLiving#NCDCNigeria