English
Open in Telegram

ThreadСпс

2 messages · –
  1. N
    Вот новое, будет искать и без всяких split'ов, если тебе все ещё нужно def find(string,substring): search = string.find(substring) if search == -1: return None else: return search,((search-1)+len(substring)+1) full_string = "foo bar Python" search = "Python" indices = find(full_string,search) print("Result: " + full_string[indices[0]:indices[1]])
ССообщество Python ПрограммистовСообщество Python Программистов@python_scripts · group · Tech
4 169members43writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count