@developmentnewsindia · Post #44355 · 03.05.2026 г., 07:46
🇮🇳🚱🇵🇰 Baglihar Dam’s gates on the Chenab River in Ramban, Jammu & Kashmir, remain shut, with no visible water being released downstream towards Pakistan. #Water
Hashtags
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
Пребарај: #water
@developmentnewsindia · Post #44355 · 03.05.2026 г., 07:46
🇮🇳🚱🇵🇰 Baglihar Dam’s gates on the Chenab River in Ramban, Jammu & Kashmir, remain shut, with no visible water being released downstream towards Pakistan. #Water
Hashtags
@PracticalInformation · Post #1331 · 31.07.2022 г., 05:49
California announces plan to charge landowners for their own water It's not satire — it's Agenda 2030 perfect awareness of all resources and economic activity. California has announced to landowners that they now are going to be billed for the water they take out of their own wells, on their own land. Hundreds of dollars in fees are looming, with 25% penalties for those who don't pay on time: "Landowners whose property is within an unmanaged area and contains an operating ground water extraction well must report the volume of groundwater extracted from the well. The groundwater extraction volume must be reported as a monthly total. In addition to pumping volumes, reports must include the location of the well and the place and purpose of use of the groundwater. Groundwater extraction reports are not due to the state water board until February 1, 2023. However, if you are required to report, the report must include pumping volumes for each month between the date of receipt of this letter and September 30, 2022." #Water https://www.wnd.com/2022/07/california-announces-plan-charge-landowners-water/
Hashtags
@MostInspiring · Post #244 · 03.12.2018 г., 03:16
Most Important Thing in our lives is #water @MostInspiring
Hashtags
@NatureTravelVacationPictures · Post #718 · 16.04.2019 г., 18:30
🌿❤️✨🍃 Turtle🐢🐢🐢 #Water#Nature Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@vorishfursuits · Post #107 · 18.02.2021 г., 04:05
https://www.furaffinity.net/view/33871590/ #water#pooltoy
@ncdcgov · Post #4305 · 14.06.2024 г., 09:00
Contamination of drinking #water can occur at the source, during transportation, or storage at home. Ensure your water is safe before use: ➡️BOIL water before drinking ➡️USE water from safe sources ➡️STORE water in properly covered containers ➡️ENSURE bottled water is properly sealed before buying Advisory: https://ncdc.gov.ng/news/513/stop-cholera%3A-public-health-advisory #STOPCholera
Hashtags
@googlefactss · Post #40493 · 07.01.2026 г., 07:02
A water filter called "Life Straw" allows a person to drink directly from a dirty water source. Extremely portable and easy to use, it filters water through pores that are tiny enough to block parasites and other types of bacteria. [Read more..] @googlefactss#water#nowyouknow
Hashtags
@mdmbeng · Post #2201 · 12.10.2024 г., 11:00
#限免#Water Eject 📳手机震动排水 喇叭清灰App 【 Water Eject 】终身会员限免速收 📣 频道:@mdmbeng 投稿:@mdmbeng_Bot
@interesting_planet_facts · Post #506 · 05.08.2025 г., 20:22
🌎 In Mexico's Yucatán Peninsula, the cenote Ik Kil is a natural sinkhole filled with crystal-clear water, formed by collapsed limestone over thousands of years. Once sacred to the Maya, these cenotes provided fresh water and served as entrances to the underworld in ancient beliefs. ✨ #geology⚡#history⚡#water 👉subscribe Interesting Planet
@NatureTravelVacationPictures · Post #1411 · 28.05.2019 г., 02:30
🌿🍁🍃 Inyo National Park #Water#Places#Nature 💁Join Us ✅🔜@BillionaireHomes 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@naturetravelvacationpictures · Post #429 · 05.04.2019 г., 02:30
🌿❤️✨🍃 Karjini National Park, Australia #Places#Water#Nature Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@NatureTravelVacationPictures · Post #1539 · 08.06.2019 г., 03:20
🌿🌻✨🍃 #Scenery#Nature#Water Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