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

Резултати

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

Пребарај: #bitcointrust

当前筛选 #bitcointrust清除筛选
Crypto M - Crypto News

@CryptoM · Post #64886 · 10.04.2026 г., 07:04

🚀 BlackRock's Bitcoin Trust Sees Significant Inflows Amid Market Dynamics Investors directed $269.3 million into BlackRock’s iShares Bitcoin Trust on Thursday, marking its most successful day since early March, coinciding with the escalation of the US-Iran conflict. According to Cointelegraph, this influx helped reverse two days of net outflows among the 12 U.S. spot Bitcoin ETFs, culminating in a net inflow of $358.1 million. Bitcoin ETF inflows serve as a measure of both retail and institutional interest in Bitcoin. The Fidelity Wise Origin Bitcoin Fund (FBTC) followed with $53.3 million in inflows, while the newly launched Morgan Stanley Bitcoin Trust (MSBT) contributed $14.9 million on its second trading day, as reported by Farside Investors. Bitwise and ARK 21Shares' Bitcoin ETFs saw inflows of $11.7 million and $4.8 million, respectively, while Franklin Templeton and VanEck’s Bitcoin products recorded around $2 million. Since March 23, BlackRock’s IBIT has accumulated $1.5 billion in net inflows, despite a broader crypto market downturn that saw Bitcoin's price drop from a 2026 high of $97,000 to $72,100. Robert Mitchnick, BlackRock’s digital assets head, remarked in March that IBIT investors tend to be "disproportionately long-term buy and hold" investors, even amid significant selling pressure in the Bitcoin market. Meanwhile, Amy Oldenburg, Morgan Stanley’s digital asset head, highlighted in a Bloomberg interview that MSBT was the bank’s most successful ETF launch to date. She noted, "This is just the first of a long roadmap of new products on the asset management side." Morgan Stanley has also filed to list a staked Ether (ETH) ETF and Solana (SOL) ETF. With the recent inflows, U.S. spot Bitcoin ETFs are nearing a year-to-date net inflow. The Bitcoin ETFs concluded 2025 with $56.59 billion in net inflows and currently stand at $56.51 billion, just $80 million shy of returning to their initial inflow figures for the year. #BlackRock#BitcoinTrust#BitcoinETF#MarketInflows#Fidelity#MorganStanley#Cryptocurrency#Bitcoin#ETFs#Investment#DigitalAssets#USIranConflict#CryptoMarket#BTC#ETH#SOL