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

Резултати

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

Пребарај: #op

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

@CoinSonar · Post #244058 · 18.04.2026 г., 08:02

#OP | Volume spike (USDT PAIR) 64 times the average volume 126.26K USDT traded in 1 min └Selling vol: 113.20K USDT 🔴 Boost score: 1/10 24h Vol: 2.82M USDT (Binance) Price: 0.1336 (-2.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243884 · 18.04.2026 г., 00:02

#OP | Volume spike (USDT PAIR) 65 times the average volume 127.49K USDT traded in 1 min └Buying vol: 111.92K USDT 🟢 Boost score: 8/10 24h Vol: 2.82M USDT (Binance) Price: 0.1349 (-2.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243763 · 17.04.2026 г., 16:02

#OP | Volume spike (USDT PAIR) 71 times the average volume 139.46K USDT traded in 1 min └Selling vol: 115.82K USDT 🔴 Boost score: 1/10 24h Vol: 2.82M USDT (Binance) Price: 0.1333 (-2.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243690 · 17.04.2026 г., 13:37

#OP | Volume spike (USDT PAIR) 9 times the average volume 286.83K USDT traded in 15 min └Selling vol: 170.17K USDT 🔴 Boost score: 1/10 24h Vol: 2.82M USDT (Binance) Price: 0.1343 (-2.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243286 · 16.04.2026 г., 19:15

#OP | Volume spike (USDT PAIR) 59 times the average volume 117.20K USDT traded in 1 min └Buying vol: 100.25K USDT 🟢 Boost score: 7/10 24h Vol: 2.82M USDT (Binance) Price: 0.1318 (-2.5% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28111 · 03.11.2024 г., 05:16

#OP/USDT analysis : #OP is currently forming a continuation pattern within a downtrend. The price has broken previous lows, and it is anticipated that it will continue its bearish momentum. It is advisable to wait for a pullback to the identified zone for a short entry, as the previous swing low is expected to be tested. TF : 1D Entry : $1.493 Target : $1.076 SL : $1.773

Hashtags

Pro Analysis

@proanalysistrader · Post #27879 · 27.08.2024 г., 09:31

#OP/USDT analysis : #OP has broken out above the 200 EMA and the previous resistance zone with strong bullish momentum. It is now retesting the breakout zone. The price is expected to continue its bullish bias and test previous highs. Wait for a break of the $1.517 level to go long. TF : 2H Entry : $1.517 Target : $1.643 SL : $1.444

Hashtags

American Crypto©

@americancryptotrading · Post #27519 · 30.01.2026 г., 10:33

🇺🇸#OP/USDT is consolidating near the lowerborder of the descendingchannel formation on the 3D chart🔍 Bullish if we bounce off the one🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27466 · 11.12.2025 г., 09:18

🇺🇸#OP/USDT has found support at the lowerborder of the descendingchannel on the 3D chart🔍 Expecting a bounce soon🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27336 · 08.08.2025 г., 09:02

🇺🇸#OP/USDT is ready to break out of the descendingresistance on the daily timeframe💁‍♂️ Looking for a leg upward✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27236 · 02.05.2025 г., 10:01

🇺🇸#OP/USDT is printing the descendingresistance line on the daily chart🧐 Breakout will bring a huge rally🐃 American Crypto©

Hashtags

123•••89
ПретходнаСтраница 1 од 9Следна