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

Резултати

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

Пребарај: #personaldevelopment

当前筛选 #personaldevelopment清除筛选
Green University CA | Official

@centralasian_greenuniversity · Post #265 · 24.10.2025 г., 08:53

Girls’ Meeting at Green University! ✅On October 23, a special gathering was held for our female students, focusing on etiquette, moral values, and personal growth. 🔄The event also featured a psychological training session that helped participants build confidence and strengthen communication skills. #GreenUniversity#StudentLife#GirlsMeeting#PersonalDevelopment ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube

Velvet Pages | eLibrary 🥂

@bookslibraryofficial · Post #1252 · 11.05.2025 г., 15:44

📖Title : This Too Shall Pass ✍️Author : Julia Samuel ⭐️Rating : 3.72/5 (Goodreads) 📆Published : Mar 05, 2020 ———————————————— Summary:This Too Shall Pass by Julia Samuel is a profound exploration of how humans cope with change and emotional upheaval. Drawing on her extensive experience as a psychotherapist, Samuel presents twelve moving and deeply personal case studies that cover themes such as grief, relationships, identity, and trauma. Each story reveals how people struggle with, resist, and ultimately adapt to change. Through compassionate storytelling and psychological insight, Samuel illustrates that while change is inevitable and often painful, it also offers opportunities for growth and healing. The book is a comforting, insightful guide for anyone navigating life’s unpredictable transitions and emotional challenges. ———————————————— #nonfiction#psychology#selfhelp#personaldevelopment@Bookslibraryofficial@free_novellas@the_ancient_library

Diversity & Inclusion There is a significant relationship between competitive profit gains and diversity. Companies with gender, ethnic and racial diversity are at least 15 percent more likely to experience above-average financial returns. #Wednesday#Day-3 #personalDevelopment#selfhelp#leadership#Growth#Teambuild Read 📚:- https://t.me/Think_CreativeHub

Venture Village Wall 🦄

@venturevillagewall · Post #3634 · 21.12.2024 г., 10:23

$5.4M Funding for Tenor Tenor has raised $5.40 million on December 19, 2024. This platform enables managers to rehearse difficult conversations with realistic voice AI characters and receive instant feedback for improvement. #Funding#AI#VoiceAI#Management#Feedback#Conversations#Tech#Startup#Investment#Training#Innovation#Leadership#Simulation#Dialogue#PersonalDevelopment#Business#Growth#Application#Software#Tenor

#学习#技能习得#生产力#时间管理#一万小时定律#二十小时定律#自我提升#刻意练习#个人发展#新技能#学习曲线 #Learning#SkillAcquisition#Productivity#TimeManagement#10000HourRule#20HourRule#SelfImprovement#DeliberatePractice#PersonalDevelopment#NewSkills#LearningCurve https://www.youtube.com/watch?v=5MgBikgcWnY