@Lash_gif · Post #35706 · 25.01.2023 г., 17:00
#pack #boy
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
Пребарај: #pack
@Lash_gif · Post #35706 · 25.01.2023 г., 17:00
#pack #boy
@Lash_gif · Post #50504 · 01.05.2025 г., 14:45
#VideoSticker#pack
Hashtags
@botsgram_cu · Post #3017 · 24.09.2020 г., 02:03
¿Que puede hacer este bot? @GifPacksBot ¡Este bot le permite crear, compartir y usar paquetes GIF fácilmente! Idiomas: inglés italiano (Visto en @botsgram_cu) #gif#pack
@Lash_gif · Post #35647 · 22.01.2023 г., 17:09
#pack #Michael_Morrone
Hashtags
@kenjaboyevdesigns · Post #35 · 29.08.2022 г., 09:18
#smd#pack#work “Musaffo” suvlari va kuleri uchun yasalgan smd dizaynlar 📪: @sardor_c23 Telegram • Instagram
@teasticker · Post #9928 · 11.07.2022 г., 09:00
#VideoAnimation#pack#animated
Hashtags
@smotri_letit · Post #762 · 05.07.2023 г., 08:42
#ориджинал Пособрал полный пак интертитров потому что могу. Вышло много, зато теперь вы до конца жизни можете общаться только этими стикерами. t.me/addstickers/intertitres_1_by_anchanbot t.me/addstickers/intertitres_2_by_anchanbot t.me/addstickers/intertitres_3_by_anchanbot t.me/addstickers/intertitres_4_by_anchanbot t.me/addstickers/intertitres_5_by_anchanbot t.me/addstickers/intertitres_6_by_anchanbot t.me/addstickers/intertitres_7_by_anchanbot t.me/addstickers/intertitres_8_by_anchanbot t.me/addstickers/intertitres_9_by_anchanbot t.me/addstickers/intertitres_10_by_anchanbot t.me/addstickers/intertitres_11_by_anchanbot t.me/addstickers/intertitres_12_by_anchanbot t.me/addstickers/intertitres_13_by_anchanbot t.me/addstickers/intertitres_14_by_anchanbot t.me/addstickers/intertitres_15_by_anchanbot t.me/addstickers/intertitres_16_by_anchanbot t.me/addstickers/intertitres_17_by_anchanbot t.me/addstickers/intertitres_18_by_anchanbot t.me/addstickers/intertitres_19_by_anchanbot t.me/addstickers/intertitres_20_by_anchanbot t.me/addstickers/intertitres_21_by_anchanbot t.me/addstickers/intertitres_22_by_anchanbot t.me/addstickers/intertitres_23_by_anchanbot t.me/addstickers/intertitres_24_by_anchanbot t.me/addstickers/intertitres_25_by_anchanbot #pack#интертитры#intertitres
@teasticker · Post #9103 · 24.01.2022 г., 04:00
#Long_Stickers_for_everybody#long#pack
@StickersChannel · Post #1119 · 12.04.2016 г., 17:41
✅SPORTS ⚽️ —https://telegram.me/addstickers/fcb_1 —https://telegram.me/addstickers/realmadrid_1 —https://telegram.me/addstickers/championsleague1 —https://telegram.me/addstickers/championsleague2 —https://telegram.me/addstickers/premierteams —https://telegram.me/addstickers/premierteams2 —https://telegram.me/addstickers/Formula_1 —https://telegram.me/addstickers/valenciacf_1 —https://telegram.me/addstickers/fcbayernmunchen —https://telegram.me/addstickers/arsenalfclub —https://telegram.me/addstickers/atleticodemadrid —https://telegram.me/addstickers/borussiadortmund —https://telegram.me/addstickers/chelseafclub —https://telegram.me/addstickers/fiorentinastickers —https://telegram.me/addstickers/interdemilan —https://telegram.me/addstickers/juventusturin —https://telegram.me/addstickers/liverpoolstickers —https://telegram.me/addstickers/mancitystickers —https://telegram.me/addstickers/manunitedstickers —https://telegram.me/addstickers/acmilanstickers —https://telegram.me/addstickers/fcporto —https://telegram.me/addstickers/parisgermain —https://telegram.me/addstickers/romastickers 🏀 —https://telegram.me/addstickers/nbaplayers1 —https://telegram.me/addstickers/allstarwest —https://telegram.me/addstickers/allstareast —https://telegram.me/addstickers/westside —https://telegram.me/addstickers/eastside #Stickers3#Pack#Gift#Database
Hashtags
@libreware · Post #1247 · 12.03.2024 г., 03:16
MicroG Installers: Just installing the microg components as user apps will partially function but you will not get full functionality without the main components installed as system apps, like the location components. There are a few 3rd-party installers that handle that and set all the required permissions etc. These are the ones generally recommended *Note: currently all installers use the official microg version, so you can update it from its F-Droid repository. ♦️MicroGPlus by TheHitman https://bitgapps.io/extra.html https://t.me/MicroGPlusChat ♦️Microg installers by Ale5000 https://github.com/micro5k/microg-unofficial-installer More stuff https://github.com/micro5k/ ♦️MicroG Installer Revived.... again by spacebarred for magisk or ksu https://github.com/spacealtctrl/microg_installer_revived_again/ https://github.com/spacealtctrl/microg_installer_revived_again/releases https://t.me/microGRevivedAgainResults ♦️MinMicroG by Shane the Awesome You need to clean flash a rom that has signature spoofing support and flash this zip in recovery, choose the standard zip if unsure README: https://github.com/FriendlyNeighborhoodShane/MinMicroG/blob/master/README.md Get the latest release from here: https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI/releases Or stable release from here (outdated): https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases ♦️microG Installer Revived by nift4 (currently outdated) README: https://github.com/nift4/microg_installer_revived#readme Download: https://github.com/nift4/microg_installer_revived/releases ♦️LineageOS for microG (Rom): https://lineage.microg.org ♦️MicroG Official links: https://microg.org https://github.com/microg https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 📲MicroG official F-Droid repository (Recommended to add if you use MicroG and enable unstable updates in fdroid) https://microg.org/fdroid.html Link to add: https://microg.org/fdroid/repo?fingerprint=9BD06727E62796C0130EB6DAB39B73157451582CBD138E86C468ACC395D14165 📡@NoGoolag@Libreware #microg#install#installers#pack#links
@StickersChannel · Post #1022 · 20.03.2016 г., 10:30
⭐️ Famous Characters ↘️https://telegram.me/addstickers/FamousCharac 🌐S4T.tv | Stickers Catalog #Famous#Characters#Awesome#Pack#Unofficial
@teasticker · Post #9685 · 04.05.2022 г., 04:00
#pack#dbrito#funny