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

Резултати

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

Пребарај: #bid

当前筛选 #bid清除筛选
Fed. Russian Insiders ®

@FedRussianInsidersVip4Free · Post #6949 · 01.12.2025 г., 00:22

🔥#BID Update🔥 Target 1 : $0.045✅ Target 2 : $0.048✅ Target 3 : $0.052✅ High Reached : $0.0564✅ Profit: 371% on just 5x lev🚀 Perfect trade. We told you about it before it even started moving, and now with profits taken and stops at entry, and we’re ready for our next signals. Enjoy the ride, we’re about to have much bigger ones!!🚀🚀🐋

Hashtags

Fed. Russian Insiders ®

@FedRussianInsidersVip4Free · Post #6946 · 30.11.2025 г., 20:54

LONGING $BID HERE Exchanges: Binance Futures #BID is fully bottomed, and it has confirmed the strongest breakout we’ve seen. Buying as much as much as we can before heading to Entry: Below 0.042 Targets: 0.045 - 0.048 - 0.052 - 0.061 - 0.074 - 0.094 - 0.118 - 0.138 - 0.192 - OPEN SL: Below 0.03

Hashtags

Fed. Russian Insiders ®

@FedRussianInsidersVip4Free · Post #6937 · 28.11.2025 г., 04:15

🔥#BID Update🔥 Target 1 : $0.045✅ Target 2 : $0.047✅ Target 2 : $0.049✅ Profit: 82% on just 5x lev🚀 Perfect trade with targets reached in less than an hour, congratulations to those who took this mega trade🐋

Hashtags

Fed. Russian Insiders ®

@FedRussianInsidersVip4Free · Post #6932 · 27.11.2025 г., 18:40

LONGING $BID HERE Exchanges: Binance Futures The bottom is in for #BID, breakout confirmed, ready to become the biggest gainer of the bull market Entry: Below 0.042 Targets: 0.044 - 0.046 - 0.049 - 0.053 - 0.061 - 0.074 - 0.094 - 0.118 - 0.138 - 0.192 - OPEN SL: Below 0.0342

Hashtags

Fed. Russian Insiders ®

@FedRussianInsidersVip4Free · Post #6903 · 23.11.2025 г., 06:23

LONGING $BID HERE Exchange: Binance Futures The bottom is in for #BID Entry: Below 0.037 Targets: 0.039 - 0.041 - 0.044 - 0.049 - 0.054 - 0.072 - 0.092 - 0.122 - 0.152 - 0.198 - OPEN SL: Below 0.0309

Hashtags

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