@teasticker · Post #9866 · 27.06.2022 г., 11:00
#LZfinance#meditation#animated
Hashtags
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
Пребарај: #meditation
@teasticker · Post #9866 · 27.06.2022 г., 11:00
#LZfinance#meditation#animated
Hashtags
@QuietWorld · Post #8016 · 24.02.2022 г., 01:37
Pulled a card for messages regarding yesterday & I got the card “Stop fuvking whining.” 😂 “No one wants to listen to that shit. Complaining makes you weak. You have the strength to change your world; so do it.” Thank you for the message, Spirit Guides ☺️ Imma pick myself back as usual. I may not always have people to be there for me whenever I'm down but I always can count on my angels & Spirit Guides. I have an army of my spiritual team around me that always have my back. We all do. Isn't that the best thing ever? They can do what humans can't do. #thoughts#meditation#tarot#oracle@quietworld🍃
@QuietWorld · Post #8351 · 17.01.2024 г., 02:43
#deep#meditation#selfreminder#selftalk#reflection @quietworld🌸
@psypokerinfo · Post #2689 · 12.04.2026 г., 18:56
#BrainSync#Meditation#Attention#ADHD Deep Focus
@teasticker · Post #10082 · 30.07.2022 г., 03:58
#ProstoufaNew#meditation#anonymous#unknown#hack#animated
@QuietWorld · Post #7644 · 19.10.2020 г., 02:38
Have you ever heard of Memory Palace Technique? – a technique in studying that helps you remember what you learn better and faster? Well, I'm using that technique, but not in studying; but in reminding myself of gratitude and encouraging positive self affirmation with crystals. One thing for sure, ever since I get myself involved in crystals (since July to be precised), I'm coping with my self-esteem, motivation & anxiety, better. Interested? Check out Ponderlog for more 😘 #ponderlog#crystallovers#grootcrystal#meditation#selfhealing#crystalhealing#crystalmeditation#memory#reminder#mindbodyspirit
@teasticker · Post #9732 · 13.05.2022 г., 10:00
Cipher (Raj) 🧘♂️ #TheRaj_hacker#meditation#clone#dev#hacker#man#animated #冥想#克隆#开发者#骇客#男人#动画
@lup_tg · Post #33523 · 12.03.2026 г., 15:18
Ничего особо не видел. Туман был сильный. #travel#foodie#fitness#art#music#photography#nature#fashion#beauty#motivation#quotes#books#coffee#technology#gaming#movies#design#architecture#cars#motorcycles#space#science#history#culture#streetstyle#selfcare#mindfulness#yoga#meditation#business#entrepreneur#marketing#startup#coding#ai#robotics#education#learning#languages#writing#poetry#drawing#painting#digitalart#illustration#animals#cats#dogs#wildlife#ocean#mountains#sunset#sunrise#citylife#streetphotography#minimalism#vintage#retro#luxury#watches#sneakers#streetwear#makeup#skincare#healthyfood#vegan#recipes#baking#gardening#plants#flowers#home#interior#decor#lifestyle#adventure#explore
Hashtags