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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #60 · 31 мар.

Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic

Резултати

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

Пребарај: #phb

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

@CoinSonar · Post #244225 · 18.04.2026 г., 14:50

#PHB | Volume spike (USDT PAIR) 32 times the average volume 129.92K USDT traded in 15 min └Buying vol: 92.16K USDT 🟢 Boost score: 5/10 24h Vol: 385.73K USDT (Binance) Price: 0.123 (-6.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #244006 · 18.04.2026 г., 06:15

#PHB | Volume spike (USDT PAIR) 32 times the average volume 128.74K USDT traded in 15 min └Buying vol: 69.89K USDT 🟢 Boost score: 4/10 24h Vol: 385.73K USDT (Binance) Price: 0.117 (-6.6% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243480 · 17.04.2026 г., 06:22

#PHB | Volume spike (USDT PAIR) 32 times the average volume 131.17K USDT traded in 15 min └Buying vol: 92.51K USDT 🟢 Boost score: 6/10 24h Vol: 385.73K USDT (Binance) Price: 0.115 (-6.6% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28329 · 09.12.2024 г., 08:32

#PHB/USDT analysis : #PHB is currently in an uptrend, consistently trading above the 200-day exponential moving average (EMA). The price has recently approached a key support zone, which is expected to act as a rebound point. This suggests a likely continuation of its bullish momentum, with the potential to challenge previous highs. TF : 2H Entry : $2.286 Target : $2.580 SL : $2.580

Hashtags

Pro Analysis

@proanalysistrader · Post #28303 · 03.12.2024 г., 09:41

#PHB/USDT analysis : #PHB is currently in an uptrend, consistently reaching new highs while trading above the 200-period exponential moving average (EMA). The price has recently rebounded from a key support zone, indicating strong bullish momentum. For a long entry, it is advisable to wait for the price to retest this support zone. TF : 1h Entry : $2.195 Target : $2.440 SL : $2.065

Hashtags

Pro Analysis

@proanalysistrader · Post #27877 · 26.08.2024 г., 13:28

#PHB/USDT analysis : #PHB is currently forming a double top pattern within the resistance zone. It is expected to be rejected from there and continue its bearish momentum to test previous lows. TF : 2H Entry : $1.459 Target : $1.222 SL : $1.613

Hashtags

Pro Analysis

@proanalysistrader · Post #27688 · 21.06.2024 г., 02:00

#PHB/USD analysis - #PHB is on a downtrend, trading below the 200 EMA. Right now, it's having a pullback and has retraced to previous support levels near the 200 EMA. The price is facing resistance near the 200 EMA and seems like it might start going down. Just wait for a small price pullback before considering a short entry. The price is likely to test previous lows soon. TF : 2h Entry : $1.911 Target : $1.584 SL : $2.138

Hashtags

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