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

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #60 · 31 мар.

Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic

Резултати

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

Пребарај: #walletconnect

当前筛选 #walletconnect清除筛选
TONlines – News

@tonlines · Post #7552 · 20.11.2025 г., 18:59

⚡️TON — LIVE: WalletConnect Supports TON #WalletConnect#TON TON — LIVE reports that WalletConnect has announced support for TON, enabling the integration of the blockchain with numerous wallets and institutional platforms. Source: link @tonlines

TokenPocket

@tokenpocket_channel · Post #846 · 16.10.2023 г., 07:56

🆕TokenPocket now fully supports WalletConnect V2 for trondao! WalletConnect ✅ Users can seamlessly connect their TokenPocket_TP wallet to trondao DApps by simply scanning the #WalletConnect QR code or selecting the WalletConnect option. Simplify your wallet connections with TokenPocket_TP. 👉https://www.tokenpocket.pro/ defi_sunio DeFi_JUST justinsuntron #Tron $TRX 【Details】https://twitter.com/TokenPocket_TP/status/1713825645493649636 【Powered By】Crypto Box

Илья AGI TV 🤖

@ilia_plasma · Post #245 · 31.10.2023 г., 14:48

🆘 Просто эпический фейл от WalletConnect, который я обнаружил сегодня утром. #WalletConnect - крупнейший (и возможно единственный) сервис подключения крипто кошельков к #dapp#web3 приложениям внес Украину и РФ в черный список. По сути это парализует работу всего DeFi для СНГ. Вот такая децентрализация или иначе - отсутствие альтернатив “не из США”! 🍌

Venture Village Wall 🦄

@venturevillagewall · Post #4209 · 21.02.2025 г., 16:00

Massive News Roundup This Week! 1️⃣ Explore OpenAI's *50 rules for ChatGPT* - Read More 2️⃣ Insightful article on *Solopreneurs* and shifting entrepreneurship - Read More 3️⃣ Interview with *Eugene Mutovkin* on the e-scooter market - Watch Here 4️⃣ *Maxim Spiridonov* interviews *Dmitry Zatsepin* on self-managed teams - Watch Here 5️⃣ Guides on launching startups and fundraising - Startup Guide, Funding Guide, Term Sheets, Duolingo Insights 6️⃣ Wired reports on the *Zizians* cult and their extreme actions - Read Article 7️⃣ Forbes discusses *Colossal Biosciences* and their goal to resurrect the mammoth - Read More Crypto Updates: - Bybit exchange reported a hack leading to $1.4 billion in losses. More Info - SBF from FTX claims innocence; an appeal is underway. - $10M raised by *WalletConnect Foundation* in token sales - Details Here Experts note: *Altcoin season is selective* with capital shifting behavior impacted by institutionalization. Read More #OpenAI#ChatGPT#Entrepreneurship#Scooters#Zizians#Mammoth#Bybit#FTX#WalletConnect#Altcoins#Crypto#VC#AI

Crypto M - Crypto News

@CryptoM · Post #64679 · 09.04.2026 г., 13:55

🚀 MoonPay Collaborates to Introduce Stablecoin Payments in Retail MoonPay has announced a partnership with WalletConnect and Ingenic to integrate stablecoin payments into physical retail environments. According to Foresight News, MoonPay's Virtual Accounts, supported by Iron, will facilitate fiat settlement for stablecoin transactions at checkout. #MoonPay#WalletConnect#Ingenic#StablecoinPayments#Retail#FiatSettlement#VirtualAccounts#Iron

Crypto M - Crypto News

@CryptoM · Post #65030 · 10.04.2026 г., 14:47

🚀 MoonPay, WalletConnect, and Ingenico Enable Stablecoin Payments at Retail Checkouts MoonPay, WalletConnect, and Ingenico have collaborated to facilitate stablecoin payments at physical retail checkouts. According to NS3.AI, this partnership utilizes MoonPay Virtual Accounts for fiat settlement, integrating wallet connectivity with point-of-sale terminals. This allows merchants to accept stablecoin payments and receive immediate fiat conversion. #MoonPay#WalletConnect#Ingenico#Stablecoin#Payments#Retail#Checkout#FiatConversion#NS3AI#VirtualAccounts#WalletConnectivity