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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #199 · 8 јан.

Многие из тех кто активно работал с Python2 несколько удивлены, почему в Python3 удобная функция reload() переехала из builtin в imp а потом и в importlib? Ну было же удобно! А теперь лишний импорт😖 Дело в том, что начиная с Python3.3 функция reload() переписана на Python вместо Cи. Что это нам даёт? 🔸 Такой код проще поддерживать и развивать 🔸 Python код легче читать, изучать и понимать. Сравните это ➡️ и это ➡️. 🔸 Как результат пункта 2, проще писать свои расширения импорта. Например, пользовательский импортёр с какой-либо хитрой логикой по аналогии с импортом из zip архивов. А есть ли у этого решения недостатки? Да, они всегда есть. 🔹 Так как это не builtin функция, её следует импортнуть перед использованием 🔹 Скорость замедлилась примерно на 5%. Очевидно, что это совершенно не критично. К тому же от версии к версии логика импорта будет оптимизироваться и ускоряться. В самом начале файла importlib/__init__.py мы видим такой импорт: import _imp # Just the builtin component, NOT the full Python module То есть часть функционала по прежнему написана на Си, но достаточно низкоуровневая. #basic

Hashtags

Резултати

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

Пребарај: #geniusgroup

当前筛选 #geniusgroup清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #3753 · 30.12.2024 г., 16:00

Genius Group Boosts Bitcoin Treasury by $10M Genius Group ($GNS) invests another $10 million in Bitcoin, enhancing its treasury strategy. Meanwhile, Bitcoin is experiencing price fluctuations under $92,000, with analysts predicting potential correction until Trump's inauguration on January 20. The People's Bank of China emphasizes the need for global crypto regulation, highlighting risks in cryptocurrencies as their use expands. In recent news, MicroStrategy adds 2,138 BTC for $209 million, totaling 446,400 BTC in holdings. BlackRock's iShares Bitcoin Trust records the largest ETF launch with $50 billion assets. Read more here: Watcher Guru | Second Source #Bitcoin#GeniusGroup#MicroStrategy#Crypto#ETF#Regulation#China#BlackRock#Trump#MarketAnalysis#Investment#Treasury#BTC#S&P500 #Nasdaq#Tether#ElSalvador#HODL#Cryptocurrency#Finance#MarketTrends

Venture Village Wall 🦄

@venturevillagewall · Post #3824 · 08.01.2025 г., 22:00

Cuban Prefers Bitcoin Over Gold in Crisis Billionaire Mark Cuban states he prefers holding Bitcoin over gold in economic downturns, citing higher value potential. In Q4 2024, MicroStrategy purchased 194,180 BTC. Companies like KULR Technology, Rumble, and Genius Group are also adding Bitcoin to their balance sheets. Meanwhile, Do Kwon faces trial in 2026 for TerraUSD's $40 billion collapse. Additionally, 50 million USDC was burned at USDC Treasury. Analysts from Fidelity Digital Assets predict significant Bitcoin growth in 2025, potentially driven by countries accumulating Bitcoin as strategic reserves. #Bitcoin#Crypto#VC#MarkCuban#MicroStrategy#KULR#Rumble#GeniusGroup#DoKwon#TerraUSD#USDC#Fidelity#ETB#DigitalAssets#EconomicCrisis#Forecast#Cryptocurrency