@Architecture_World · Post #6810 · 20.09.2021 г., 07:30
#facade by dmytrosolovyov
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
Пребарај: #facade
@Architecture_World · Post #6810 · 20.09.2021 г., 07:30
#facade by dmytrosolovyov
Hashtags
@arch_shovel · Post #586 · 17.08.2022 г., 06:31
Good morning by Maria Castello Martinez Architect #arch_shovel#architecture#archdaily#facade#facadedesign
@arch_shovel · Post #613 · 30.08.2022 г., 19:10
Chybik kristof unveils a newly designed private art gallery, defined by its shimmering facade of moveable copper tiles. the cluster of vertical cylinders are animated by the dynamic skin, which will gradually transform with a patina over time. Visualization: monolot.studio #rendering#cgi#facade#architect#archidaily#arch_shovel
@arch_shovel · Post #510 · 07.07.2022 г., 15:41
Mood of the day. Nhow Hotel. Image by Proloog Architecture: OMA #3d#render#archviz#visualization#architecture#facade#building#arch_shovel
@arch_shovel · Post #723 · 03.10.2022 г., 14:48
Happy World Architecture Day! Visualization: Plo.mp Project: Mixed-Use Complex with Kohn pedersen fox . #rendering#facade#architect#archidaily#minimalist#detail#architecturelover#arch_shovel
@arch_shovel · Post #746 · 15.10.2022 г., 19:50
B U B B L E H O U S E / Cheng Dong. A coherent city / Sangu Design The Human Condition by Hannah Arendt says that world is like a table that brings people together and separates people from each other. People yearn to see each other in the city; they call for a new connection which is beyond age, experience, boundaries, it also can transcend personal loneliness and urban barriers. . When the architect design and construct from the perspective of the user, they therefore are willing to respect the vitality of the building and rationally make use of the existing rules and conditions to practice the possibility of the local urban lifestyle. #facade#elevation#interior#urbanplan#geometricarchitecture#glassfacade#interiordesign#composition#modulararchitecture#building#arch_shovel