@TestFlightX · Post #35105 · 03.04.2026 г., 03:06
#Snapchat https://testflight.apple.com/join/p7hGbZUR
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #309 · 2 фев.
Метод строки split() разделяет строку на несколько строк по указанному символу >>> "a_b_c".split('_') ['a', 'b', 'c'] Можно указать максимальное количество разделений >>> "a_b_c".split('_', 1) ['a', 'b_c'] Или резать с другой стороны с помощью rsplit() (right split) >>> "a_b_c".rsplit('_', 1) ['a_b', 'c'] А что будет если оставить аргументы пустыми? >>> "a_b_c".split() ['a_b_c'] Получаем список с одним элементом, потому что по умолчанию используется пробельный символ. >>> "a b c".split() ['a', 'b', 'c'] То есть это равнозначно такому вызову? >>> "a b c".split(" ") ['a', 'b', 'c'] Кажется да, но нет! Давайте попробуем добавить пробелов между буквами >>> "a b c".split(" ") ['a', '', '', 'b', '', '', 'c'] И вот картина уже не так предсказуема 😕 А вот что будет по умолчанию >>> "a b c".split() ['a', 'b', 'c'] Всё снова красиво! 🤩 По умолчанию в качестве разделителя используется любой пробельный символ, будь то табуляция или новая строка. Включая несколько таких символов идущих подряд. А также игнорируются пробельные символы по краям строки. >>> "a\t b\n c ".split() ['a', 'b', 'c'] Аналогичный способ можно собрать с помощью регулярного выражения. Но пробелы по краям строки придется обрабатывать дополнительно. >>> import re >>> re.split(r"\s+", ' a b c '.strip()) ['a', 'b', 'c'] Здесь тоже можно указать количество разделений >>> re.split(r"\s+", 'a b c', 1) ['a', 'b c'] А что если мы хотим написать красиво, то есть split() без аргументов, но при этом указать количество разделений? В этом случае первым аргументом передаём None >>> "a\n b c".split(None, 1) ['a', 'b c'] Данный метод не учитывает строки с пробелами, взятые в кавычки 'a "b c" '.split() ['a', '"b', 'c"'] Но для таких случаев есть другие способы. #tricks#basic
Пребарај: #snapchat
@TestFlightX · Post #35105 · 03.04.2026 г., 03:06
#Snapchat https://testflight.apple.com/join/p7hGbZUR
Hashtags
@TestFlightX · Post #34676 · 20.11.2024 г., 02:14
#Snapchat https://testflight.apple.com/join/p7hGbZUR
Hashtags
@TestFlightX · Post #34401 · 30.10.2024 г., 08:43
#SNAPCHAT https://testflight.apple.com/join/p7hGbZUR
Hashtags
@perspectiveix · Post #1641 · 06.11.2018 г., 10:00
💸SnapAds are the Primary Ad Spend on Snapchat #Snapchat advertising spend by national marketers was projected to have increased by 10% in Q3 and by 8% through the first 9 months of the year, according to recent figures from Standard Media Index, which sources its data directly from the invoices of 5 of the 7 major media holding companies and leading independent agencies. Snapchat’s advertising business has been growing slower than expected. Well, at least according to eMarketer, which recently drastically cut its forecast for the platform’s ad revenues. 🚀@PerspectiveIX via MarketingCharts. 👻 Join us on Snapchat! ❓Do you use Snapchat?
Hashtags
@perspectiveix · Post #1521 · 05.09.2018 г., 08:00
👻Snap Across the Map According to Snap, on average, 188 million people around the world use #Snapchat on a daily basis, and these daily active Snapchatters use the app at an average of over 20 times per day. As of August 2018, these are the number of users Snapchat can reach in different regions/countries: - 93 million in the 🇺🇸 & 🇨🇦 - 76 million in Europe (17.5m in 🇫🇷, 15.5m in 🇬🇧, 9.2m in 🇩🇪) - 21 million in MENA (13.1m in 🇸🇦, 2.6m in 🇮🇶, 1.8m in 🇦🇪) - 13 million in Latin America - 6.5 million in 🇮🇳 - 6 million in 🇦🇺 🚀@PerspectiveIX via Snap. ❓Do you use Snapchat?
Hashtags
@perspectiveix · Post #1506 · 29.08.2018 г., 08:00
👻Snapchat's Growth In their Q2 2018 earnings report, Snap, #Snapchat's parent company, reported beating revenue expectations by 5%, but user growth, after slowing considerably for two years, went in the opposite direction. Snap’s Daily Active Users were (DAUs) still up 9% YoY, but for the first time declined sequentially by 2%. 🚀@PerspectiveIX Read more about Snap's growth excuses at Stratechery.
Hashtags
@perspectiveix · Post #1444 · 07.08.2018 г., 18:30
👻Has Snapchat already stopped growing? Snap reports its Q2 results today after the market close. And the consensus from analysts is that Snap’s audience will grow by just 1 million daily active users, according to FactSet. That’s surprising, considering that #Snapchat added 21 million new users in the same period two years ago. 🚀@PerspectiveIX 📖 via Recode: prs.pctvix.co/2Mqa5mZ
Hashtags
@perspectiveix · Post #1291 · 23.05.2018 г., 19:30
👻Want More Followers on Snapchat? Getting discovered on #Snapchat is not the easiest thing, so we thought we share what we’ve learned so far: https://prs.pctvix.co/2IdOu23 🚀@PerspectiveIX
Hashtags
@perspectiveix · Post #1245 · 04.05.2018 г., 15:01
👻Snapchat Getting discovered on #Snapchat is not the easiest thing, so we thought we share what we’ve learned so far: https://prs.pctvix.co/2IdOu23
Hashtags
@perspectiveix · Post #1210 · 18.04.2018 г., 23:05
🤠For Snapchat Fans Out There We're making a few #Snapchat Lenses (aka face filters). Already made these caps: ❤️ Manchester United: https://prs.pctvix.co/2qF9yDY 💚 New York Jets: https://prs.pctvix.co/2HaW5uD 🦄 Unicorn: https://prs.pctvix.co/2F01RgC If you want a cap for the team you support, message @iXContactBot with the NAME, COUNTRY, and SPORT your team plays. We will randomly select 3 of them and make you a cap! You have 24 hours. Good luck 🙂 🚀@PerspectiveIX 👻 Add us on Snapchat: http://prs.pctvix.co/SnapchatIX
Hashtags
@perspectiveix · Post #1144 · 11.03.2018 г., 20:30
👻#Snapchat users are young, American, and Snap a lot! 🚀@PerspectiveIX 👻 Add us on Snapchat: http://prs.pctvix.co/SnapchatIX Do you you use Snapchat? 👍🏻 Yes 👎🏻 No
Hashtags
@perspectiveix · Post #1136 · 06.03.2018 г., 18:30
👻#Snapchat Guide for Beginners: Friends Screen: http://prs.pctvix.co/2EYWjEN
Hashtags