@BNBCHAIN · Post #3972 · 13.11.2024 г., 08:41
Save on your rides during #DevCon2024! 🚕 Get your first ride free & 50% off after your free ride by using $USDT, $FDUSD or $USDC on BNB Chain by using the TADA mini app!
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
Пребарај: #devcon2024
@BNBCHAIN · Post #3972 · 13.11.2024 г., 08:41
Save on your rides during #DevCon2024! 🚕 Get your first ride free & 50% off after your free ride by using $USDT, $FDUSD or $USDC on BNB Chain by using the TADA mini app!
Hashtags
@DWFLabs · Post #965 · 18.11.2024 г., 10:27
DWF Ventures had a great time at #Devcon2024. Keep reading to get an overview on some key takeaways from their team 👇 Market sentiment is shifting positively as the results of the U.S. Election have resulted in increased confidence in the crypto market. Projects are in a good place to enjoy better price discovery after $BTC hit an all time high. Altcoins and memecoins are both vying for retail trading liquidity, and the rise of memecoins showcases a more community-driven crypto cycle coming. #Devcon2024 was a sign of increased crypto activity in Bangkok, and some main narratives were DeSci, AI agents, DeFi, and memes, with a new Ethereum proposal mentioned at the conference as well. To read the full recap, click here: https://x.com/DWFVentures/status/1858445960374084049 The team at DWF Ventures is looking to invest in innovative projects — if you are building, reach out to their team at dwf-labs.com/ventures🤝
Hashtags
@DWFLabs · Post #959 · 14.11.2024 г., 07:32
Excited to be one of the cohosts alongside Cypher Capital, 1inch, and Kava Chain at #Devcon2024🔥 Lingling Jiang, the Partner of DWF Labs, shared more on what's ahead for DWF Labs at this meet up 🙌 Thank you to everyone who came to the event. We look forward to seeing you at our next event ✨️
Hashtags
@DWFLabs · Post #958 · 13.11.2024 г., 02:52
Happening tomorrow at 1:15PM GMT+7 — Lingling Jiang, Partner of DWF Labs, will be sharing insights about what's coming up in DWF Labs' journey 🔥 Register for the event "Bridging Worlds: DeFi & VC Innovation Meetup" to listen to her speech: https://lu.ma/CypherCapital1inchDWFLabsKAVA We're excited to be hosting alongside Cypher Capital, 1inch, and Kava Chain during #Devcon2024. See you there!
Hashtags
@DWFLabs · Post #956 · 12.11.2024 г., 04:35
During Korea Blockchain Week in September, Lingling Jiang, Partner of DWF Labs, shared about our vision and what's coming in the future. This week, she'll be sharing more insights about our journey and initiatives during the event "Bridging Worlds: DeFi & VC Innovation Meetup" at #Devcon2024🔥 We are co-hosting the event alongside Cypher Capital, 1inch, and Kava Chain🤝 Register here: https://lu.ma/CypherCapital1inchDWFLabsKAVA
Hashtags
@DWFLabs · Post #955 · 12.11.2024 г., 01:15
GM Bangkok! 🇹🇭 Our team is excited for #Devcon2024, and we are looking forward to connecting with you this week. Make sure to say hello when you spot us — we're thrilled to meet you all 🔥
Hashtags
@uxlink_community · Post #33 · 11.11.2024 г., 09:19
We are on the same page @VitalikButerin for "account abstraction". "One Account, One Gas" on #UXLINK Social Growth Layer. #Devcon2024#Bangkok
Hashtags