@teasticker · Post #9661 · 01.05.2022 г., 04:00
#Mult_Kanal_Malcevskyi#hanging#oldman#animated
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
Пребарај: #hanging
@teasticker · Post #9661 · 01.05.2022 г., 04:00
#Mult_Kanal_Malcevskyi#hanging#oldman#animated
@ZWolfDen · Post #2735 · 09.11.2023 г., 17:30
The Black Dog of the Hanging Hills is a creature of Connecticut folklore. A mythical canine spotted by travelers and hikers alike in the Hanging Hills, a sub-range of mountains found in the Metacomet Ridge, near Meriden CT. "If you meet the Black Dog once, it shall be for joy; if twice, it shall be for sorrow; and the third time shall bring death." - W. H. C. Pynchon, from The Connecticut Quarterly, 1898 My first ever print, initially sold at Furpoc 2023~! Interested in getting a copy for you walls? I promise it’s not cursed! Pick one up here: [https://ko-fi.com/s/d14872d078](https://ko-fi.com/s/d14872d078 "smartCard-inline") (No subscription required) #Black, #Dog, #Hanging, #Hills, #Print, #Halloween, #Folklore, #Urban, #Legend, #Scary, #Wolf_Dog, #Ghost, #Connecticut