TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #345 · 9 окт.

Функция dir() - удобна для получения списка атрибутов у любого объекта. Ранее я писал про функцию __dir__() в модуле (не путайте её с переменной __all__(), которая указывает список объектов для импорта если встречается конструкция from module import *). Скорее всего вы уже знаете как использовать функцию dir(). Любой объект может реализовать метод __dir__() чтобы указать список имеющийхся и динамических атрибутов. И функция dir() поможет получить список этих атрибутов. >>> dir(str) ['__add__', '__class__', '__contains__', ...] У этой функции есть еще один способ применения. Её можно вызвать без аргумента, и в таком случае она вернёт список имён в текущем неймспейсе. >>> dir() ['__builtins__', '__doc__', '__file__', ...] >>> def test(): >>> x = 1 >>> print(dir()) >>> test() ['x'] #basic#tricks

Резултати

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

Пребарај: #goals

当前筛选 #goals清除筛选
Luxury Lifestyle

@luxury_lifestyle_billionaire_hub · Post #6902 · 10.07.2020 г., 15:30

🌈Only 19 Sian Roadster will be made 💰 . All sold out 💰😍 #Luxury#Goals 📷octavius_92 ❤️🔜 LuxurySuperCars ✅🔜@R_Group_Official ━━━━━━━━━━━━━━━━━

Pensive|

@PensivePost · Post #5365 · 17.08.2021 г., 04:45

When it's time to reach my goal it requires so many sacrifices so my heart always whispers to my soul. But one thing I would like to remind myself is Nothing changes, if Nothing changes...! #review #goals

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40613 · 31.01.2026 г., 23:01

As you may have noticed one month into the new year, traditional New Year’s resolutions often fail because people set vague or too big goals, rely only on willpower, and don’t have a clear plan. Small, specific changes and building habits step by step are supposed to work better. 🔄 [Read more] @googlefactss #NewYearsResolutions#Habits#Goals#SelfImprovement

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40880 · 30.03.2026 г., 22:01

Self-control is not just about willpower. 🧠 Building habits and routines makes it easier to stick to your goals. Repeating small positive actions regularly strengthens your ability to maintain self-discipline over time. Setting up your environment to make good choices easier and temptations harder also helps. After about three months, actions that once felt difficult can start to feel natural. 🔁🏃‍♂️🧩📊 [Read more] @googlefactss #psychology#selfcontrol#habits#goals#science#mindset If you have ideas or feedback contact us: @Googlefactss_Feedback_bot