@social_justice_watch · Post #18172 · 17.07.2023 г., 18:44
Thickfurred<[email protected]>: I feel this is so true, it hurts. #depression#anxiety https://toot.community/@Thickfurred/110730431025490534
Hashtags
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
Пребарај: #depression
@social_justice_watch · Post #18172 · 17.07.2023 г., 18:44
Thickfurred<[email protected]>: I feel this is so true, it hurts. #depression#anxiety https://toot.community/@Thickfurred/110730431025490534
Hashtags
@wall_amv · Post #9122 · 05.06.2024 г., 16:53
Uniformity Cycle Anime: Another, Tenki no ko, Zom 100, Kotonoha no niwa. Music: Liana Flores - Rises the Moon #Amv #Amv_Mix #Mix #SAD #Depression #Sentimental #Drama #Full_HD #AnimWorld @Wall_Amv
@perspectiveix · Post #1285 · 22.05.2018 г., 09:30
🏥How heavy use of social media is linked to mental illness May 20th marked the end of “#MentalHealth awareness week”, a campaign run by the Mental Health Foundation, a British charity. Roughly a quarter of British adults have been diagnosed at some point with a psychiatric disorder, costing the economy an estimated 4.5% of GDP per year. Such illnesses have many causes, but a growing body of research demonstrates that in young people they are linked with heavy consumption of #SocialMedia. A survey by the Royal Society for Public #Health found that Britons aged 14-24 believe #Facebook, #Instagram, #Snapchat and #Twitter have detrimental effects on their wellbeing. They said that these social networks gave them scope for self-expression and community-building, but exacerbated anxiety and #depression. 🚀@PerspectiveIX 🔗prs.pctvix.co/2ISIKvh
@googlefactss · Post #40507 · 08.01.2026 г., 19:00
Vitamin D is made in the skin when sunlight touches it. This vitamin helps the brain stay healthy and can stop feelings of sadness or depression. Taking supplements or getting sunlight can boost vitamin D and improve mood. 🌞🧠 [Source1] [Source2] @googlefactss#VitaminD#MentalHealth#Depression#Sunlight#Supplements
@stas_refund · Post #13351 · 09.04.2026 г., 19:33
#soundcloud#niche#nichetok#depression#ootd 💧 Спонсировано @rainbetcom
@dreamsgallerys · Post #1587 · 31.10.2023 г., 12:17
By Voodoont #voodoont #арт#art#ai#girl#sad#rain#depression#rose#beauty
@googlefactss · Post #40654 · 13.02.2026 г., 15:04
In Japan, a marketing campaign called 'kokoro no kaze' (a cold of the soul) was used to promote antidepressants, increasing sales sixfold. It falsely suggested depression was simple and temporary like a cold, hiding the true treatment needs. This led to over-medication and potential harm. Now, companies focus on bipolar disorder, risking similar issues. 🚨💊 [Read more] @googlefactss #MentalHealth#Japan#Pharmaceuticals#Depression#Bipolar#HealthRisks
@ThemesM8 · Post #273 · 19.02.2022 г., 07:50
https://t.me/addtheme/BlueGirl_ThemesM8 🌙@ThemesM8✨ #dark#android#desktop#girl#night#blue#deep#dep#depression#sad#moon#sunrise#dawn#love#girly#oled#amoled