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

Резултати

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

Пребарај: #staxxx

当前筛选 #staxxx清除筛选
CaptKyle Patriots Ⓡ 🍊

@CaptKylePatriots · Post #284636 · 03.05.2026 г., 20:16

🔠 🔠 🔠 Keychains can be found HERE 🔠 🔠 🔠 3D Printed Custom Night Lights (you send your image and I'll make it happen) Offering custom 3D print services. Just message me for anything you may need (@teamanons1) 🔠 🔠 🔠 - 10g Year of the Snake Bill Shaped Bars 🐍 🔠 🔠 🔠- Premium Copper on website 1oz Colorized Patriotic Bars 1oz Silver Cards (different styles) Back in stock 1g Team Anon Bars 👉 (@pmkllc) Introducing 🔠🔠🔠 🔤🔤🔤🔤🔤🔤🔤 on the website here 👇 https://precious-metal-trump-notes.myshopify.com/collections/pmk-raffles?utm_campaign=share_orders&utm_content=android&utm_medium=product-links Just click SHOP ALL on website to view ALL available products. Check out all the items featured on Capt Kyle's Telegram 👇 https://preciousmetalkeepsakes.com/collections/capt-kyles-featured-products Also. If you have a bigger budget and want some heavy metal. Please just message me (@teamanons1) or text me directly (number lower on post) prices are way lower for bigger budget! I offer a WIDE variety of different types of Precious Metals from 1 gram to kilos (kilos are not on website only @pmkllc) always sigma tested and verified genuine .999 fs/fg or your money back! GUARNTEED! Www.preciousmetalkeepsakes.com Just click 🔤🔤🔤🔤🔤🔤🔤here For any questions or concerns call or text anytime (502-252-1039) I'll be glad to help in anyway or message me here on telegram 📱 (@teamanons1) I always have 👇 ✅10oz bars of silver ✅5oz bars of silver ✅1oz Copper rounds. Several designs to choose from ✅Lots of other Precious Metal items available ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 Www.preciousmetalkeepsakes.com 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ ➡️I have BETTER Prices and items not on website here @pmkllc To follow new arrivals/Giveaways RAFFLES and everything Precious Metals Join our telegram page here (@pmkllc) 😇 🥰 🥰 🥰 🥰 🥰 🥰 🥰 😇 ➡️Go to @pmkllc if your interested in having a chance of winning precious metals for a fraction of the price ➡️RAFFLES I met Capt Kyle at the beginning of my Awakening journey and he has been nice enough to allow me to share my website on his channel and has never asked for anything in return. I greatly appreciate you Capt Kyle 🙏 Www.preciousmetalkeepsakes.com #silver#preciousmetals#ta#staxxx 🦅🇺🇸💪🔥

CaptKyle Patriots Ⓡ 🍊

@CaptKylePatriots · Post #284332 · 26.04.2026 г., 20:24

🔠 🔠 🔠 Keychains can be found HERE 🔠 🔠 🔠 3D Printed Custom Night Lights (you send your image and I'll make it happen) Offering custom 3D print services. Just message me for anything you may need (@teamanons1) 🔠 🔠 🔠 - 10g Year of the Snake Bill Shaped Bars 🐍 🔠 🔠 🔠- Premium Copper on website 1oz Colorized Patriotic Bars 1oz Silver Cards (different styles) Back in stock 1g Team Anon Bars 👉 (@pmkllc) Introducing 🔠🔠🔠 🔤🔤🔤🔤🔤🔤🔤 on the website here 👇 https://precious-metal-trump-notes.myshopify.com/collections/pmk-raffles?utm_campaign=share_orders&utm_content=android&utm_medium=product-links Just click SHOP ALL on website to view ALL available products. Check out all the items featured on Capt Kyle's Telegram 👇 https://preciousmetalkeepsakes.com/collections/capt-kyles-featured-products Also. If you have a bigger budget and want some heavy metal. Please just message me (@teamanons1) or text me directly (number lower on post) prices are way lower for bigger budget! I offer a WIDE variety of different types of Precious Metals from 1 gram to kilos (kilos are not on website only @pmkllc) always sigma tested and verified genuine .999 fs/fg or your money back! GUARNTEED! Www.preciousmetalkeepsakes.com Just click 🔤🔤🔤🔤🔤🔤🔤here For any questions or concerns call or text anytime (502-252-1039) I'll be glad to help in anyway or message me here on telegram 📱 (@teamanons1) I always have 👇 ✅10oz bars of silver ✅5oz bars of silver ✅1oz Copper rounds. Several designs to choose from ✅Lots of other Precious Metal items available ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 Www.preciousmetalkeepsakes.com 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ ➡️I have BETTER Prices and items not on website here @pmkllc To follow new arrivals/Giveaways RAFFLES and everything Precious Metals Join our telegram page here (@pmkllc) 😇 🥰 🥰 🥰 🥰 🥰 🥰 🥰 😇 ➡️Go to @pmkllc if your interested in having a chance of winning precious metals for a fraction of the price ➡️RAFFLES I met Capt Kyle at the beginning of my Awakening journey and he has been nice enough to allow me to share my website on his channel and has never asked for anything in return. I greatly appreciate you Capt Kyle 🙏 Www.preciousmetalkeepsakes.com #silver#preciousmetals#ta#staxxx 🦅🇺🇸💪🔥

CaptKyle Patriots Ⓡ 🍊

@CaptKylePatriots · Post #283643 · 11.04.2026 г., 22:29

🔠 🔠 🔠 Keychains can be found HERE 🔠 🔠 🔠 3D Printed Custom Night Lights (you send your image and I'll make it happen) Offering custom 3D print services. Just message me for anything you may need (@teamanons1) 🔠 🔠 🔠 - 10g Year of the Snake Bill Shaped Bars 🐍 🔠 🔠 🔠- Premium Copper on website 1oz Colorized Patriotic Bars 1oz Silver Cards (different styles) Back in stock 1g Team Anon Bars 👉 (@pmkllc) Introducing 🔠🔠🔠 🔤🔤🔤🔤🔤🔤🔤 on the website here 👇 https://precious-metal-trump-notes.myshopify.com/collections/pmk-raffles?utm_campaign=share_orders&utm_content=android&utm_medium=product-links Just click SHOP ALL on website to view ALL available products. Check out all the items featured on Capt Kyle's Telegram 👇 https://preciousmetalkeepsakes.com/collections/capt-kyles-featured-products Also. If you have a bigger budget and want some heavy metal. Please just message me (@teamanons1) or text me directly (number lower on post) prices are way lower for bigger budget! I offer a WIDE variety of different types of Precious Metals from 1 gram to kilos (kilos are not on website only @pmkllc) always sigma tested and verified genuine .999 fs/fg or your money back! GUARNTEED! Www.preciousmetalkeepsakes.com Just click 🔤🔤🔤🔤🔤🔤🔤here For any questions or concerns call or text anytime (502-252-1039) I'll be glad to help in anyway or message me here on telegram 📱 (@teamanons1) I always have 👇 ✅10oz bars of silver ✅5oz bars of silver ✅1oz Copper rounds. Several designs to choose from ✅Lots of other Precious Metal items available ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 Www.preciousmetalkeepsakes.com 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ 🟥 ⏰ ➡️I have BETTER Prices and items not on website here @pmkllc To follow new arrivals/Giveaways RAFFLES and everything Precious Metals Join our telegram page here (@pmkllc) 😇 🥰 🥰 🥰 🥰 🥰 🥰 🥰 😇 ➡️Go to @pmkllc if your interested in having a chance of winning precious metals for a fraction of the price ➡️RAFFLES I met Capt Kyle at the beginning of my Awakening journey and he has been nice enough to allow me to share my website on his channel and has never asked for anything in return. I greatly appreciate you Capt Kyle 🙏 Www.preciousmetalkeepsakes.com #silver#preciousmetals#ta#staxxx 🦅🇺🇸💪🔥