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

Резултати

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

Пребарај: #pantera

当前筛选 #pantera清除筛选

🎉Catizen x Zircuit Launchpool is Live We're excited to announced launch Zircuit (ZRC) as the inaugural project on the Catizen Launchpool!🎆🪙 How to Earn ZRC? 💰 Stake CATI and Cats to Earn ZRC: Zircuit is an AI-secured, Zero-Knowledge Layer 2 solution, fully #EVM-compatible, and supported by #BinanceLabs, #Pantera, #DragonflyCapital, among others. With $1.8B in TVL and a new liquidity hub, early adopters are in for a rewarding journey! Launchpool Details: • Period: 2024-10-28 00:00 (UTC) to 2024-11-04 00:00 (UTC) • Token Name: $ZRC • Total Supply: 10,000,000,000 ZRC • Token Rewards: ≈$1,500,000 in ZRC • Launchpool Allocation: 8,333,333 ZRC Pool Information 🪙CATI Pool: • Reward Proportion: 85% • Reward Amount: $1,275,000 in ZRC • Stake Range: 1 to 2000 CATI • Settlement: Every hour based on staked CATI share 😺Cat Pool: • Reward Proportion: 15% • Reward Amount: $225,000 in ZRC • Eligibility: Cats above level 300 only • Settlement: Hourly, with levels converted to USD for calculations 🐾Don’t miss out on this incredible chance to grow your rewards with Zircuit! This is just the beginning of their ambitious plan to enhance CATI token value✨ #TON#CATI#Pool#Zircuit

Crypto M - Crypto News

@CryptoM · Post #64656 · 09.04.2026 г., 12:44

🚀 BitMine Immersion Technologies Expands Stock Buyback Program to $4 Billion BitMine Immersion Technologies has announced its official transition to trading on the New York Stock Exchange main board, ceasing its activities on NYSE American. According to Foresight News, the company has also expanded its stock buyback program, increasing the authorized total from $1 billion to $4 billion. As of April 6, 2026, BitMine holds approximately 4.803 million ETH, representing 3.98% of the total Ethereum supply, achieving over 79% of its 'Alchemy of 5%' target. The company's combined holdings of cryptocurrency and cash amount to approximately $11.4 billion. Institutional investors include Cathie Wood from ARK, Pantera, and Galaxy Digital. #BitMine#ImmersionTechnologies#StockBuyback#NYSE#Ethereum#Cryptocurrency#ARK#Pantera#GalaxyDigital#Finance#ETH

Venture Village Wall 🦄

@venturevillagewall · Post #3743 · 29.12.2024 г., 10:00

Bitcoin Price Peak Expected in 2025 The founder of Pantera, whose Bitcoin fund saw a staggering 130,000% return, forecasts August 2025 as the peak for this cycle, anticipating a bull market in 2025 followed by a decline in 2026. He believes Bitcoin could increase tenfold over the next 5-10 years. Meanwhile, in mining news, Foundry USA Pool mistakenly refunded an erroneous transaction fee of 8.18 BTC (about $777,000), which was 91,127 times higher than normal. Additionally, Volatility Shares has applied to launch futures-based Solana ETFs, signaling potential market interest despite the absence of a current trading platform for these products. #Bitcoin#Pantera#Crypto#ETF#Solana#Mining#Forecast#BullMarket#BearMarket#Foundry#VolatilityShares#BTC#CryptoNews#Investing#MarketTrends#Blockchain#TransactionFee#Finance#Cryptocurrency #2025 #2026

Venture Village Wall 🦄

@venturevillagewall · Post #4156 · 15.02.2025 г., 04:00

Milei Denies Connection to LIBRA Token Javier Milei claims he has no ties to the $LIBRA token, indicating he was unaware of it. Reports emerge of insider trading linked to LIBRA, amounting to over $20 million in profits before and after a key tweet. Meanwhile, the Wisconsin Pension Fund raises its Bitcoin holdings to $321 million, while the National Bank of Canada adopts a bearish stance, exercising a sell option on Bitcoin ETF shares worth over $1.3 million. 🔗 More details: - Milei denied connections - Senate investigates Pantera Capital - Insider trading profits from LIBRA - LIBRA price drop and withdrawals - Wisconsin Pension Fund's Bitcoin increase - National Bank of Canada's Bitcoin sell option #Milei#LIBRA#Crypto#Bitcoin#Pantera#Investigation#CEX#TaxLaws#Wisconsin#NationalBank#SEC#Bearish#ETF#ArkInvest#CapitalGains#MarketTrends#Profit#Trading#USDC#SOL

Мирослава Карпович

@m1r0slavakarpovich · Post #1131 · 29.07.2023 г., 15:48

ождливо 😂 Дорогие Женщины! Заброды нам в помощь🙏🏻 Дорогие Мужчины! Мы в забродах Вам в радость😂 Образ нафантазировала от и до, и в кадре воплотила -очень экстравагантная @terekhova_anastasiaa🧨🔪🖤 Белье @oh_eske💋 Бильярдные залы от @dalifotostudio🎱 #moodoftheday#photooftheday#photography#littlemiho#sincity#vintage#coat#lady#blackmamba#tiger#pantera#billiards#fashion#saturdaynight#weekend#love#fire#actress#model#legslegslegs#womenstyle#cinematography #🔞#hot#chica#ричбичлайф