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

Резултати

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

Пребарај: #rvn

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

@CoinSonar · Post #243769 · 17.04.2026 г., 16:20

#RVN | Volume spike (USDT PAIR) 46 times the average volume 135.38K USDT traded in 15 min └Buying vol: 75.10K USDT 🟢 Boost score: 5/10 24h Vol: 281.19K USDT (Binance) Price: 0.00623 (-2.3% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28429 · 28.01.2025 г., 13:19

#RVN/USDT analysis : #RVN is in a downtrend, making new lows and trading below the 200 EMA. The price is currently retesting a previously respected support zone. It is expected to decline from this level and continue the downtrend, with previous lows will be tested again. TF : 4h Entry : $0.01770 Target : $0.01596 SL : $0.01893

Hashtags

Pro Analysis

@proanalysistrader · Post #27932 · 14.09.2024 г., 15:04

#RVN/USDT analysis : #RVN has broken out of the previous swing high resistance zone and the 200 EMA. It is currently consolidating above these levels. The price is anticipated to sustain its bullish momentum and potentially reach new highs. TF : 2H Entry : $0.01745 Target : $0.01942 SL : $0.01618

Hashtags

Pro Analysis

@proanalysistrader · Post #27784 · 02.08.2024 г., 13:07

#RVN/USDT analysis - #RVN has broken down and retested the resistance zone. It's now set to keep going down and try new lows. The previous support is expected to be tested. TF : 2H Entry : $0.01770 Target : $0.01630 SL : $0.01845

Hashtags

Pro Analysis

@proanalysistrader · Post #27697 · 23.06.2024 г., 05:02

#RVN/USDT analysis - #RVN is in a downtrend, hitting new lows while trading below the 200 EMA. The price is currently rejecting from the resistance zone and is expected to decline from there, continuing its bearish momentum. Wait for a pullback near the resistance zone for a short entry. Aim for the previous swing low as your target level. TF : 1H Entry : $0.0206 Target : $0.0187 SL : $0.0220

Hashtags

American Crypto©

@americancryptotrading · Post #27595 · 21.04.2026 г., 09:14

🇺🇸#RVN/USDT is consolidating just below the upperboundary of the descendingchannel pattern on the daily chart👀 Rally is loading, breakout in progress✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27170 · 28.02.2025 г., 19:56

🇺🇸#RVN/USDT is facing the lowerborder of the descendingtriangle formation on the weekly chart💁‍♂️ More upside is expected on a bounce🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27088 · 18.12.2024 г., 16:32

🇺🇸#RVN/USDT produced descendingresistance on the 1W chart👀 Going upside on a breakout📈 American Crypto©

Hashtags

Alphavave Traders ️️️

@alphavave · Post #2361 · 18.06.2025 г., 04:14

#RVN up 4,030% - Absolutely incredible🔥 💰A nice 4️⃣ 0️⃣ 🔠 return from this single Signal⭐ While others take massive losses trading spot, only making money when prices go up - we win big with futures profiting even when market goes down. That's the difference between smart investing and bad decisions 🏝 If you want the best, this is your chance 🔥BULL MARKET SALE IS LIVE🔥 The market is heating up, and we are at the peak of the year. It looks like more big days are ahead. Let's keep riding this wave, it's going to be absolutely insane!💯 DM me now to start!👇 http://t.me/Kevindexter

Hashtags

Crypto

@signal_bitcoins · Post #2325 · 14.01.2024 г., 08:31

#RVN rejected from the Trendline on Weekly time frame,in the case of correction we can buy it again at Weekly Demand zone,send it💫 ❄️@signals_bitcoin_crypto❄️ ❄️@Shadow_support0o❄️

Hashtags

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