TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Hashtags

Резултати

Пронајдени 7 слични објави

Пребарај: #godl

当前筛选 #godl清除筛选
Maximus Trade 🌕

@MaximusTrade1 · Post #10418 · 22.08.2025 г., 09:47

RoOLZ скоро запускает новую игру. Они создали ИИ - агента в телеграм и анонсируют его в ближайшее время. Аудитория у проекта около 1 млн человек. Капитализация: 130 000$. Ticker DEX: #GODL

Hashtags

TONlines – News

@tonlines · Post #6780 · 15.04.2025 г., 15:29

RoOLZ Gods & Mortals: Comput3 Airdrop Announcement #Comput3#GODL RoOLZ Gods & Mortals advises $GODL stakers to prepare for the upcoming Comput3 Airdrop. Participants can stake $GODL in the new pools and finish Comput3 tasks to qualify. Source: link @tonlines

TONlines – News

@tonlines · Post #6975 · 30.04.2025 г., 06:36

⚡️RoOLZ Gods & Mortals Joins Forces with Meme Bean #GODL#Meme RoOLZ Gods & Mortals has announced its core partnership with Meme Bean, where entertainment meets crypto tokens. The partnership offers tokendrops for game participants and bonus points for $GODL stakers, inviting users to explore Meme Beans for thrilling rewards. Source: link @tonlines

Hashtags

🚀 ✅$GODL GODL is showing strong bullish momentum right now. Buyers are stepping in, volume is rising, and the chart is moving in a clear uptrend. 💸Increasing social hype 💸Strong community engagement 💸Fresh buyers entering 💸Momentum breaking key levels Dex. https://dexscreener.com/solana/7LFWN87jocBQ252sk6QDQ7T1QyLuq12bnUR5qDUFR4kY CA. GodL6KZ9uuUoQwELggtVzQkKmU1LfqmDokPibPeDKkhF 🔗 Official Links 🔍Website: https://www.godl.supply/ ✉️Telegram: https://t.me/mineGODL 🐣X (Twitter):https://x.com/GODLsuppl #GODL#Crypto#Solana#Blockchain#CryptoNews

😈The game has been brought to ROolZ! 🔥The gameplay is an unusual #clicker, where you gain experience points while you fight against the same person, who echoes whom and who has a more powerful NFT. 💎 Points for #GODL quests will be equal to $GODL token at launch. ✅ Go to @ROoLZQuest_bot ✅ Connect a TON-wallet ✅ Complete all tasks ✅ If you have ROoLZ NFT — stake them and get 6 points daily for each #NFT 😈Let's fight against each other! ⚡️Boost | 🌐Twitter

ℹ️ Roolz: Exchange Claim of Airdrop this week! #Roolz announced the #TGE date and listing. There are four top tier exchanges where you can claim your #GODL. November 7 🔥The Airdrop Claim is upon us! You can see your GODL amount in the app. No rush, you’ll be able to claim in the app for 60 days. After this Claim Phase you can still claim $GODL in your wallet and stake it for rewards in the app. ❗️Be careful in adding all right info. Otherwise your $GODL is lost. 🔮Community Sale $GODL Vouchers These are not in the claim! You’ll be send GODL to your voucher wallet 15 minutes before TGE. 🎁 If you have a very low Claim Amount you can join a raffle for 4.000.000 GODL — 100 Winners. 📈All Exchange Info Create an account on your favorite exchange in advance or use your existing one to be ready totrade. Deposit your $GODL to the one #CEX from the list: 📈KuCoin • Exchange UID How to find my KuCoin Id? • GODL Address & Memo How to find a Deposit Address & Memo 💱BitGet • Exchange UID How to find my BitGet UID • GODL Address & Memo How to find Deposit address on BitGet 📈MexC • Exchange UID How to find Exchange ID • GODL Address & Memo How to find Deposit address & Memo on MexC 💰Gate.io • Exchange UID How to find Gateio Account ID • GODL Address & Memo How to find your GODL address on Gate 🔥Claim in the App on the Airdrop Page 🎁 There is one more opportunity for you guys — support the 50 TGE Quests and get a 🎁 ticket in a 800,000 $GODL raffle. Keep Calm & HODL GODL🐲

$GODL is Listed Now 💯 Direct to CEX: 💰 Gate: gate.io/GODL-USDT 📈 Kucoin: kucoin.com/GODL-USDT 📈 MEXC: mexc.com/GODL-USDT 💱 BitGet: bitget.com/GODL-USDT Direct to DEX: 🪨 STONfi: app.ston.fi/swap/TON/GODL Wait for 💯 #GODL#listing#trade#spot#airdrop