TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #183 · 23 ное.

Python + bash Если вам часто требуется запускать shell команды из Python-кода, какой способ вы используете? Самый низкоуровневый это функция os.system(), либо os.popen(). Рекомендованный способ это subprocess.call(). Но это всё еще достаточно неудобно. Советую обратить своё внимание на очень крутую библиотеку sh. Что она умеет? 🔸 удобный синтаксис вызова команд как функций # os import os os.system("tar cvf demo.tar ~/") # subprocess import subprocess subprocess.call(['tar', 'cvf', 'demo.tar', '~/']) # sh import sh sh.tar('cvf', 'demo.tar', "~/") 🔸 простое создание функции-алиаса для длинной команды fn = sh.lsof.bake('-i', '-P', '-n') output = sh.grep(fn(), 'LISTEN') в этом примере также задействован пайпинг 🔸 удобный вызов команд от sudo with sh.contrib.sudo: print(ls("/root")) Такой запрос спросит пароль. Чтобы это работало нужно соответствующим способом настроить юзера. А вот вариант с вводом пароля через код. password = "secret" sudo = sh.sudo.bake("-S", _in=password+"\n") print(sudo.ls("/root")) Это не все фишки. Больше интересных примеров смотрите в документации. Специально для Windows💀 юзеров #libs#linux

Hashtags

Резултати

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

Пребарај: #nameless

当前筛选 #nameless清除筛选
Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #195 · 26.11.2023 г., 13:53

Nameless AOSP - Official | Android 13 | Nothing Phone (2) 📝 Details: - Version: 1.4 - Status: #Official - Device: Pong - Released: 26/11/23 ⬇️Download : Build l Images 👀 Changelogs : Here 🌳Device Tree : Here 📔Flashing Instructions : Here 🎙Support Group: Here 🏛 XDA : Here 📸 Screenshots:Here 💰Donate : Paypal | UPI : chandudyavanapelli3-1@okhdfcbank 🏷Tags : #AOSP#ROM#Nameless#T ❌Known Issues: - No NFC Support (Sadly PN560 NFC is not supported in Android 13. Will be revisited once we move to Android 14) ✍️Note: - Report issues (if any except known ones) with logs in support group / comments - This is the final Android 13 release. We will start work on Android 14 from 2024 January. 🏆 Credits: - Chandu Dyavanapelli for initial DT bringup - Pong Dev and Testing Team & Contributors 👤 Maintainer : @Chandu_Dyavanapelli 🔔 Updates : @NothingPhone2Updates 🐙 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #186 · 12.11.2023 г., 05:18

Nameless AOSP | Android 13 | Nothing Phone (2) 📝 Details: - Version: 1.4 - Build: #Beta - Status: #Official - Device: Pong - Released: 12/11/23] ⬇️Download : Build l Images 🌳Device Tree : Here 📔Flashing Instructions : Here 🎙Support Group: Here 📸 Screenshots:Here 💰Donate : Paypal 🏷Tags : #AOSP#ROM#Nameless#T ✨ Changelogs: - Initial Test Build ❌ Known issues: - NFC is broken, causing the system UI to crash after every reboot, but only once. - Haptics are not similar to stock but will improve in upcoming builds. - Dont use "Hey Google" as it leads to crashdump. Use factory reset to revive. - Some device specific features are not added, will be added eventually. - Report bugs (with logs ofc) in the comment section. 🏆 Credits: - Chandu Dyavanapelli for initial DT bringup - Pong Dev and Testing Team & Contributors 👤 Maintainer : @Chandu_Dyavanapelli 🔔 Updates : @NothingPhone2Updates 🐙 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #308 · 26.05.2024 г., 15:12

Nameless AOSP - Official | Android 14 | Nothing Phone (2) ✍️ Details: - Version: A14 - Official - Codename: #Pong - Released: 26/05/24 🔽 Download: ROM | Images | Mirror ✨ Changelogs: Here 🆘 Support : Here ⚙️ Installation: Here 📸 Screenshots: Here 💵 Donate: Paypal | UPI: dyavanapellichandu@ybl 🔖 Tags : #ROM#AOSP#Nameless#QPR2#U#Official 😎 Dev : Chandu Dyavanapell 🔔 Updates : @NothingPhone2Updates 💬 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #509 · 11.01.2025 г., 18:01

[Discontinued]Nameless CLO - Official | Android 15 | Nothing Phone (2) 🗒 Details: - Version: A15 - Codename: #Pong - Released: 11/01/25 🔽 Download: Here 🆘 Support : Telegram l Wiki ⚙️ Installation: Here 📸 Screenshots: Here 💵 Donate: Paypal | UPI: dyavanapellichandu@ybl 🔖 Tags : #ROM#CLO#Nameless#V#Official#NothingPhone2 ✨Changelogs: - Here - https://t.me/NothingPhone2updates/528 👤 Dev : Chandu Dyavanapell 🔔 Updates : @NothingPhone2Updates 💬 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #498 · 22.12.2024 г., 10:54

Nameless CLO - Official | Android 15 | Nothing Phone (2) 🗒 Details: - Version: A15 - Codename: #Pong - Released: 22/12/24 🔽 Download: ROM [ Sourceforge l Mirror ] || Images [ Sourceforge l Mirror ] 🆘 Support : Telegram l Wiki ⚙️ Installation: Here 📸 Screenshots: Here 💵 Donate: Paypal | UPI: dyavanapellichandu@ybl 🔖 Tags : #ROM#CLO#Nameless#V#Official#NothingPhone2 ✨Source Changelogs: - Initial A15 Release based on CLO ✍️ Note: - A clean flash is required if you're coming from Nameless-AOSP or any custom ROMs. - You will not receive OTA updates in Nameless-AOSP for this build. 👤 Dev : Chandu Dyavanapell 🔔 Updates : @NothingPhone2Updates 💬 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #435 · 14.09.2024 г., 12:54

