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

Резултати

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

Пребарај: #captions

当前筛选 #captions清除筛选
#️⃣Hashtag | Rasmiy kanal

@HashtagUz · Post #13787 · 14.03.2025 г., 03:28

⚠️ Blogerlar uchun YANGILIK: Captions kompaniyasi yangi Mirage texnologiyasini taqdim etdi. Neyron tarmoq noldan odamlarni yaratadi va ovozni video formatiga maksimal aniq oʻgiradi. 😱 Bu haqiqiy inqilob! Boshqa modellar faqat lablarni harakatlantirsa, Mirage hammasini qiladi: ✅ Tana modelini yaratadi ✅ Haqiqiydan ajratib bo'lmaydigan harakatlar ✅ Fon ✅ Tabiiy mimika ➡️https://www.captions.ai/mirage ➡️#ai#captions | Birinchi raqamli IT-Blog

Hashtags

☀️Beck’s☀️

@beck_blog · Post #998 · 02.01.2021 г., 23:00

· · • • • •❄️• · · INSTAGRAM · · •❄️• • • • · · Escribir captions en Instagram es un arte y es una excelente manera de impulsar el compromiso por parte de tu comunidad. Tus descripciones son representaciones de tu marca. Y podrían ser la última pieza que necesitas mejorar para pasar de un feed bueno a uno profesional. De hecho, escribir captions en Instagram podría ser la clave para que tu publicación gane visibilidad. Así que lee estos Tips para escribir captions en Instagram y luego me cuentas que te parecen 😉. #tips_instagram #captions · · • • • • • · · · · • • • ☃️• • • · · · · • • • • • · ·

☀️Beck’s☀️

@beck_blog · Post #2025 · 20.05.2021 г., 20:05

· · • • • •🌼• · · INSTAGRAM · · •🌼• • • • · · Uno de los beneficios de los posts en Instagram es que puedes cargar fotografías, diseños, videos e incluso galerías de hasta 10 imágenes juntas. En este caso la clave es que lo que sea que uses como portada sea lo suficientemente atractivo para que los usuarios se detengan a leer tu caption. #tips_instagram #captions#consejos · · • • • • • · · · · • • • 🍃• • • · · · · • • • • • · ·

GitHub Trends

@githubtrending · Post #14817 · 11.06.2025 г., 11:30

#python#asr#captions#cli#python#subtitle#subtitles#transcript#transcripts#translating_transcripts#youtube#youtube_api#youtube_asr#youtube_captions#youtube_subtitles#youtube_transcript#youtube_transcripts#youtube_video The YouTube Transcript API is a tool that helps you get the text from YouTube videos. It's fast and easy to use, saving you time compared to watching the whole video. You can use it to make subtitles, translate text, and even analyze what's being said in videos. This is helpful for content creators who want to make their videos more accessible and for researchers who need to study video content quickly. It also supports multiple languages, making it useful for a wide range of users. https://github.com/jdepoix/youtube-transcript-api

☀️Beck’s☀️

@beck_blog · Post #2742 · 22.09.2021 г., 13:13

┏━━━━━°❀•°:🍂 - 🍂:°•❀°━━━━━┓ POR AQUÍ PUEDE NAVEGAR POR EL CANAL 📁|#inicio 📝|#tips_instagram 📸|#tips_fotografía 📲|#instagram_Stories ⚙️|#estadísticas_instagram #️⃣|#hashtags 📱|#feed 📋|#captions 💡|#ideas 📷|#fotos 🏷|#peticiones ✨|#especial 📖|#recomendación 🧖🏻‍♀️|#cuidado_personal 💭|#consejos 🔎|#remedios 🧼|#limpieza 🖼|#fondos 🤯|#curiosidades 📒|#idiomas 🧁|#receta ☕️|#café 🎉|#festivos 🎃|#halloween 🎄|#navidad 👫🏻|#SanValentin 🍁|══════◄••❀••►══════|🍁 ➳ Recuerde que puede escribirme a ⇢ @SoyBeck_bot Para enviarme sugerencias, dudas, aportes o alguna petición especial que deseen ☺️ ┗━━━━━°❀•°:🍂 - 🍂:°•❀°━━━━━┛