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

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

Резултати

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

Пребарај: #spkusdt

当前筛选 #spkusdt清除筛选
Propheta Indicator Signals

@propheta_indicator · Post #23238 · 28.12.2025 г., 03:40

⭐️ Long | Entry: 0.02361 Symbol: #SPKUSDT - Binance futures link — 📤 Signal details — TP 1️⃣: 0.02373 TP 2️⃣: 0.02385 TP 3️⃣: 0.02396 TP 4️⃣: 0.02408 TP 5️⃣: 0.02432 TP 6️⃣: 0.02455 TP 7️⃣: 0.02479 TP 8️⃣: 0.02503 TP 9️⃣: 0.0255 ⛔️ Stop loss: 0.02243 🏦 Leverage: at your discretion 💰 Entry percentage: 1-5% 👆 A signal for you from the VIP HTL channel!

Hashtags

Propheta Indicator Signals

@propheta_indicator · Post #23249 · 28.12.2025 г., 19:39

👆 Propheta living up to its name yet again 🔮 #SPKUSDT reached 9th TP! Signal from our VIP CLUB channel! Feels good to be a Propheta VIP, man... 🏖ACCESS TO MANUAL TRADING for 70usdt/month 👉 We will keep posting about how we earn money. Will you keep watching how someone else does it, or start earning yourself? Subscribe using our telegram bot: t.me/ProphetaAdmin_bot Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #trading#autotrading#bitcoin

Propheta Indicator Signals

@propheta_indicator · Post #23300 · 03.02.2026 г., 18:43

👆 Propheta living up to its name yet again 🔮 #SPKUSDT has just reached 9th TP in the VIP CLUB channel!!!👍 $432 in profits with a 5% entry and a $1000 deposit! ACCESS TO MANUAL TRADING for 70usdt/month 👉 Get dozens of signals like these daily! Subscribe now >>> t.me/ProphetaAdmin_bot Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #trading#buyeth#CryptoSignal

Propheta Indicator Signals

@propheta_indicator · Post #23235 · 26.12.2025 г., 07:15

👆 Propheta living up to its name yet again 🔮 #SPKUSDT has achieved 9th TP in 14 hours in our VIP HTL channel! You could've earned $304 with a 5% entry and a $1000 deposit! Feels good to be a Propheta VIP, man... 🏖ACCESS TO MANUAL TRADING for 70usdt/month 💰Turn data into gains with Propheta AI Analyzer: deep AI analysis spots trends with surgical precision, tweaks in seconds to your goals, and pair hunting pumps your trading to the next level — this is the evolution of the game! GET THE ACCESS Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #AItrading#cryptoexchange#bitcoinnews

Propheta Indicator Signals

@propheta_indicator · Post #23227 · 22.12.2025 г., 10:08

👀 Well, would you look at that! 👆 #SPKUSDT reached 9th TP in under 58 minutes! Signal from our VIP HTL channel! Easy $303 with a 5% entry and a $1000 deposit! ACCESS TO MANUAL TRADING for 70usdt/month 👉 Looking at those reports and can't believe what you're seing? Go to our reports channel and audit us! @propheta_reports Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #cryptocurrency#tradingindicator#bitcoinnews

CryptoBull_360™

@cryptobull_360 · Post #49445 · 23.04.2026 г., 06:21

#SPK did 114% massive rally by breaking out from the bottom accumulation zone along with #Upbit SPOT listing!! Congrats traders who bought on time!! $SPK #SPKUSDT https://x.com/CryptoBull_360/status/2046058078567845980?s=20