@binarypartner · Post #13881 · 21.05.2024 г., 16:05
#Quotex Account Open Step by Step Full Video 🔥https://youtu.be/Ro9Y57pe5i4
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #146 · 16 сеп.
Функция sub в regex может принимать функцию в качестве аргумента repl. 📄 Из документации: If repl is a function, it is called for every non-overlapping occurrence of pattern. The function takes a single match object argument, and returns the replacement string. То есть для каждого совпадения будет вызвана функция для вычисления замены вместо замены на одну и ту же строку для всех совпадений. Иными словами, для замены разных совпадений на разные строки не потребуется запускать re.sub() много раз для каждой строки замены. Достаточно определить функцию, которая вернёт строку для каждого из совпадений. Описание слишком запутанное🤔, давайте лучше рассмотрим на простом примере: Создаем карту замены. То есть какие строки на какие требуется менять. remap = { 'раз': '1', 'два': '2', 'три': '3', 'четыре': '4', 'пять': '5', } Пишем функцию поиска строки для замены. Единственным аргументом будет объект re.Match. Используя данные этого объекта мы вычисляем замену on-the-fly! def get_str(match: re.Match): word = match.group(1) return remap.get(word.lower()) or word Пример текста. text = '''Раз Два Три Четыре Пять Вместе будем мы считать Пять Четыре Три Два Раз Мы считать научим вас ''' Теперь запускаем re.sub и вместо строки замены (repl) подаём имя функции. (Данный паттерн ищет отдельные слова в тексте) >>> print(re.sub(r'(\w+)', get_str, text)) 1 2 3 4 5 Вместе будем мы считать 5 4 3 2 1 Мы считать научим вас Думаю, достаточно наглядно 🤓 #libs#regex
Пребарај: #quotex
@binarypartner · Post #13881 · 21.05.2024 г., 16:05
#Quotex Account Open Step by Step Full Video 🔥https://youtu.be/Ro9Y57pe5i4
Hashtags
@binarypartner · Post #13847 · 06.09.2023 г., 19:00
#Quotex verification process https://youtu.be/LgUe0ghYXb4
Hashtags
@ss7trader · Post #30010 · 04.03.2026 г., 18:05
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29991 · 03.03.2026 г., 15:08
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29981 · 02.03.2026 г., 11:49
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29933 · 25.02.2026 г., 12:14
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29894 · 23.02.2026 г., 12:57
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #30790 · 11.05.2026 г., 16:18
⚙100% NON-REPAINT. 0% GUESSING.⚙ 👉Look at these clean entries from today's session with Pro Thunder V12. Once the signal appears, it STAYS. No shifting, no disappearing, just pure accuracy. 👉Neural Network Logic: Our AI scans thousands of data points to find the highest probability reversal. 📈Result: See the screenshots for the clinical precision. Stop losing money on lagging indicators. It’s time to upgrade to the V12 standard.👑 👇 GET YOUR COPY NOW 👇 👉CLICK TO GET V12 NOW! #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30745 · 06.05.2026 г., 12:09
⚡️V12 STRIKES AGAIN! ⚡️ Another Perfect Signal on EUR/GBP. 👉 Neural Confirmed 👉 100% Non-Repaint 👉 Pure Profit Stop losing to lagging indicators. Join the ss7trader revolution today. 👑 👇GET ACCESS 👇 https://ss7trader.com/product/pro-thunder-v12/ #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30693 · 29.04.2026 г., 14:49
⚡️V12 STRIKES AGAIN! ⚡️ Another Perfect Signal on GBP/JPY. 👉 Neural Confirmed 👉 100% Non-Repaint 👉 Pure Profit Stop losing to lagging indicators. Join the ss7trader revolution today. 👑 👇GET ACCESS 👇 https://ss7trader.com/product/pro-thunder-v12/ #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30643 · 27.04.2026 г., 12:36
⚙100% NON-REPAINT. 0% GUESSING.⚙ 👉Look at these clean entries from today's session with Pro Thunder V12. Once the signal appears, it STAYS. No shifting, no disappearing, just pure accuracy. 👉Neural Network Logic: Our AI scans thousands of data points to find the highest probability reversal. 📈Result: See the screenshots for the clinical precision. Stop losing money on lagging indicators. It’s time to upgrade to the V12 standard.👑 👇 GET YOUR COPY NOW 👇 👉CLICK TO GET V12 NOW! #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30610 · 24.04.2026 г., 12:05
⚙100% NON-REPAINT. 0% GUESSING.⚙ 👉Look at these clean entries from today's session with Pro Thunder V12. Once the signal appears, it STAYS. No shifting, no disappearing, just pure accuracy. 👉Neural Network Logic: Our AI scans thousands of data points to find the highest probability reversal. 📈Result: See the screenshots for the clinical precision. Stop losing money on lagging indicators. It’s time to upgrade to the V12 standard.👑 👇 GET YOUR COPY NOW 👇 👉CLICK TO GET V12 NOW! #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы