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

Резултати

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

Пребарај: #win32

当前筛选 #win32清除筛选
GitHub Trends

@githubtrending · Post #15247 · 25.10.2025 г., 12:30

#cmake#audio#ios#linux#macos#plugins#sdk#vst3#win32 VST 3 is an improved version of the VST audio plug-in interface. It offers several benefits, including better performance by only processing audio when needed, dynamic input/output configurations, and precise automation. Users can also enjoy a more organized interface and support for advanced audio features like 3D sound. These improvements make it easier for developers to create plugins and for users to work with them in digital audio workstations (DAWs), enhancing overall audio production efficiency. https://github.com/steinbergmedia/vst3sdk

GitHub Trends

@githubtrending · Post #14751 · 25.05.2025 г., 13:30

#c_lang#c#drivers#gpl#hacktoberfest#kernel#operating_system#os#osdev#reactos#win32#win32api#windows#x86 ReactOS is a free, open-source operating system designed to be compatible with Windows applications and drivers, especially those for Windows Server 2003 and later versions. The latest version, 0.4.15, brings major improvements like better USB and driver support, enhanced system stability, 64-bit fixes, and new features in system tools such as Notepad and Paint. It can be tested safely on virtual machines and is ideal for users seeking a Windows-like experience without Microsoft’s software. ReactOS is still in alpha, so it’s best for testing, but it offers a promising alternative for Windows users wanting a free, open-source OS[1][2][3]. https://github.com/reactos/reactos