@testflightynoti · Post #37667 · 07.05.2026 г., 06:24
#Temple#AI Join the Temple AI beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/qZDDMhyK Shared by Dimitri
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
Пребарај: #temple
@testflightynoti · Post #37667 · 07.05.2026 г., 06:24
#Temple#AI Join the Temple AI beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/qZDDMhyK Shared by Dimitri
Hashtags
@AloneSnowflake · Post #500 · 09.05.2025 г., 21:32
⊹ 𝐀pply 𝐓heme ˓ 🛕 ˒ ༄ 𝐉oin 𝐂hannel ˙˚• #Temple#Light#Gray#Red#Theme
@Wallpaper_INT · Post #47570 · 01.01.2026 г., 05:31
#PaperArt#Mountains#Temple#4K @Wallpaper_INT
Hashtags
@voir_yeux · Post #12632 · 23.04.2026 г., 15:33
🇹🇭 Le temple Wat Phra Dhammakaya en Thaïlande a accueilli une méditation collective à l’occasion de la Journée de la Terre. #thaïlande#méditation#temple
Hashtags
@TestFlightX · Post #34533 · 08.11.2024 г., 04:20
#TEMPLE#RUN#ADVENTURE https://testflight.apple.com/join/8c2K8z2s
Hashtags
@voir_yeux · Post #12350 · 31.03.2026 г., 13:23
🇮🇳 Au moins huit personnes sont mortes lors d'une bousculade dans l'enceinte du temple dans le district de Nalanda de l'État du Bihar, dans le nord-est de l'Inde, rapporte la police. #inde#temple#bousculade#victimes
Hashtags
@arch_shovel · Post #868 · 03.12.2022 г., 07:30
Melbourne-based architects Adam Newman and Kelvin Tsang have installed a small scale of The Parthenon clad in different hues of colors and murals within the Grollo Equiset Garden at Melbourne’s National Gallery of Victoria (NGV), Australia. The installation, called Temple of Boom, emerges as "an evocative reimagination of The Parthenon", a global architectural icon and an Ancient Greek temple located on the Acropolis, Athens. Newman and Tsang draw inspiration from the colourful and artistic embellishments that once covered the original building over two- thousand years ago. Based on these historical references, dynamic and eye-catching floral motifs and optical illusions, designed by contemporary artists Drez, Manda Lane and David Lee Pereira wrap the installation. Images 1-2-3-4 📸 seanfennessy Image 5 📸 NGV #design#temple#parthenon#installation#intervention#arch_shovel
@blackwallp · Post #68085 · 03.04.2026 г., 05:42
#природа#река#храм#утро#nature#river#temple#morning 🎥Videowallpaper |😀Emoji |🎼Ringtone