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

Резултати

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

Пребарај: #ong

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

@CoinSonar · Post #243938 · 18.04.2026 г., 03:01

#ONG | Volume spike (USDT PAIR) 16 times the average volume 130.84K USDT traded in 15 min └Buying vol: 89.48K USDT 🟢 Boost score: 6/10 24h Vol: 768.94K USDT (Binance) Price: 0.0893 (-5.0% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243905 · 18.04.2026 г., 00:59

#ONG | Volume spike (USDT PAIR) 40 times the average volume 109.28K USDT traded in 5 min └Buying vol: 60.13K USDT 🟢 Boost score: 6/10 24h Vol: 768.94K USDT (Binance) Price: 0.0842 (-5.0% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28368 · 05.01.2025 г., 15:33

#ONG/USDT analysis : #ONG is currently moving sideways within a support and resistance zone on the weekly timeframe. The price is bouncing back from the support level and is anticipated to continue rising, aiming to test the resistance zone. A potential gain of +100% is expected from the current level. TF : 1D Entry : $0.3400 Target : $0.7280 SL : $0.2390

Hashtags

Pro Analysis

@proanalysistrader · Post #28129 · 06.11.2024 г., 15:42

#ONG/USDT analysis : #ONG is in a downtrend, making new lows while trading below the 200 EMA. The price is currently showing a retracement towards the 200 EMA and the resistance zone, and it is expected to reverse and continue its bearish momentum. It is advisable to wait for the price to retest the zone and show rejection for a short entry. TF : 4h Entry : $0.2869 Target : $0.2631 SL : $0.3005

Hashtags

Pro Analysis

@proanalysistrader · Post #27832 · 12.08.2024 г., 13:42

#ONG/USDT analysis : #ONG is presently trading within the resistance zone below the 200 EMA. The current price action indicates rejection at this resistance level. There is a strong expectation that the price will persist in its downward momentum and revisit previous lows. It is recommended to await a break below the $0.2811 level for confirmation before considering an entry. TF : 4H Entry : $0.2811 Target : $0.2322 SL : $0.3118

Hashtags

American Crypto©

@americancryptotrading · Post #27144 · 04.02.2025 г., 19:27

🇺🇸#ONG/USDT is bouncing from the s/rzone on the weekly timeframe💁‍♂️ Looking for a rise🚀 American Crypto©

Hashtags

Coinlegs Cryptocurrency Signals

@coinlegs · Post #10207 · 17.04.2024 г., 08:04

#ONG | Trendline Breakout Detected by CoinLegs Algo 😎 Long position can be opened when the price returns to the trend line and approaches the yellow zone. The yellow zone is both a strong demand, EMA 50 and the Ichimoku zone.

Hashtags

Crypto Profit Coach™

@cryptoprofitcoach · Post #9180 · 30.01.2026 г., 12:40

#ONG👈 https://www.binance.com/en/trade/ONG_BTC Buyzone 91-93 ✔️ Sell 🤑 100-105 🤑 105-115 🤑 115-125 🚀 125-135 & above Bullish above 86-88 Range For above Projections value must remains above 88 else coin will be in dead zone

Hashtags

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