TGTGInsightinteligencia telegramLIVE / telegram public index
← Python Academy

TGINSIGHT SIMILAR POSTS

Buscar contenido similar

Canal fuente @python_academy · Post #2035 · 28 may

Работаем с атрибутами объектов Помимо привычного обращения к атрибутам объектов через точку, в Python есть 4 специальных функции: getattr, setattr, delattr и hasattr. По названиям можно понять, что первые три отвечают за получение, установку и удаление атрибута. А последний проверяет, существует ли атрибут с указанным названием у объекта или нет. Во всех функциях первыми двумя аргументами идут объект и название атрибута в виде строки. В setattr также нужно передать новое значение для атрибута. На практике использование подобного — довольно редкий случай, но иногда может сильно выручить, так что берите на вооружение. #python#tips

Hashtags

Resultados

1,552 posts similares encontrados

Búsqueda global general

Writers Cafe

@WritersCafe · Post #46 · 07/11/2017, 15:40

Writing #tips from #fiction Authors: "Read it aloud to yourself because that's the only way to be sure the rhythms of the sentences are OK (prose rhythms are too complex and subtle to be thought out—they can be got right only by ear)." — Diana Athill @WritersCafe

Writers Cafe

@WritersCafe · Post #44 · 06/11/2017, 10:05

Writing #Tips from #Fiction Authors: "Interesting verbs are seldom very interesting." — Jonathan Franzen @WritersCafe

Writers Cafe

@WritersCafe · Post #42 · 20/10/2017, 12:53

Writing #Tips from #Fiction Authors: "Work on a computer that is disconnected from the internet." — Zadie Smith @WritersCafe

Writers Cafe

@WritersCafe · Post #40 · 15/10/2017, 16:49

Writing #Tips from #Fiction Author: "It's doubtful that anyone with an internet connection at his workplace is writing good fiction." — Jonathan Franzen @WritersCafe

Writers Cafe

@WritersCafe · Post #38 · 13/10/2017, 18:03

Writing #Tips from #Fiction Authors: "In the planning stage of a book, don't plan the ending. It has to be earned by all that will go before it." — Rose Tremain "Always carry a note-book. And I mean always. The short-term memory only retains information for three minutes; unless it is committed to paper you can lose an idea for ever." — Will Self @WritersCafe

Writers Cafe

@WritersCafe · Post #35 · 12/10/2017, 15:05

Writing #Tips from #Fiction Author's: "Introduce your main characters and themes in the first third of your novel. If you are writing a plot-driven genre novel make sure all your major themes/plot elements are introduced in the first third, which you can call the introduction. Develop your themes and characters in your second third, the development. Resolve your themes, mysteries and so on in the final third, the resolution." — Michael Moorcock @WritersCafe

Writers Cafe

@WritersCafe · Post #33 · 11/10/2017, 14:46

Writing #Tips from #Fiction Author's: "Protect the time and space in which you write. Keep everybody away from it, even the people who are most important to you." — Zadie Smith @WritersCafe

Quantumult X News

@QuanXNews · Post #276 · 22/04/2024, 00:45

#Tips 已知问题 #Vless 你可能会遇到这个情况: 节点测试延迟显示不通,但实际可用 请检查节点是否套了CF ,并且正在使用 CF 的测试链接: http://cp.cloudflare.com/generate_204 解决方法: 更换server_check_url 例如 http://www.apple.com/generate_204

Hashtags

The Devs

@thedevs · Post #1656 · 09/01/2020, 17:35

WTF Python. Exploring and understanding Python through surprising snippets. #resources#tutorial#python @thedevs https://kutt.it/qEYcPe

The Devs

@thedevs · Post #1230 · 24/09/2018, 15:10

Playground and cheatsheet for learning Python. #resources#tutorial#python @thedevs https://kutt.it/qrPMMf

12•••7172737475•••100•••129130