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

Резултати

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

Пребарај: #panteracapital

当前筛选 #panteracapital清除筛选
TON Crypto News

@toncoin_rap · Post #89 · 30.08.2024 г., 06:51

🎧⤴ Crypto Chaos: Durov's Arrest Rocks Toncoin as Pantera Capital’s Record Investment Faces Turbulence - Pantera Capital invested over $100 million in Toncoin, marking its largest investment to date, drawn by the potential of Telegram evolving into a "super app" similar to China's WeChat. - Pavel Durov, Telegram's founder, was detained in Paris, leading to a sharp decline in Toncoin's value, wiping out approximately $4 billion from its market cap. - Venture capitalists, including Animoca Brands and Mirana Ventures, are now grappling with the uncertainty surrounding Telegram’s future and the potential impact on Toncoin. Verse 1: Pantera dropped a hundred mil, thought they hit the spot, Durov in the cuffs, now the market's getting hot. Toncoin tanking, billions lost in the air, Telegram’s the beast, but now it’s running scared. Chorus: They wanna shut us down, they wanna break the chain, Freedom in the code, but they tryna bring the pain. Ton's got the power, but the system’s on the brink, Keep your head up, ‘cause the ship ain’t gonna sink. Verse 2: VCs in the dark, tryna find some light, Locked in for a year, now they fear the fight. Durov played the game, now he's stuck in the mess, Crypto’s the future, but the present’s in distress. Chorus: They wanna shut us down, they wanna break the chain, Freedom in the code, but they tryna bring the pain. Ton's got the power, but the system’s on the brink, Keep your head up, ‘cause the ship ain’t gonna sink. Bridge: From the streets to the charts, we rise or we fall, Blockchain warriors, standing ten feet tall. The swan’s in the sky, black as the night, But we ain't backing down, we keep up the fight. Verse 3: Money moves in silence, Pantera bet big, Now Durov’s locked up, tryna fight the rig. Investors on edge, but the future’s still bright, Toncoin to the moon, we gon’ set it right. Chorus: They wanna shut us down, they wanna break the chain, Freedom in the code, but they tryna bring the pain. Ton's got the power, but the system’s on the brink, Keep your head up, ‘cause the ship ain’t gonna sink. #Toncoin #PanteraCapital #Crypto 🎧@toncoin_rap

Venture Village Wall 🦄

@venturevillagewall · Post #3965 · 23.01.2025 г., 22:00

Crypto News Highlights: Funding and Regulations Bitcoin hits $105,000 amidst notable developments in the crypto sector. - Senator Cynthia Lummis announces a Strategic Bitcoin Reserve to hold BTC for 20+ years with no new taxes applied. - Vitalik Buterin warns of potential bribery linked to political tokens. Full insights here. - Rep. Bryan Steil appointed chair of the House subcommittee on crypto, focusing on fraud prevention and legislation. Read more on Axios here. - Swarm Network raises $3M led by Y2Z Ventures. - Radius secures $7M for rollup sequencer development, backed by Pantera Capital. - Drift Zone receives funding from 369 Capital, amount undisclosed. - Trump declares USA the "world capital of AI and crypto" at WEF. #Bitcoin#Crypto#VC#Ethereum#PoliticalTokens#MEV#Web3#Funding#Fintech#Blockchain#Bribery#Legislation#Fraud#Stablecoin#CynthiaLummis#VitalikButerin#Trump#Y2Z#PanteraCapital

Venture Village Wall 🦄

@venturevillagewall · Post #3974 · 24.01.2025 г., 19:00

Big Moves in Crypto Regulation News 🚀 US Senator Cynthia Lummis, a vocal Bitcoin advocate, elected Chair of the Senate Digital Assets Committee. Proposed strategic Bitcoin reserve hints at potential significant moves for Bitcoin. Meanwhile, Trump's recent crypto executive order suggests a reserve of 'seized digital assets,' increasing speculation around Bitcoin's future. 🔗 For further details, read the article here. 🔗 In additional news, the SEC has opened the door for Wall Street banks to hold crypto. 🔗 Standard Chartered forecasts Bitcoin could reach $200,000 by the end of 2025. 🔗 Japan's Central Bank raised interest rates to a 17-year high, now at 0.5%, causing ripples across markets, including crypto. #Crypto#Bitcoin#US#Regulations#SEC#InterestRates#Japan#Senate#DigitalAssets#Investment#FinancialMarkets#WallStreet#Speculation#CynthiaLummis#CryptoBanks#PanteraCapital#StandardChartered#Ethereum#AI#VC

Venture Village Wall 🦄

@venturevillagewall · Post #3984 · 25.01.2025 г., 19:00

Crypto Trader Gains $1.2 Million Profit Famous trader *Cosmonaut* achieves $1.2 million profit by following whale wallets. Bought Trump token for $5-8 before surge, similar success with SHIBA, PEPE, and FLOKI, each rising over 1000% in six months. Weekly trade signals shared in his Telegram channel predict coins with x5-x10 potential for 2025. Join him here. Pantera Capital's Dan Morehead shares confidence in Bitcoin's resilience, citing ownership by 50 million Americans and institutions like BlackRock and Fidelity back it. #Crypto#Bitcoin#Trading#Profit#Investment#Whales#Tokens#Cosmonaut#SHIBA#PEPE#FLOKI#PanteraCapital#DanMorehead#Solana#Fidelity#BlackRock #2025 #MarketTrends#CryptoGrowth#Telegram