Nameless AOSP - Official | Android 14 | Nothing Phone (2) 🗒 Details: - Version: A14 - Final - Codename: #Pong - Released: 14/09/24 🔽 Download: Here | Mirror 🆘 Support : Here ⚙️ Installation: Here 📸 Screenshots: Here 💵 Donate: Paypal | UPI: dyavanapellichandu@ybl 🔖 Tags : #ROM#AOSP#Nameless#QPR3#U#Official#NothingPhone2 ✨Source Changelogs: - Merged September security patch - Updated default wallpaper and boot animation - Add navbar animation in pixel launcher - Stability improvements and minor fixes ✍️ Note: - This is the final A14 release and no OTA update exists for the same. - Please update manually in recovery mode 👤 Dev : Chandu Dyavanapell 🔔 Updates : @NothingPhone2Updates 💬 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #390 · 11.08.2024 г., 14:52

Nameless AOSP - Official | Android 14 | Nothing Phone (2) ✍️ Details: - Version: A14 - Official - Codename: #Pong - Released: 11/08/24 🔽 Download: here ✨ Changelogs: Here 🆘 Support : Here ⚙️ Installation: Here 📸 Screenshots: Here 💵 Donate: Paypal | UPI: dyavanapellichandu@ybl 🔖 Tags : #ROM#AOSP#Nameless#QPR3#U#Official#NothingPhone2 😎 Dev : Chandu Dyavanapell 🔔 Updates : @NothingPhone2Updates 💬 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #364 · 23.07.2024 г., 20:10

Nameless AOSP - Official | Android 14 | Nothing Phone (2) ✍️ Details: - Version: A14 - Official - Codename: #Pong - Released: 24/07/24 🔽 Download: Sourceforge | Pixeldrain | Images ✨ Changelogs: Here 🆘 Support : Here ⚙️ Installation: Here 📸 Screenshots: Here 💵 Donate: Paypal | UPI: dyavanapellichandu@ybl 🔖 Tags : #ROM#AOSP#Nameless#QPR3#U#Official#NothingPhone2 😎 Dev : Chandu Dyavanapell 🔔 Updates : @NothingPhone2Updates 💬 Chat : @NothingPhone2

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #339 · 03.07.2024 г., 11:53

Nameless AOSP - Official | Android 14 | Nothing Phone (2) ✍️ Details: - Version: A14 - Official - Codename: #Pong - Released: 03/07/24 🔽 Download: ROM | Images | Mirror 1 | Mirror 2 ✨ Changelogs: Here 🆘 Support : Here ⚙️ Installation: Here 📸 Screenshots: Here 💵 Donate: Paypal | UPI: dyavanapellichandu@ybl 🔖 Tags : #ROM#AOSP#Nameless#QPR3#U#Official#Nothing 😎 Dev : Chandu Dyavanapell 🔔 Updates : @NothingPhone2Updates 💬 Chat : @NothingPhone2

小喵的ACG黄油 (重开版)

@xiaomiaogame · Post #2884 · 20.02.2026 г., 10:09

DeepOne-领界侵犯 DeepOne -領界侵犯- AI汉化版+全cg存档 ▫️名称:DeepOne-领界侵犯- ▫️原名:DeepOne-領界侵犯- ▫️版本:特典限定版 ▫️贩卖日:2025年07月25日 故事介绍 『这份心意,究竟是爱,抑或诅咒?』名唤《堕落之子》的异形灾厄屡次出没的城市——上水流。 面对接踵而至的空前危机,有人挺身而出与之对抗。 宗主 斋野尚哉 开路者 比奈森沙耶 守护者 斋野一花 管制者 文示宫笃为镇压堕落之子,他们执行了《净化仪式》。 然而。 净化仪式必须付出被诅咒的“代价”。 斋野尚哉为了完成自己的使命,不惜赌上一切誓死奋战。 「确认到堕落之子入侵,现在开始镇压领界侵犯」面对迫近眼前的堕落之子,尚哉挥舞《非人之力》诛杀来犯之敌。 每一次战斗、每一次守护,代价便愈发沉重,丧失亦扩大一分。 即便如此,为守护城市与伙伴,他的决心也丝毫不会动摇。 纵使代价,是失去比生命更为珍贵的事物。「——唯有这件事,我绝对不会让你得逞」在倾尽一切、迈向宿命的尚哉面前,出现了一位素昧平生的少女。 但,少女知道。 正是为了与他相遇,自己才一路走到了这里。 「这次,我一定会拯救你」 「哪怕会被你憎恨,我也在所不惜——」苍之魔女——佑姬霞。 与她邂逅,将彻底改写尚哉的命运。「DeepOne-领界侵犯-」 以“世界”和“心意”为赌注,反抗宿命的故事,此刻拉开序幕。 注:与前作剧情切割了,这作男主比前作有作为多了,而且都是纯爱,而且剧情表现有张力,具体模仿的是魔法使之夜的剧情演出 评分 作者 #Nameless #PC#ADV#AI汉化#优秀作品#战斗#纯爱 #DeepOne-领界侵犯 #DeepOne -領界侵犯- 下载地址