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

Резултати

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

Пребарај: #layer

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

@CoinSonar · Post #243385 · 17.04.2026 г., 00:54

#LAYER | Volume spike (USDT PAIR) 31 times the average volume 129.36K USDT traded in 15 min └Buying vol: 81.42K USDT 🟢 Boost score: 4/10 24h Vol: 394.58K USDT (Binance) Price: 0.0902 (-1.2% in 24h)

Hashtags

Pump Leaks

@pumpleaks · Post #678 · 06.01.2024 г., 00:36

Pump Result: One of the best pumps we’ve had. The volume crossed an unprecedented $3.2 million in the first 15 minutes, catapulting #LAYER to our 10x target (957%) and making all of our members huge profits, that’s exactly why we’re the best in the world. Our coin held as the top gainers for hours after our signal, demonstrating the real power of our whales and market makers. Even though we saw a huge volume of external selling (very likely coming from the coin team), we truly delivered on the expected exceptional first pump of the year, and things are just going to get better from here. We’re still receiving an overwhelming amount of gratitude messages from members that scored big, and asking for our next pump. No stress, enjoy the profits, we’ll announce it soon. In the meantime, we’re focusing our efforts on never used before marketing strategies to bring in over 1 million new members for our next Kucoin Mega Pump, which will absolutely dwarf anything we’ve seen until now. Stay tuned for our next pump announcement.

Hashtags

Wall Street Gems

@wallstreetgems · Post #583 · 06.01.2024 г., 00:37

Pump Result: One of the best pumps we’ve had. The volume crossed an unprecedented $3.2 million in the first 15 minutes, catapulting #LAYER to our 10x target (957%) and making all of our members huge profits, that’s exactly why we’re the best in the world. Our coin held as the top gainers for hours after our signal, demonstrating the real power of our whales and market makers. Even though we saw a huge volume of external selling (very likely coming from the coin team), we truly delivered on the expected exceptional first pump of the year, and things are just going to get better from here. We’re still receiving an overwhelming amount of gratitude messages from members that scored big, and asking for our next pump. No stress, enjoy the profits, we’ll announce it soon. In the meantime, we’re focusing our efforts on never used before marketing strategies to bring in over 1 million new members for our next Kucoin Mega Pump, which will absolutely dwarf anything we’ve seen until now. Stay tuned for our next pump announcement.

Hashtags

Pepe Pumps Signals

@pepe_pumps_signals · Post #293 · 06.01.2024 г., 00:36

Pump Result: One of the best pumps we’ve had. The volume crossed an unprecedented $3.2 million in the first 15 minutes, catapulting #LAYER to our 10x target (957%) and making all of our members huge profits, that’s exactly why we’re the best in the world. Our coin held as the top gainers for hours after our signal, demonstrating the real power of our whales and market makers. We truly delivered on the expected exceptional first pump of the year, and things are just going to get better from here. We’re still receiving an overwhelming amount of gratitude messages from members that scored big, and asking for our next pump. No stress, enjoy the profits, we’ll announce it soon. In the meantime, we’re focusing our efforts on never used before marketing strategies to bring in over 1 million new members for our next Kucoin Mega Pump, which will absolutely dwarf anything we’ve seen until now. Stay tuned for our next pump announcement.

Hashtags

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