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

Резултати

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

Пребарај: #fet

当前筛选 #fet清除筛选
Pro Analysis

@proanalysistrader · Post #28270 · 27.11.2024 г., 07:56

#FET/USDT Analysis- The price has formed a symmetrical triangle pattern. Given the current bullish market scenario, there is a high probability of an upward breakout. If the breakout occurs, the price is likely to rally toward the target zone from the breakout point. T.F.- 1-D ENTRY- as soon as it gives breakout SL- 1.2 TARGET- 2.04 Note: If the stop-loss is triggered before entry, disregard the trade as the price action may develop differently.

Hashtags

Pro Analysis

@proanalysistrader · Post #27893 · 31.08.2024 г., 17:52

#FET/USDT analysis : #FET has broken down the 200 EMA and previous support levels. It is now undergoing a pullback and retesting the resistance zone. The price is expected to reject from there and bounce back to continue its bearish momentum. TF : 1H Entry : $1.170 Target : $1.057 SL : $1.252

Hashtags

American Crypto©

@americancryptotrading · Post #27518 · 29.01.2026 г., 11:04

🇺🇸#FET/USDT is facing the lowerboundary of the descendingchannel formation on the weekly chart🧐 Looks bullish✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27482 · 27.12.2025 г., 09:39

🇺🇸#FET/USDT is trading near the lowerborder of the descendingchannel formation on the 2W chart💁‍♂️ A great moment to accumulate🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27370 · 10.09.2025 г., 09:48

🇺🇸#FET/USDT is trading within the descending channel formation on the 3D chart🧐 More upside if a breakout occurs📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27280 · 14.06.2025 г., 12:10

🇺🇸#FET/USDT is hovering above the broken s/rzone on the weekly chart🔍 Looking for a bounce✈️ American Crypto©

Hashtags

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