@starrailleaks · Post #12544 · 05.05.2026 г., 17:37
[Questionable] Gilgamesh is Destruction Lingsha novaflare One NPC will become playable #anonymous
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #205 · 22 јан.
Как работает функция reload()? Эта функция нужна для того, чтобы перезагрузить изменившийся код из py-файла без рестарта интерпретатора. Дело в том, что любой импортированный модуль при повторном импорте не будет перечитывать файл. Функция импорта вернёт уже загруженный в память объект модуля. Чтобы обновить код, нужно либо перезапустить всю программу, либо использовать функцию reload() from importlib import reload reload(my_module) 🔸 Функция reload() принимает в качестве аргумента только объект модуля или пакета. Она не может перезагрузить класс или функцию. Только весь файл целиком! 🔸 Перезагрузка пакета перезагрузит только его файл __init__.py, если он есть. Но не вложенные модули. 🔸Она не может перезагрузить ранее не импортированный модуль. 🔸При вызове функция reload() перечитывает и перекомпилирует код в файле, создавая новые объекты. После создания новых объектов перезаписывается ранее созданный неймспейс этого модуля. Это значит, что если где-то этот модуль импортирован через import и обращение к атрибутам происходит через неймспейс (имя) модуля, то такие атрибуты обновятся. Если какие-либо объекты из этого модуля импортированы через from то они будут ссылаться на старые объекты. Напишем простой модуль # mymodule.py x = 1 Теперь импортируем модуль и отдельно переменную х из модуля >>> import mymodule >>> from mymodule import x >>> print(mymodule.x) 1 >>> print(x) 1 Не перезапуская интерпретатор вносим изменения в модуль # mymodule.py x = 2 Делаем перезагрузку модуля и проверяем х ещё раз >>> reload(mymodule) >>> print(mymodule.x) 2 >>> print(x) 1 То же самое будет если присвоить любой объект переменной (даже словарь или список) Повторный импорт обновляет значение >>> from mymodule import x >>> print(x) 2 🔸Созданные инстансы классов не обновятся после перезагрузки модуля. Их придётся пересоздать. #tricks#basic
Пребарај: #anonymous
@starrailleaks · Post #12544 · 05.05.2026 г., 17:37
[Questionable] Gilgamesh is Destruction Lingsha novaflare One NPC will become playable #anonymous
Hashtags
@starrailleaks · Post #12368 · 20.04.2026 г., 14:57
SP Blade’s main role is as a support, providing team-wide assistance by deploying a Zone that reduces enemy attributes/stats. This allows him to support a wide variety of DPS characters, including Ashveil. Additionally, he can release a AoE FuA that deals damage scaled based on a percentage of his Max HP. #anonymous
Hashtags
@starrailleaks · Post #11962 · 16.03.2026 г., 13:51
Evanescia Skill deals multi-hit damage. On execute (kill) it restores stacks and energy. When teammates trigger Follow-up / Additional / Aha Instant, Evanescia gains stacks. The Ultimate can either consume stacks to deal damage or clear the stacks for damage; executing an enemy gives extra action and energy refund. Her Aha Instant appears in the middle of the action order and can be copied. Sw SP The Ultimate transformation mainly charges through punchlines converted from Aha Instants. For characters on the Elation path, the order of Aha Instants is fixed, and Sw SP’s always goes last. Sw SP’s Aha Instant cannot be copied. In the transformation state, the dragon cannot be controlled. When using single-target attacks, Sw SP attacks first and the dragon follows up. When using AoE gestures/attacks, the dragon also follows up afterward. At the end, snapping fingers triggers one special Aha Instant. In transformation, the punchlines generated by Aha Instants can store energy, but there is a limit. One more thing worth mentioning is that a future character who can copy Ultimates when conditions are met will be a teammate of Sw SP and Evanescia. #anonymous uncle
Hashtags
@starrailleaks · Post #11945 · 16.03.2026 г., 11:53
hint about animations #anonymous uncle
Hashtags
@starrailleaks · Post #11918 · 11.03.2026 г., 14:52
SW SP has a second form The splash art is just hiding a second form, likely to avoid spoilers. You’ll see for yourselves on March 13th. #anonymous uncle
Hashtags
@starrailleaks · Post #11906 · 11.03.2026 г., 07:47
Buffing Firefly, Seele, Huohuo, Sunday. Jiaoqiu is on the way. (buff is coming) Old Evanescia was abandoned. The special effects (VFX) are being reworked. The current power level is on par with Seele. #anonymous uncle
Hashtags
@starrailleaks · Post #11898 · 10.03.2026 г., 15:39
EMC lightning Elation Evanescia has a summon (probably 🦊) #anonymous uncle
Hashtags
@starrailleaks · Post #11895 · 10.03.2026 г., 08:59
EMC’s mechanic roughly copies the previous teammate’s Elation skill and provides a large number of Punchlines “provides a large number of Punchlines” is wrong! Sparxie is a Punchline-generating machine, it’s written in her design document. EMC doesn’t have the ability to provide a large amount of Punchlines. Among the recently released characters, none generate Punchlines more efficiently than Sparxie. #anonymous uncle
Hashtags
@wallpapersarena · Post #6509 · 19.10.2024 г., 06:59
#Anonymous @WallpapersArena
Hashtags
@wallpapersarena · Post #3765 · 23.07.2022 г., 07:23
#Anonymous @WallpapersArena
Hashtags
@wallpapersarena · Post #3651 · 01.06.2022 г., 16:27
#Anonymous🎭 @WallpapersArena
Hashtags
@wallpapersarena · Post #3595 · 11.05.2022 г., 05:41
#Anonymous @WallpapersArena
Hashtags