TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #197 · 4 јан.

Подразумеваемые неймспейсы или неявные пакеты. Этот функционал добавлен в Python 3.3 Что он означает? Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py. Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета". Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта. Конечно, не любую в файловой системе, а только те что находятся в sys.path. Это значит, что теперь __init__.py нужно делать только если: 🔸 вам требуется создать код инициализации пакета 🔸 нужна совместимость со старыми версиями Python На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего. Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов. repo_name/ my_library/ __init__.py main.py examples/ exam1.py exam2.py В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет. Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет! #basic#pep

Hashtags

Резултати

Пронајдени 60 слични објави

Пребарај: #mpox

当前筛选 #mpox清除筛选
Egountchi Behanzin Officiel

@egountchibehanzinOfficiel · Post #7011 · 15.08.2024 г., 18:26

ALERTE 🚨 ! SANTE 🦠☢️ L’Europe va envoyer en urgence 200 000 vaccins en Afrique contre la variole du singe. Vous voyez venir la chose ? Cette maladie fait ravage en Occident mais subitement, ils vont envoyer des vaccins en Afrique. Ils ont raté leur plan avec le Covid-19, il fallait bien s’y attendre qu’ils allaient revenir avec une autre maladie sur le continent. Malheureusement, puisque nos dirigeants sont complices, les populations seront encore des victimes. L'Organisation Mondiale de la Santé (OMS) a récemment déclaré une urgence sanitaire mondiale face à la flambée de cas de variole du singe, ou Mpox. Si le virus est connu pour circuler en Afrique, les chiffres actuels soulèvent de nombreuses interrogations. En effet, le taux de mortalité annoncé est bien supérieur à celui des précédentes épidémies, atteignant jusqu'à 3,7% selon l'OMS. Ce chiffre est d'autant plus surprenant que la plupart des décès surviennent chez des personnes déjà affaiblies par le VIH. De plus, la nature des lésions observées laisse penser à une nouvelle souche du virus, potentiellement issue de manipulations en laboratoire. Les experts s'inquiètent également des conséquences de la vaccination massive. Certains craignent que les vaccins ne favorisent l'émergence de nouvelles variantes, voire la résurgence de la variole humaine. Ps: En Août 2022 en France🇨🇵 plus de 2000 cas de #Mpox avaient été recensés, et plus de 95% des cas venaient des rapports sexuels homme-homme ( homosexuels) @egountchibehanzinTV

Hashtags

Egountchi Behanzin Officiel

@egountchibehanzinOfficiel · Post #7001 · 14.08.2024 г., 19:11

🦠 La variole du singe (#Mpox) se transmet lors de rapports sexuels, qu’ils soient homosexuels ou hétérosexuels, mais peut aussi se diffuser par contact avec des objets contaminés, des lésions cutanées, ou possiblement par simples gouttelettes respiratoires. Des cas de transmission entre enfants à l’école et au sein de familles ont été identifiés au Congo 🇨🇩 . Voici les étapes de transmission du virus selon une infographie du Parisien : @egountchibehanzin

Hashtags

In epidemiological week 41, our National #Mpox Emergency Operations Centre reported 102 confirmed cases and 0 deaths of #mpox. 🔗 Download our situation report for an update on the #mpox situation in Nigeria and national response activities⬇️ https://ncdc.gov.ng/diseases/sitreps/?cat=8&name=An%20Update%20of%20Monkeypox%20Outbreak%20in%20Nigeria

Hashtags

In epidemiological week 40, our National #Mpox Emergency Operations Centre reported 6 confirmed cases of #mpox. The total confirmed cases include a backlog of 13 cases from epi week 39. 🔗 Download our situation report for an update on the #mpox situation in Nigeria and national response activities⬇️ https://ncdc.gov.ng/diseases/sitreps/?cat=8&name=An%20Update%20of%20Monkeypox%20Outbreak%20in%20Nigeria

Hashtags

Is it #Mpox? Be aware of these symptoms: ❗️Rash containing pus on the face, palms, soles of the feet and genitals ❗️Persistent headaches ❗️Sudden fever ❗️Swollen lymph nodes ❗️Body pain and weakness If you experience any of these symptoms, seek immediate medical attention. Do not self-medicate! Early diagnosis and treatment are crucial for managing #mpox.

Hashtags

In epidemiological week 39, our National #Mpox Emergency Operations Centre reported 5 confirmed cases of #mpox. This includes a backlog of 3 cases from epi week 38. 🔗 Download our situation report for an update on the #mpox situation in Nigeria and national response activities⬇️ https://ncdc.gov.ng/diseases/sitreps/?cat=8&name=An%20Update%20of%20Monkeypox%20Outbreak%20in%20Nigeria

Hashtags

In epidemiological week 38, our National #Mpox Emergency Operations Centre reported 5 confirmed cases of #mpox. This includes a backlog of 2 cases from epi week 37. 🔗 Download our situation report for an update on the #mpox situation in Nigeria and national response activities⬇️ https://ncdc.gov.ng/diseases/sitreps/?cat=8&name=An%20Update%20of%20Monkeypox%20Outbreak%20in%20Nigeria

Hashtags

Our #Mpox situation report for week 37, 2024 has been published. Our weekly situation reports provide an update on the current #mpox situation in Nigeria and national response activities. 🔗 Download the situation report via: https://ncdc.gov.ng/diseases/sitreps/?cat=8&name=An%20Update%20of%20Monkeypox%20Outbreak%20in%20Nigeria

Hashtags

Our #Mpox situation report for week 36, 2024 has been published. Our weekly situation reports provide an update on the current #mpox situation in Nigeria and national response activities. 🔗 Download the situation report via: https://ncdc.gov.ng/diseases/sitreps/?cat=8&name=An%20Update%20of%20Monkeypox%20Outbreak%20in%20Nigeria

Hashtags

#Mpox spreads easily from one person to another through contact with: ➡️Respiratory fluids of an infected person ➡️Body fluids of an infected person ➡️contaminated materials of an infected person If you or someone you know observes symptoms associated with #mpox, immediately visit a health facility for treatment.

Hashtags

Our #Mpox situation report for week 35, 2024 has been published. Our weekly situation reports provide an update on the current #mpox situation in Nigeria and national response activities. 🔗 Download the situation report via: https://ncdc.gov.ng/diseases/sitreps/?cat=8&name=An%20Update%20of%20Monkeypox%20Outbreak%20in%20Nigeria

Hashtags

ПретходнаСтраница 1 од 5Следна