@ncdcgov · Post #4380 · 16.09.2024 г., 08:18
What is #diphtheria❓ Who is most at risk of getting infected❓ What are the signs and symptoms of #diphtheria infection❓ Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #281 · 18 авг.
Что-то вы гоните насчет "привычного вида формата 755 и 644". Я вот вообще не понял что это!😳 Действительно, что означают цифры которые мы получили в прошлом посте? Это кодировка, заключающая в себе режимы доступа к файлу. Подробней можно почитать в статье про chmod. Там можно увидеть альтернативное обозначение того же самого с помощью символов r w x, что значит чтение, запись, исполнение. Чтобы преобразовать восьмеричное число в такое обозначение в Python есть готовая функция >>> stat.filemode(0o755) '?rwxr-xr-x' Мы видим 3 группы по 3 символа, дающие 3 типа доступа для 3 типов юзеров. А что за знак вопроса в начале? Давайте передадим в эту функцию необрезанное значение от os.stat >>> stat.filemode(os.stat(path).st_mode) 'drwxr-xr-x' Это данные, которые мы безжалостно обрезали в прошлый раз😼 Первый символ обозначает тип объекта. Это может быть файл (-), директория (d) или симлинк (l). Вот простая схема данной кодировки [1][3][3][3] │ │ │ │ │ │ │ └──> Others Permissions │ │ └─────> Group Permissions │ └────────> Owner Permissions └───────────> File Type (разверните экран если вы с телефона) Если вы попробуете получить пермишены для симлинка то получите пермишены для файла >>> path = '.venv/bin/python3' >>> stat.filemode(os.stat(path).st_mode) '-rwxr-xr-x' Чтобы получить свойства именно симлинка, нужно это явно указать >>> stat.filemode(os.stat(path, follow_symlinks=False).st_mode) 'lrwxrwxrwx' #tricks#basic
Пребарај: #diphtheria
@ncdcgov · Post #4380 · 16.09.2024 г., 08:18
What is #diphtheria❓ Who is most at risk of getting infected❓ What are the signs and symptoms of #diphtheria infection❓ Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4260 · 19.04.2024 г., 09:23
Share Facts NOT Fear❗ 🔗Visit our website for accurate information on #diphtheria and to stay informed! ➡️Factsheet: https://ncdc.gov.ng/diseases/info/D ➡️Public health advisory: https://ncdc.gov.ng/news/435/diphtheria-public-health-advisory-amidst-outbreak-in-nigeria ➡️Healthcare workers advisory: https://ncdc.gov.ng/news/436/diphtheria-health-advisory-for-health-care-workers-amidst-outbreak-in-nigeria ➡️Situation reports: https://ncdc.gov.ng/diseases/sitreps/?cat=18&name=An%20Update%20of%20Diphtheria%20Outbreak%20in%20Nigeria
Hashtags
@ncdcgov · Post #4258 · 17.04.2024 г., 14:10
Q: How does #diphtheria spread? A: #Diphtheria spreads easily through: ➡️Direct contact with infected people ➡️Droplets from an infected person while coughing or sneezing ➡️Contact with contaminated objects/clothing For more FAQs, watch 👇🏼 & share: 🔗 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4253 · 15.04.2024 г., 07:59
Individuals with symptoms suggestive of #diphtheria should report to a healthcare facility immediately for diagnosis and proper treatment. Ensure you take extra precautionary measures while visiting to prevent the risk of spread. Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4237 · 30.03.2024 г., 09:26
Individuals with symptoms suggestive of #diphtheria should report to a healthcare facility immediately for diagnosis and proper treatment. Ensure you take extra precautionary measures while visiting to prevent the risk of spread. Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4236 · 29.03.2024 г., 09:03
Q: How does #diphtheria spread? A: #Diphtheria spreads easily through: ➡️Direct contact with infected people ➡️Droplets from an infected person while coughing or sneezing ➡️Contact with contaminated objects/clothing For more FAQs, watch 👇🏼 & share: 🔗 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4233 · 27.03.2024 г., 09:14
Q: Who is at risk of #diphtheria infection? A: ➡️Children & adults who are unvaccinated or partially vaccinated with the anti-diphtheria vaccine ➡️Individuals who live in crowded or dirty environments ➡️Healthcare workers For more FAQs, watch & share👇🏼 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4230 · 23.03.2024 г., 08:51
What is #diphtheria❓ Who is most at risk of getting infected❓ What are the signs and symptoms of #diphtheria infection❓ Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4137 · 22.12.2023 г., 08:13
Individuals with symptoms suggestive of #diphtheria should report to a healthcare facility immediately for diagnosis and proper treatment. Ensure you take extra precautionary measures while visiting to prevent the risk of spread. Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4136 · 21.12.2023 г., 08:43
What is #diphtheria? Who is most at risk of getting infected? What are the signs and symptoms of #diphtheria infection? Watch & share 👇🏼 🔗https://youtu.be/6ZAgfCBDh0c?feature=shared
Hashtags
@ncdcgov · Post #4134 · 18.12.2023 г., 15:52
Q: How does #diphtheria spread? A: #Diphtheria spreads easily through: ➡️Direct contact with infected people ➡️Droplets from an infected person while coughing or sneezing ➡️Contact with contaminated objects/clothing For more FAQs, watch 👇🏼 & share: 🔗 https://youtu.be/6ZAgfCBDh0c
Hashtags
@ncdcgov · Post #4131 · 15.12.2023 г., 08:28
Q: Who is at risk of #diphtheria infection? A: ➡️Children & adults who are unvaccinated or partially vaccinated with the anti-diphtheria vaccine ➡️Individuals who live in crowded or dirty environments ➡️Healthcare workers For more FAQs, watch & share👇🏼 https://youtu.be/6ZAgfCBDh0c
Hashtags