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 слични објави

Пребарај: #bitcoinetfs

当前筛选 #bitcoinetfs清除筛选
SpotOnChain | Announcement

@spotonchain · Post #805 · 02.05.2024 г., 04:02

🚨 $BTC #ETF Net Inflow May 1, 2024: -$564M! • This is the largest single-day net outflow that the 10 #BitcoinETFs have ever experienced. • All 10 Bitcoin ETFs had single-day outflows, particularly with #BlackRock iShares Bitcoin Trust $IBIT seeing the first outflow since its inception. • The net inflow has been negative for 6 consecutive trading days, marking the longest streak ever. Follow @spotonchain and check out the latest updates about #Bitcoin#ETFs via https://docs.google.com/spreadsheets/d/1eoMB6ivHiKhUt7MIk0fv6gxt9-OlnktfHReHMuvWduA/edit#gid=202744242

SpotOnChain | Announcement

@spotonchain · Post #813 · 08.05.2024 г., 03:59

🚨 $BTC #ETF Net Inflow May 7, 2024: -$16M! • The net inflow turned negative after 2 days of being positive. • The #Grayscale ETF ($GBTC) re-experienced a single-day outflow of $28.6M after 2 days with inflows. • Overall, the single-day inflows and outflows of all 10 #BitcoinETFs had slowed down significantly, with five out of ten ETFs (including #BlackRock ETF $IBIT) experiencing zero flow. Follow @spotonchain and check out the latest updates about #Bitcoin ETFs via https://docs.google.com/spreadsheets/d/1eoMB6ivHiKhUt7MIk0fv6gxt9-OlnktfHReHMuvWduA/edit#gid=202744242

SpotOnChain | Announcement

@spotonchain · Post #808 · 04.05.2024 г., 02:08

🚨 $BTC #ETF Net Inflow May 3, 2024: +$343M! • #Grayscale Bitcoin Trust $GBTC experienced the first single-day inflow since its inception. • The net inflow turned positive after being negative for 7 consecutive trading days. • 8/10 #BitcoinETFs had inflows, led by #Fidelity Wise Origin Bitcoin Fund $FBTC with $102.6M, while the single-day inflow of #BlackRock iShares Bitcoin Trust $IBIT remained weak at $13M. Follow @spotonchain and check out the latest updates about #Bitcoin#ETFs via https://docs.google.com/spreadsheets/d/1eoMB6ivHiKhUt7MIk0fv6gxt9-OlnktfHReHMuvWduA/edit#gid=202744242

TOP Signals Spot

@cryptocurreniesbtc · Post #22928 · 03.08.2024 г., 06:09

US #BitcoinETFs Sold -3,628 BTC (~$237.45M) yesterday🚀 1⃣#BlackRock +655 BTC 2⃣#Grayscale -702 BTC 3⃣#Fidelity -1,590 BTC 4⃣#Bitwise -450 BTC 5⃣#ARK & 21Shares -1,340 BTC 6⃣#VanEck -352 BTC 7⃣ Grayscale $BTC +$152M Yesterday Again BlackRock in Positive Inflow.

Crypto M - Crypto News

@CryptoM · Post #65180 · 11.04.2026 г., 16:54

🚀 Bitcoin Market Divides Amid Ongoing U.S.-Iran Tensions The Bitcoin market is experiencing a notable division amid the ongoing U.S.-Iran geopolitical tensions, which have persisted for approximately six weeks. According to ChainCatcher, the market is split between passive buyers, such as those involved with Strategy and spot ETFs, who continue to accumulate, and entities like whales, mining companies, and some sovereign holders, who are reducing their holdings. On the selling side, there is a clear trend: whale addresses holding between 1,000 and 10,000 BTC have shifted from net buying to significant net selling, with their holdings changing from an increase of about 200,000 BTC to a decrease of 188,000 BTC this year. Publicly listed mining companies, under pressure from high costs, have also been selling off, with weekly sales exceeding 19,000 BTC. Additionally, sovereign holders like Bhutan have reduced their Bitcoin reserves by approximately 70% since October 2024. Analysts note that despite market sentiment reaching extreme fear levels, Bitcoin's price has remained within the $65,000 to $73,000 range. This stability suggests that the price floor is primarily supported by a few institutional buyers. The current market's buying base is narrowing, and future trends will depend on whether institutional capital inflows can continue and break through key resistance levels. #Bitcoin#Cryptocurrency#BitcoinMarket#USIranTensions#CryptoTrading#BitcoinWhales#InstitutionalInvestors#BitcoinETFs#CryptoAnalysis#MarketTrends#BTC