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

Резултати

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

Пребарај: #cake

当前筛选 #cake清除筛选
Coin Sonar

@CoinSonar · Post #244208 · 18.04.2026 г., 13:34

#CAKE | Volume spike (USDT PAIR) 81 times the average volume 109.49K USDT traded in 1 min └Selling vol: 85.79K USDT 🔴 Boost score: 1/10 24h Vol: 1.94M USDT (Binance) Price: 1.527 (-0.8% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #244122 · 18.04.2026 г., 10:24

#CAKE | Volume spike (USDT PAIR) 12 times the average volume 258.19K USDT traded in 15 min └Buying vol: 178.91K USDT 🟢 Boost score: 3/10 24h Vol: 1.94M USDT (Binance) Price: 1.544 (-0.8% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #244071 · 18.04.2026 г., 08:24

#CAKE | Volume spike (USDT PAIR) 10 times the average volume 212.22K USDT traded in 15 min └Selling vol: 132.45K USDT 🔴 Boost score: 1/10 24h Vol: 1.94M USDT (Binance) Price: 1.582 (-0.8% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243793 · 17.04.2026 г., 17:32

#CAKE | Volume spike (USDT PAIR) 19 times the average volume 395.46K USDT traded in 15 min └Buying vol: 276.98K USDT 🟢 Boost score: 1/10 24h Vol: 1.94M USDT (Binance) Price: 1.618 (-0.8% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243742 · 17.04.2026 г., 15:32

#CAKE | Volume spike (USDT PAIR) 77 times the average volume 104.07K USDT traded in 1 min └Selling vol: 97.55K USDT 🔴 Boost score: 1/10 24h Vol: 1.94M USDT (Binance) Price: 1.650 (-0.8% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243429 · 17.04.2026 г., 03:02

#CAKE | Volume spike (USDT PAIR) 70 times the average volume 95.62K USDT traded in 1 min └Selling vol: 54.66K USDT 🔴 Boost score: 1/10 24h Vol: 1.94M USDT (Binance) Price: 1.601 (-0.8% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243368 · 17.04.2026 г., 00:08

#CAKE | Volume spike (USDT PAIR) 123 times the average volume 166.57K USDT traded in 1 min └Buying vol: 84.83K USDT 🟢 Boost score: 5/10 24h Vol: 1.94M USDT (Binance) Price: 1.618 (-0.8% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243329 · 16.04.2026 г., 21:26

#CAKE | Volume spike (USDT PAIR) 136 times the average volume 183.64K USDT traded in 1 min └Buying vol: 100.15K USDT 🟢 Boost score: 7/10 24h Vol: 1.94M USDT (Binance) Price: 1.628 (-0.8% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28406 · 21.01.2025 г., 13:36

#CAKE/USDT analysis : #CAKE has retraced and tapped the previous resistance zone, which is now support for the price. Bullish momentum is expected from the current level. Wait for the price to bounce back and break out of the $2.614 level to go long, with the previous swing high as the target level. TF : 1D Entry : $2.614 Target : $4.180 SL : $1.992

Hashtags

Pro Analysis

@proanalysistrader · Post #27959 · 24.09.2024 г., 13:33

#CAKE/USDT analysis : #CAKE is currently in an uptrend, forming higher highs (HHs) and higher lows (HLs) above the 200 Exponential Moving Average (200EMA). The price is anticipated to undergo a retracement and test a support zone before resuming its bullish momentum. A new high is likely to be established soon. TF : 15min Entry : $2.033 Target : $2.091 SL : $2.004

Hashtags

American Crypto©

@americancryptotrading · Post #27480 · 25.12.2025 г., 10:20

🇺🇸#CAKE/USDT is holding above the lowerborder of the symmetricaltriangle pattern on the weekly timeframe👀 More upside is expected on a bounce📈 American Crypto©

Hashtags

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