@jonafzan · Post #446 · 20.06.2018 г., 08:14
📂 G-Dragon 🎤#BigBang 🎤#GDragon 📥 Link 👇👇 🌸🌸🌸Pack 1 🌸🌸🌸 t.me/addstickers/GDragonStickers 🌸🌸🌸 Pack 2 🌸🌸🌸 T.me/addstickers/BigbangStickers ⚙️@Jonafzan
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #191 · 14 дек.
Как разделить строку с shell-командой на отдельные аргументы в виде списка? Если сделать просто сплит по пробелу то получим то что надо, кроме случаев со вставками текста с пробелами. Например так: >>> '-arg "I Am Groot"'.split(' ') ['-arg', '"I', 'Am', 'Groot"'] Чтобы учитывать текст в кавычках как единый аргумент можно воспользоваться функцией shlex.split() Кто читает мой канал давно, уже в курсе. А что делать, если нужно обратное действие? Объединить аргументы из списка в строку и при этом добавить кавычки в аргумент с пробелами. Конечно, если вы используете subprocess то он сам всё разрулит. Но если вам нужна именно команда одной строкой, то можно воспользоваться готовой функцией в том же subprocess. >>> from subprocess import list2cmdline >>> list2cmdline(['-arg', 'I Am Groot']) '-arg "I Am Groot"' Он также позаботится об экранировании уже имеющихся кавычек >>> list2cmdline(['-arg', 'I Am "Groot"']) '-arg "I Am \"Groot\""' А вот так он может "схлопнуть" в команду JSON >>> list2cmdline(['--json', json.dumps({'key': 'value'})]) '--json "{\"key\": \"value\"}"' _______________ Возможно кто-то спросит, а зачем соединять аргументы в строку если subprocess сам это сделает а os.system не наш путь? Мне как-то потребовалось отправлять команду на удалённое выполнение и в API поддерживалось указание команды только строкой. Так что всякое бывает) #libs#basic
Пребарај: #bigbang
@jonafzan · Post #446 · 20.06.2018 г., 08:14
📂 G-Dragon 🎤#BigBang 🎤#GDragon 📥 Link 👇👇 🌸🌸🌸Pack 1 🌸🌸🌸 t.me/addstickers/GDragonStickers 🌸🌸🌸 Pack 2 🌸🌸🌸 T.me/addstickers/BigbangStickers ⚙️@Jonafzan
@jonafzan · Post #39 · 19.02.2018 г., 06:42
G-Dragon #GDragon#BigBang
@jonafzan · Post #32 · 19.02.2018 г., 06:36
G-Dragon #GDragon#BigBang
@bubbletealuv · Post #3115 · 08.02.2025 г., 18:43
ᝬ 🤩𖠵 ゛ (( 🐰) new post by bubbletealuv ↝ #GDragon➛ #BigBang#Solo.. ✨ …( emoji ) 💭 взяли? буду рад увидеть плюсы и реакции.
@bubbletealuv · Post #1910 · 22.12.2023 г., 18:13
Тэян [BigBang] 🍱🍱🍱 💫установить пак💫 tag - #Taeyang#BigBang#solo#kpop
@bubbletealuv · Post #1909 · 21.12.2023 г., 19:51
Джи Драгон [BigBang] 🍜🍜🍜 🦖установить пак🦖 tag - #GDragon#BigBang#solo#kpop
@cosmomyst · Post #439 · 17.10.2025 г., 20:21
🪐 The cosmic microwave background is not just a faint afterglow—embedded within it are tiny, swirling patterns called "polarization anomalies," first mapped in detail by the Planck satellite. These twists in the microwave light tell scientists how matter and light interacted in the early universe, revealing clues about the first few moments after the Big Bang and hinting at processes like cosmic inflation—an explosive expansion that happened in fractions of a second. ✨ #cosmology⚡#universe⚡#bigbang⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@bubbletealuv · Post #1911 · 22.12.2023 г., 19:43
Дэсон [BigBang] 🍲🍲🍲 🐰установить пак🐰 tag - #Daesung#BigBang#solo#kpop
@abmedia_news · Post #23950 · 17.04.2026 г., 10:00
【🚀 交易市場|HYBE、SM、JYP、YG 合體推「Phenomenon」:韓版 Coachella 音樂節啟動 】 #BIGBANG#BTS#Coachella 📍 請見報導: https://abmedia.io/hybe-sm-jyp-yg-phenomenon 💸 [活動]:BingX 推出 SpaceX IPO 前資產的鏈上交易機制,進一步拓展未來高價值資產布局
Hashtags
@cosmomyst · Post #570 · 20.12.2025 г., 22:21
🪐 When the European Space Agency’s Planck satellite mapped the cosmic microwave background—the faint afterglow of the Big Bang—it found the universe’s temperature is nearly uniform everywhere, but with subtle hot and cold spots only millionths of a degree apart. These tiny temperature variations, scattered across the sky, serve as a cosmic “fossil record,” encoding clues to how galaxies, clusters, and the vast cosmic web evolved from the universe’s earliest moments. ✨ #microwaveradiation⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #724 · 27.03.2026 г., 22:21
🪐 The cosmic microwave background, first detected by Arno Penzias and Robert Wilson in 1965, is the faint, ancient light left over from the Big Bang that fills all of space and bathes galaxies like the Milky Way in low-energy microwaves. This "baby picture" of the universe reveals information about the cosmos just 380,000 years after its beginning, before any stars or galaxies existed, giving astronomers a unique window into how everything started and evolved. ✨ #microwaves⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #289 · 18.09.2025 г., 03:11
🪐 The cosmic microwave background is filled with "anisotropies"—tiny temperature variations only millionths of a degree apart, mapped in stunning detail by the Planck satellite. These subtle patterns show how matter and energy were distributed just 380,000 years after the Big Bang, providing a cosmic blueprint that led to the galaxies and clusters we see today. ✨ #microwaverelic⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries