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

TGINSIGHT SIMILAR POSTS

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

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

Подразумеваемые неймспейсы или неявные пакеты. Этот функционал добавлен в Python 3.3 Что он означает? Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py. Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета". Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта. Конечно, не любую в файловой системе, а только те что находятся в sys.path. Это значит, что теперь __init__.py нужно делать только если: 🔸 вам требуется создать код инициализации пакета 🔸 нужна совместимость со старыми версиями Python На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего. Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов. repo_name/ my_library/ __init__.py main.py examples/ exam1.py exam2.py В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет. Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет! #basic#pep

Hashtags

Резултати

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

Пребарај: #users

当前筛选 #users清除筛选
Buidlpad

@native_fi · Post #114 · 05.09.2025 г., 04:42

#Users who's withdrawals are stuck on Pending Steps to complete it are DM : @gBuidl or Mail : [email protected] Share your UID, amount and token withdrawn and the tx hash to the support chat Once your withdrawal is successfully processed you'll receive an update from our support team under your ticket about your successful withdrawal Rest assured your funds are safe, and these reviews have been places to ensure the safety of your funds. Thank you for your patience while we process the high withdrawal requests received from over night

Hashtags

Venture Village Wall 🦄

@venturevillagewall · Post #3826 · 09.01.2025 г., 04:00

Binance Hits 250M Users, Record Stats Binance reports over 250 million registered users by year's end, a 47% increase. Platform processed 4.44M requests/second; VIP users up 116%, institutional users up 97%. Internal compliance team expanded to 650 experts. Read more US government clear to liquidate 69,000 Bitcoins (valued at $6.5B) seized from Silk Road. This follows a promise by the new administration not to sell the Bitcoins. Read more #Binance#Bitcoin#Crypto#Users#VIP#Institutional#Compliance#SilkRoad#Seizure#Finance#USGovernment#AnnualReport#MarketCap#Trading#Blockchain#Investments#Tech#DigitalCurrency#News

Venture Village Wall 🦄

@venturevillagewall · Post #3745 · 29.12.2024 г., 16:00

Blum's Controversial Update Sparks Backlash Blum's recent announcement regarding its new point system has raised eyebrows among users, seen as devaluing months of effort. Critics argue that this move reflects a greed-driven strategy rather than rewarding loyal users. The absence of referral incentives further fuels dissatisfaction, with many questioning Blum's leadership approach. Some believe that this misstep may jeopardize future user trust if the token drop lacks transparency and fairness. For more details, read the full analysis here: TonUP_SRP and check the discussed token drop implications: Bybit. #Blum#Crypto#VC#TokenDrop#Loyalty#Referral#Sustainability#Users#Growth#Feedback#Strategy#Leadership#Earnings#Finance#Investing#WhaleAlert#BTC

Venture Village Wall 🦄

@venturevillagewall · Post #3402 · 18.12.2024 г., 12:10

Dfns Secures $16M Funding Dfns, the wallet-as-a-service (WaaS) platform, has raised $16 million in funding as of December 18, 2024. The platform is designed to simplify digital asset operations and facilitate safe crypto onboarding for leading organizations. #Dfns#Funding#WaaS#DigitalAssets#Crypto#Operations#Onboarding#Investment#Security#Technology#Finance#Blockchain#Startups#Innovation#Market#Users#Ecosystem#Wallet#Services#Platform#Growth

Venture Village Wall 🦄

@venturevillagewall · Post #3987 · 26.01.2025 г., 04:00

Coinbase Considers New Listing Strategy Brian Armstrong mentions that Coinbase is exploring a shift to a democratized listing style, favoring a 'block list' approach over an 'allow list'. Additionally, as of November 2024, Indonesia reports 22.1 million registered cryptocurrency users, with USDT, BTC, DOGE, PEPE, and XRP being the most traded. More details can be found in the report by Wu Blockchain here. #Coinbase#Crypto#Indonesia#USDT#BTC#DOGE#PEPE#XRP#Blockchain#MarketData#Trading#Users#Statistics#Listing#Democratized#Finance#Trends #2024 #Innovation#VC#AI

BotsGram®

@botsgram_cu · Post #3169 · 25.11.2020 г., 16:40

@channely_bot Qué puede hacer este bot? Este bot es el mejor asistente para la gestión de canales en Telegram. Conecto los canales al servicio principal. ¡Incluyendo un rico entorno webUI de edición! https://app.channely.co/ Idioma: Inglés (visto en @BotsGram.cu) #canales, #canal, #gestión, # administración, #richeditor, #posts, #schedule, #polls, #comment, #commenting, #reactions, #editor, #share, #buttons, #webui, #subscribe, #stats, #users, #trial, #limited, #proaccount

Venture Village Wall 🦄

@venturevillagewall · Post #3590 · 20.12.2024 г., 12:23

Google's Growth Dilemma Revealed Google faces a challenge with 5.5 billion users searching three times daily, leading to a near 98% penetration of its services. The company's pressure to show growth for investors may have led to risky strategies, including diversifying user journeys to boost commercial queries. A leaked document outlines these changes aimed at enhancing growth beyond organic metrics. Find out more in our podcast: Кухня. 📈 Listen here: Кухня Podcast For the full leaked document: Leaked Document #Google#Search#Users#Growth#Investment#Penetration#CommercialQueries#Tech#Strategy#Marketing#DocumentLeak#Podcast#DigitalMarketing#UserJourney#Innovation#Business#Alphabet#TechCulture#Earnings#MarketTrends

12
ПретходнаСтраница 1 од 2Следна