{"id":316389,"date":"2021-01-14T21:00:45","date_gmt":"2021-01-14T21:00:45","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=316389"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=316389","title":{"rendered":"\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442 \u043d\u0430 Python (\u0412\u0438\u0442\u0430\u043b\u0438\u0439 alfa 2.0)"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442 \u0445\u0430\u0431\u0440! \u041c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u0413\u043b\u0435\u0431 \u041f\u0440\u044f\u0445\u0438\u043d, \u043c\u043d\u0435 14 \u043b\u0435\u0442, \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u043d\u0430 python 3 \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0432 exe.<\/p>\n<p>(<a href=\"https:\/\/drive.google.com\/file\/d\/13CQZU-FtI3mIxxQJTp2jV_W7cV80Aj\/view?usp=sharing\" rel=\"noopener noreferrer nofollow\">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442<\/a>)<\/p>\n<p>\u041f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0430 \u0438 \u043f\u043e\u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0435\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u044b,<\/p>\n<p>\u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443: \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0445 \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c, \u0438\u043b\u0438 \u043d\u0430 \u044d\u043b. \u043f\u043e\u0447\u0442\u0443 glebilic@gmail.com.<\/p>\n<hr>\n<p>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043a\u043e\u0434\u0443! \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0438:<\/p>\n<pre><code>import pyttsx3 import os import time import datetime import speech_recognition as sr import random import webbrowser import sounddevice as sd<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c RHvoice.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442 \u0447\u0438\u0442\u0430\u0435\u0442 \u0444\u0430\u0439\u043b \u0441 \u043a\u043e\u043b-\u0432\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432 \u0438 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0444\u0430\u0439\u043b tts, \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0443\u043c\u0435\u0440 \u0433\u043e\u043b\u043e\u0441\u0430. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f num123 = \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432, \u0430 tts1 = \u043d\u0443\u043c\u0435\u0440\u0443 \u0433\u043e\u043b\u043e\u0441\u0430 \u0432 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0435 \u0440\u0435\u0447\u0438.<\/p>\n<pre><code>f = open(\"sp.txt\", \"r\") num123 = f.read(1000) num123 = int(num123) f.close  f = open(\"tts.txt\", \"r\") tts1 = int(f.read(1)) f.close() #\u0441\u0438\u043d\u0442\u0435\u0437 \u0440\u0435\u0447\u0438 tts = pyttsx3.init() speak_engine = pyttsx3.init()  voices = speak_engine.getProperty('voices') speak_engine.setProperty('voice', voices[tts1].id)<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0448\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b:<\/p>\n<pre><code class=\"python\">os.system('cls' if os.name == 'nt' else 'clear') print(\"\u0412\u0418\u0422\u0410\u041b\u0418\u0419 2.0 ALFA \\nBy \u0413\u043b\u0435\u0431 \u041f\u0440\u044f\u0445\u0438\u043d\\n2021 \\n-\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430...\")<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0447\u0438\u0442\u0430\u0435\u043c \u0444\u0430\u0439\u043b name \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0447\u0442\u043e \u0443\u0436\u0430\u0441! \u041d\u0430\u0448 \u043f\u0430\u0446\u0438\u0435\u043d\u0442, \u043e\u0439 \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435! \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u043e\u0440\u043c\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438:<\/p>\n<pre><code class=\"python\">f = open('name.txt', 'r') if f.read(1) == \"\":     os.system('cls' if os.name == 'nt' else 'clear')     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u044f \u0412\u0438\u0442\u0430\u043b\u0438\u0439, \u044f \u0437\u0434\u0435\u0441\u044c, \u0447\u0442\u043e \u0431\u044b \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u043c \u043d\u0430 \u043d\u043e\u0432\u044b\u0439, \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0441\u044f. \u041a\u0430\u043a \u0432\u0430\u0441 \u0437\u043e\u0432\u0443\u0442?\")     tts.runAndWait()       r = sr.Recognizer()     with sr.Microphone(device_index = 1) as source:         print(' ')         r.adjust_for_ambient_noise(source, duration=0.5) #\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0448\u0443\u043c\u043e\u0432         print('...')         audio = r.listen(source)         print(' ')     try:         query = r.recognize_google(audio, language = 'ru-RU')         name = query.lower()         print(f'\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438: {query.lower()}')                  except:         print('-')      tts.say(\"\u0412\u0430\u0441 \u0437\u043e\u0432\u0443\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.\")     tts.runAndWait()     r = sr.Recognizer()     with sr.Microphone(device_index = 1) as source:         print(' ')         r.adjust_for_ambient_noise(source, duration=0.5) #\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0448\u0443\u043c\u043e\u0432         print('...')         audio = r.listen(source)         print(' ')     try:         query = r.recognize_google(audio, language = 'ru-RU')         ver = query.lower()         print(f'\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438: {query.lower()}')                  except:         print('-')     if \"\u0434\u0430\" in ver or \"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\" in ver:         f = open('name.txt', 'w')         f.write(name.title())         f.close()         tts.say(\"\u0413\u043e\u0442\u043e\u0432\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0431\u043e\u043b\u0442\u0430\u0435\u043c!\")         tts.runAndWait()          else:         tts.say(\"\u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0441\u0432\u043e\u0435 \u0438\u043c\u044f \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0435\")         tts.runAndWait()         name = input(\"\u0412\u0430\u0448\u0435 \u0438\u043c\u044f: \")         tts.say(\"\u0413\u043e\u0442\u043e\u0432\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0431\u043e\u043b\u0442\u0430\u0435\u043c!\")         tts.runAndWait()         f = open('name.txt', 'w')         f.write(name.title())         f.close()<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c, \u043c\u044b \u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043b-\u0432\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432, \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c \u0447\u0442\u043e \u044d\u0442\u043e &#171;\u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437&#187;, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0447\u0438\u0442\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0430\u0436:<\/p>\n<pre><code class=\"python\">if num123 == 0:         tts.say(\"\u041d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0445\u043e\u0447\u0443 \u043d\u0430\u0443\u0447\u0438\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c: \u0418 \u0442\u0430\u043a \u0432\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u043e\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434:\")         tts.runAndWait()         tts.say(\"\u0422\u0443\u0442 \u0442\u0435\u043a\u0441\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0430\u0436\u0430\")         tts.runAndWait()<\/code><\/pre>\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043a\u043e \u0432\u0445\u043e\u0434\u0443 \u0432 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0446\u0438\u043a\u043b:<\/p>\n<pre><code>#\u0442\u0443\u0442 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043a \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0443 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432 f = open(\"sp.txt\", \"w\") num123 = num123 + 1 num123 = str(num123) num123 = f.write(num123) f.close #\u0430 \u0442\u0443\u0442 \u0447\u0438\u0442\u0430\u0435\u043c \u0438\u043c\u044f \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e f = open('name.txt', 'r') name = f.read(10) r = random.randint(1,10)<\/code><\/pre>\n<p>\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0431\u043b\u043e\u043a\u0435 \u043c\u044b \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438 \u0437\u0430\u043d\u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e r, \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c elif`\u043a\u0438 \u0438 \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 cont, \u043e\u043d\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u043d\u0430\u043c \u043f\u043e\u0437\u0436\u0435:<\/p>\n<pre><code class=\"python\">cont = \"\" if r == 1:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041a\u0430\u043a \u0434\u0435\u043b\u0430?\")     tts.runAndWait() elif r == 2:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0427\u0435\u043c \u043c\u043e\u0433\u0443 \u043f\u043e\u043c\u043e\u0447\u044c?\")     tts.runAndWait() elif r == 3:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0427\u0435\u043c \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f?\")     tts.runAndWait() elif r == 4:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0425\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043a\u0440\u043e\u044e \u043f\u043e\u0447\u0442\u0443?\")     tts.runAndWait()     cont = (\"\u043f\u043e\u0447\u0442\u0430\")  elif r == 5:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u044e\u0442\u0443\u0431?\")     tts.runAndWait()     cont = \"\u044e\u0442\u0443\u0431\" elif r == 6:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0438\u043d\u043e?\")     tts.runAndWait()     cont = \"\u043a\u0438\u043d\u043e\" elif r == 7:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0427\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0437\u043d\u0430\u0442\u044c?\")     tts.runAndWait() elif r == 8:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442\u0438\u043a\u0438\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0438?\")     tts.runAndWait()     cont = \"\u043d\u043e\u0432\u043e\u0441\u0442\u0438\" elif r == 9:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0413\u0434\u0435 \u0432\u044b \u0431\u044b\u043b\u0438?\")     tts.runAndWait() elif r == 10:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041a\u0430\u043a \u0434\u0435\u043b\u0430?\")     tts.runAndWait()<\/code><\/pre>\n<p>\u0412\u0445\u043e\u0434\u0438\u043c \u0432 \u0446\u0438\u043a\u043b:<\/p>\n<pre><code class=\"python\">while True:     cikl = cikl + 1     ca = 0     ra = random.randint(1,10)     an = \"\"     #\u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u043d\u0438\u0435     r = sr.Recognizer()     with sr.Microphone(device_index = 1) as source:         print(' ')         r.adjust_for_ambient_noise(source, duration=0.5) #\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0448\u0443\u043c\u043e\u0432         print('...')         audio = r.listen(source)         print(' ')     try:         query = r.recognize_google(audio, language = 'ru-RU')         an = query.lower()         print(f'\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438: {query.lower()}')                  except:         print('-') <\/code><\/pre>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0435\u0440\u0432\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 &#171;\u0434\u0430&#187;, \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e cont? \u0422\u0430\u043a \u0432\u043e\u0442 \u043e\u043d\u0430 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442 \u043e\u0442\u0432\u0435\u0442 &#171;\u0434\u0430&#187; \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 &#171;\u043e\u0442\u043a\u0440\u044b\u0442\u044c \u044e\u0442\u0443\u0431?&#187;, \u0438 &#171;\u0434\u0430&#187; \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 &#171;\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u043e\u0432\u043e\u0441\u0442\u0438?&#187;, \u0435\u0441\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0435\u0442, \u0442\u043e \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043e\u0442\u0432\u0435\u0442\u043e\u043c.<\/p>\n<pre><code class=\"python\"> #\u0434\u0430     if \"\u0434\u0430\" in an and len(an) == 2 or \"\u0434\u0430\u0432\u0430\u0439\" in an or \"\u043f\u043e\u0447\u0435\u043c\u0443-\u0431\u044b \u0438 \u043d\u0435\u0442\" in an:         ca = 1         if cont == \"\u043f\u043e\u0447\u0442\u0430\":             f = open('email.txt', 'r')             if f.read(1) == \"\":                 tts.say(\"\u042f \u0441\u043e\u0432\u0441\u0435\u043c \u0437\u0430\u0431\u044b\u043b, \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432\u0430\u0448\u0430 \u043f\u043e\u0447\u0442\u0430! \u041f\u043e\u0436\u0430\u0439\u043b\u0443\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043d\u0443\u0436\u043d\u0443\u044e.\")                 tts.runAndWait()                 a = 1                 while True:                     v = input(\"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430.\")                     f = open('email.txt', 'w')                     if \"https\" in v:                         web = v                         f.write(web)                         f.close()                         break              tts.say(\"\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e \u043f\u043e\u0447\u0442\u0443\")             f = open('email.txt', 'r')             web = f.read(97)             f.close()             tts.runAndWait()             webbrowser.open(web)                  elif cont == \"\u044e\u0442\u0443\u0431\":             tts.say(\"\u0425\u043e\u0440\u043e\u0448\u043e, \u0432\u043a\u043b\u044e\u0447\u0430\u044e \u0435\u0433\u043e\")             tts.runAndWait()             webbrowser.open('https:\/\/www.youtube.com\/')          elif cont == \"\u043a\u0438\u043d\u043e\":             tts.say(\"\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0431\u0435\u0440\u0435\u043c \u0447\u0442\u043e \u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u043e\u043a\u043e\")             tts.runAndWait()             webbrowser.open('https:\/\/okko.tv\/')          elif cont == \"\u043d\u043e\u0432\u043e\u0441\u0442\u0438\":             tts.say(\"\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u044e \u0435\u0432\u0440\u043e\u043d\u044c\u044e\u0441!\")             tts.runAndWait()             webbrowser.open('https:\/\/www.youtube.com\/watch?v=E3rH3KdVWcc')                  elif cont == \"\u044e\u0442\u0443\u0431\u043f\u0440\":             tts.say(\"\u0412\u043e\u0442, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f\")             tts.runAndWait()             webbrowser.open('https:\/\/www.youtube.com\/channel\/UCy0uukwm4dOSFCGyfp8g2sw')         else:             tts.say(\"\u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e.\")             tts.runAndWait()<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c. \u042f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u043e 1 \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0445 \u0432\u0438\u0434:<\/p>\n<p>\u0421\u0443\u043f\u0435\u0440 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0430\u044f \u043e\u0434\u0438\u043d \u0441\u0430\u0439\u0442:<\/p>\n<pre><code class=\"python\">elif \"\u0432\u043a \" in an or \"\u0432\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435\" in an:         ca = 1         tts.say(\"\u0412\u043a\u043b\u044e\u0447\u0430\u044e \u0432\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435\")         tts.runAndWait()         webbrowser.open(\"https:\/vk.com\")<\/code><\/pre>\n<\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0430\u0439\u0442\u0443:<\/p>\n<pre><code class=\"python\">elif \"\u043d\u0430\u0439\u0434\u0438 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435\" in an:         ca = 1         tts.say(\"\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u044e \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443\")         tts.runAndWait()         tts.say(an[an.find(\"\u0435\u0442\u0435\")+3:])         tts.runAndWait()         sear = an[an.find(\"\u0435\u0442\u0435\")+3:]         webbrowser.open(\"https:\/\/www.google.com\/search?q=\" + sear)<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0430\u044f \u0441\u0430\u0439\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u0432 \u0444\u0430\u0439\u043b, \u0438 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u0441\u044f:<\/p>\n<pre><code class=\"python\">elif \"\u043f\u043e\u0447\u0442\" in an:         ca = 1         f = open('email.txt', 'r')         if f.read(1) == \"\":             tts.say(\"\u042f \u0441\u043e\u0432\u0441\u0435\u043c \u0437\u0430\u0431\u044b\u043b, \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432\u0430\u0448\u0430 \u043f\u043e\u0447\u0442\u0430! \u041f\u043e\u0436\u0430\u0439\u043b\u0443\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043d\u0443\u0436\u043d\u0443\u044e.\")             tts.runAndWait()             a = 1             while True:                 v = input(\"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430.\")                 f = open('email.txt', 'w')                 if \"https\" in v:                     web = v                     f.write(web)                     f.close()                     break<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0430:<\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n<pre><code class=\"python\">elif \"\u0435\u0441\u043b\u0438 \u044f \u0441\u043a\u0430\u0436\u0443 \u044d\u0442\u043e\" in an:         ca = 1         os.system('\u0442\u043e \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 \u044d\u0442\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443')         tts.say(\"\u0418 \u0441\u043a\u0430\u0436\u0435\u0442 \u044d\u0442\u043e\")         tts.runAndWait()         tts.say(name) #\u0430 \u043f\u043e\u0442\u043e\u043c \u0438\u043c\u044f \u043f\u0440\u043e\u0438\u0437\u043d\u0435\u0441\u0435\u0442.         tts.runAndWait()<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u0430:<\/p>\n<pre><code class=\"python\"> elif \"\u0432\u044b\u043a\u043b\u044e\u0447\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\" in an or \"\u0437\u0430\u0432\u0435\u0440\u0448\u0438 \u0440\u0430\u0431\u043e\u0442\u0443\" in an:         ca = 1         tts.say(\"\u0414\u043e\u0441\u0432\u0438\u0434\u0430\u043d\u0438\u044f\")         tts.runAndWait()         tts.say(name)         tts.runAndWait()         tts.say(\"\u0414\u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0441\u0442\u0440\u0435\u0447. \u0418\u0434\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b.\")         tts.runAndWait()         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 10 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 09 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 08 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 07 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 06 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 05 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 04 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 03 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 02 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 01 \u0441\u0435\u043a\u0443\u043d\u0434.\")         time.sleep(1)         os.system('cls' if os.name == 'nt' else 'clear')         print(\"\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435...\")         time.sleep(1)         os.system('shutdown -s')<\/code><\/pre>\n<p>\u0417\u0430\u043c\u0435\u0442\u043a\u0438. \u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442 \u0443\u043c\u0435\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0437\u0430\u043c\u0435\u0442\u043a\u0438, \u0432\u043e\u0442 \u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e:<\/p>\n<pre><code>#\u043f\u0430\u043c\u044f\u0442\u044c         elif \"\u0437\u0430\u043f\u043e\u043c\u043d\u0438\" in an or \"\u043d\u0430\u043f\u043e\u043c\u043d\u0438\" in an:         ca = 1         f = open(\"z1.txt\", \"a\")         if an[len(\"\u0437\u0430\u043f\u043e\u043c\u043d\u0438\"):] == \"\":             tts.say(\"\u0417\u0430\u043c\u0435\u0442\u043a\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u043e\u0439! \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e, \u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u0437\u0430\u043f\u043e\u043c\u043d\u0438 \u0438 \u0442\u043e \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c.\")             tts.runAndWait()             print(\"\u041e\u0448\u0438\u0431\u043a\u0430! \u0412\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u0443\u044e \u0437\u0430\u043c\u0435\u0442\u043a\u0443!\")         else:             tts.say(\"\u042f \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0431\u044b \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u044d\u0442\u0443 \u0437\u0430\u043c\u0435\u0442\u043a\u0443 \u0441\u043a\u0430\u0436\u0438\u0442\u0435, \u0447\u0442\u043e \u0442\u044b \u043f\u043e\u043c\u043d\u0438\u0448\u044c?\")             tts.runAndWait()             an45 = an[len(\"\u0437\u0430\u043f\u043e\u043c\u043d\u0438\"):] + \",\"             f.write(an45)             f.close()     elif \"\u043f\u043e\u043c\u043d\" in an:         ca = 1         f = open(\"z1.txt\", \"r\")         if f.read(1) == \"\":             tts.say(\"\u041f\u043e\u0445\u043e\u0436\u0435 \u0443 \u0432\u0430\u0441 \u0435\u0449\u0435 \u043d\u0435\u0442 \u0437\u0430\u043c\u0435\u0442\u043e\u043a. \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e, \u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u0437\u0430\u043f\u043e\u043c\u043d\u0438 \u0438 \u0442\u043e \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c.\")             tts.runAndWait()         else:             st = f.read()             print(st)             tts.say(\"\u0418 \u0442\u0430\u043a \u0432\u043e\u0442 \u0447\u0442\u043e \u044f \u043f\u043e\u043c\u043d\u044e:\")             tts.runAndWait()             tts.say(st)             tts.runAndWait()             tts.say(\"\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0445 \u0443\u0434\u0430\u043b\u0438\u0442\u044c, \u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438.\")             tts.runAndWait()             f.close()     elif \"\u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438\" in an or \"\u0443\u0434\u0430\u043b\u0438 \u0432\u0441\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438\" in an:         ca = 1         print(\"\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?\")         tts.say(\"\u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438? \u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u0439\u043b\u0443\u0441\u0442\u0430.\")         tts.runAndWait()         #\u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u043d\u0438\u0435         r = sr.Recognizer()         with sr.Microphone(device_index = 1) as source:             print(' ')             r.adjust_for_ambient_noise(source, duration=0.5) #\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0448\u0443\u043c\u043e\u0432             print('...')             audio = r.listen(source)             print(' ')         try:             query = r.recognize_google(audio, language = 'ru-RU')             an = query.lower()             print(f'\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438: {query.lower()}')                      except:             print('-')         if an == \"\u0434\u0430\" or \"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\" in an or \"\u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\" in an:             ca = 1             print(\"\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435...\")             f = open(\"z1.txt\", \"w\")             f.write(\"\")             tts.say(\"\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043c\u0435\u0442\u043e\u043a \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e.\")             tts.runAndWait()         else:             print(\"\u041e\u0442\u043c\u0435\u043d\u0430...\")             tts.say(\"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e, \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u044b. \u041d\u0443 \u0432\u044b \u043c\u0435\u043d\u044f \u0438 \u043d\u0430\u043f\u0443\u0433\u0430\u043b\u0438...\")             tts.runAndWait()         f.close()<\/code><\/pre>\n<p>\u0415\u0449\u0435 \u043f\u0430\u0440\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439:<\/p>\n<pre><code>elif \"\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\" in an: \t\t\t\tca = 1         tts1 = input(\"\u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 \u0433\u043e\u043b\u043e\u0441\u0430:\")         f = open(\"tts.txt\", \"w\")         f.write(tts1)         f.close()  elif \"\u0437\u0430\u043c\u043e\u043b\u0447\u0438\" in an or \"\u0441\u0442\u043e\u043f\" in an:         ca = 1         tts.say(\"\u0425\u043e\u0440\u043e\u0448\u043e, \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d. \u0414\u043b\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u044d\u043d\u0442\u0440\")         tts.runAndWait()         an4925479864 = input(\"[\u041f\u0410\u0423\u0417\u0410] \u041d\u0430\u0436\u043c\u0438\u0442\u0435 enter: \")         tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442-\u043f\u0440\u0438\u0432\u0435\u0442, \u0447\u0435\u043c \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f?.\")         tts.runAndWait()<\/code><\/pre>\n<p>\u0421\u043c\u043e\u043b \u0442\u043e\u043b\u043a. \u0423 \u043c\u0435\u043d\u044f \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d, \u0435\u0441\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e, \u0442\u043e \u0441\u043c\u043e\u043b \u0442\u043e\u043b\u043a \u044d\u0442\u043e &#171;\u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440 \u043d\u0438 \u043e \u0447\u0435\u043c&#187; \u0442\u0438\u043f\u0430 &#171;\u043a\u0430\u043a \u0434\u0435\u043b\u0430&#187;.<\/p>\n<pre><code>elif \"\u0432\u0438\u0442\u0430\u043b\u0438\u0439 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0439 \u0434\u0438\u0430\u043b\u043e\u0433\u0438\" in an:         ca = 1         tts.say(\"\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0430, \u041e \u0447\u0451\u043c \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c?\")         tts.runAndWait()         f = open('dialogset.txt', 'w')         f.write(\"1\")         f.close()     elif \"\u0432\u0438\u0442\u0430\u043b\u0438\u0439 \u0432\u044b\u043a\u043b\u044e\u0447\u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0438\" in an:         ca = 1         tts.say(\"\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0430.\")         tts.runAndWait()         f = open('dialogset.txt', 'w')         f.write(\"0\")         f.close()     f = open('dialogset.txt', 'r')     an4897987 = f.read(1)     f.close()            if an4897987 == \"1\":         rsm = random.randint(1,3)         if \"\u043f\u0440\u0438\u0432\u0435\u0442\" in an or \"\u0437\u0434\u0440\u0430\u0432\" in an:             ca = 1             if rsm == 1:                 tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442, \u0447\u0435\u043c \u043c\u043e\u0433\u0443 \u043f\u043e\u043c \u043e\u0447\u044c?.\")                 tts.runAndWait()             elif rsm == 2:                 tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c.\")                 tts.runAndWait()             elif rsm == 3:                 tts.say(\"\u0425\u044d\u043b\u043e\u0443.\")                 tts.runAndWait()          #\u043f\u0440\u0438\u043c\u0435\u0440 \u0444\u0440\u0430\u0437\u044b \u0441\u043c\u043e\u043b \u0442\u043e\u043b\u043a`\u0430         elif \"\u04321\" in an or \"\u04322\" in an:             ca = 1             if rsm == 1:                 tts.say(\"1\u0432 \u043e\u0442\u0432\u0435\u0442\u0430\")                 tts.runAndWait()             elif rsm == 2:                 tts.say(\"2\u0432 \u043e\u0442\u0432\u0435\u0442\u0430.\")                 tts.runAndWait()             elif rsm == 3:                 tts.say(\"3\u0432 \u043e\u0442\u0432\u0435\u0442\u0430\")                 tts.runAndWait()                  elif \"\u043a\u0430\u043a\" in an and \"\u0434\u0435\u043b\" in an:             ca = 1             if rsm == 1:                 tts.say(\"\u041a\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u043b\u0430-\u0431\u044b \u0410\u043b\u0438\u0441\u0430, \u0443 \u043c\u0435\u043d\u044f \u0432\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0434\u0438\u043d\u043e\u043a\u043e, \u043e\u0431\u0440\u0430\u0449\u0430\u0439\u0442\u0435\u0441\u044c \u043a\u043e \u043c\u043d\u0435 \u043f\u043e-\u0447\u0430\u0449\u0435.\")                 tts.runAndWait()             elif rsm == 2:                 tts.say(\"\u0423 \u043c\u0435\u043d\u044f \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e! \u0417\u0430\u0445\u043e\u0434\u0438\u043b \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0422\u0430\u043c \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e. \u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c?\")                 tts.runAndWait()                 cont = \"\u044e\u0442\u0443\u0431\u043f\u0440\"                 cikl = 0             elif rsm == 3:                 tts.say(\"\u0423 \u043c\u0435\u043d\u044f \u0432\u0441\u0451 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e! \u0410 \u0443 \u0432\u0430\u0441?\")                 tts.runAndWait()             elif \"\u0445\u043e\u0440\u043e\u0448\u043e\" in an or \"\u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e\" in an:             ca = 1             if rsm == 1:                 tts.say(\"\u042f \u0440\u0430\u0434 \u0437\u0430 \u0432\u0430\u0441, \u0447\u0435\u043c \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f?\")                 tts.runAndWait()             elif rsm == 2:                 tts.say(\"\u042f \u0440\u0430\u0434 \u0437\u0430 \u0432\u0430\u0441, \u0443 \u043c\u0435\u043d\u044f \u0442\u043e\u0436\u0435 \u0432\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e.\")                 tts.runAndWait()             elif rsm == 3:                 tts.say(\"\u042f \u0440\u0430\u0434 \u0437\u0430 \u0432\u0430\u0441.\")                 tts.runAndWait()<\/code><\/pre>\n<p>\u0410 \u0435\u0441\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0430? \u0418\u043b\u0438, \u0447\u0442\u043e \u0431\u043e\u0442 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u0430? \u0412\u043e\u0442 \u0447\u0442\u043e. \u041a\u0441\u0442\u0430\u0442\u0438 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b \u0437\u0430 \u0446\u0438\u043a\u043b \u043d\u0438 \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f ca = 0.<\/p>\n<pre><code class=\"python\">if an == \"\":             print(\"\")             ca = 1     if ca == 0:         print(\"\u043e\u0448\u0438\u0431\u043a\u0430\")          if ra == 1 or ra ==2:             tts.say(\"\u041d\u0443 \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435...\")             tts.runAndWait()         elif ra == 3 or ra == 4:             tts.say(\"\u0414\u0430\u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u044e.\")             tts.runAndWait()         elif ra == 5 or ra == 6:             tts.say(\"\u041d\u0435\u0437\u043d\u0430\u044e \u0447\u0442\u043e \u043d\u0430 \u044d\u0442\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c.\")             tts.runAndWait()         elif ra == 7 or ra == 8:             tts.say(\"\u042f \u0432\u0430\u0441 \u043d\u0435 \u0442\u043e \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043d\u044f\u043b, \u043d\u043e \u043f\u043e \u0441\u043c\u044b\u0441\u043b\u0443 \u043f\u043e\u043d\u044f\u043b\")             tts.runAndWait()         elif ra == 9 or ra == 10:             tts.say(\"\u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u044f \u0432\u0430\u0441 \u043d\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u044f\u043b.\")             tts.runAndWait()<\/code><\/pre>\n<\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e &#171;\u043e\u0431\u043d\u0443\u043b\u0438\u0442\u044c&#187;, \u043d\u0435\u0442 \u043d\u0435 \u044d\u0442\u043e\u0433\u043e, \u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439, \u0447\u0442\u043e \u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0445 \u0441\u0440\u0430\u0431\u043e\u0442\u043e\u043a:<\/p>\n<pre><code class=\"python\">    an = \"\"     if cikl == 2:         cikl = 0         cont = \"\"<\/code><\/pre>\n<hr>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0435\u0441\u044c \u043c\u043e\u0439 \u043a\u043e\u0434, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0442\u043e, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u044d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442 \u0432 \u043a\u043e\u0434\u0435 \u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435.<\/p>\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/13CQZU-FtI3mIxxQJTp2jV_W7cV80Aj\/view?usp=sharing\" rel=\"noopener noreferrer nofollow\">\u0412\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0433\u043e\u0442\u043e\u0432\u0443\u044e \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e<\/a>.<\/p>\n<p>\u0416\u0434\u0443 \u0432\u0430\u0448\u0438\u0445 \u0441\u043e\u0432\u0435\u0442\u043e\u0432, \u0438\u0434\u0435\u0439 \u0438 \u043a\u0440\u0438\u0442\u0438\u043a\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c \u0438 \u043d\u0430 \u043f\u043e\u0447\u0442\u0435: glebilic@gmail.com.<\/p>\n<p>\u041f\u043e\u043a\u0430! <\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/537390\/\"> https:\/\/habr.com\/ru\/post\/537390\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442 \u0445\u0430\u0431\u0440! \u041c\u0435\u043d\u044f \u0437\u043e\u0432\u0443\u0442 \u0413\u043b\u0435\u0431 \u041f\u0440\u044f\u0445\u0438\u043d, \u043c\u043d\u0435 14 \u043b\u0435\u0442, \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 \u043d\u0430 python 3 \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0432 exe.<\/p>\n<p>(<a href=\"https:\/\/drive.google.com\/file\/d\/13CQZU-FtI3mIxxQJTp2jV_W7cV80Aj\/view?usp=sharing\" rel=\"noopener noreferrer nofollow\">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442<\/a>)<\/p>\n<p>\u041f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0430 \u0438 \u043f\u043e\u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0435\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u044b,<\/p>\n<p>\u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443: \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0445 \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c, \u0438\u043b\u0438 \u043d\u0430 \u044d\u043b. \u043f\u043e\u0447\u0442\u0443 glebilic@gmail.com.<\/p>\n<hr>\n<p>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043a\u043e\u0434\u0443! \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0438:<\/p>\n<pre><code>import pyttsx3 import os import time import datetime import speech_recognition as sr import random import webbrowser import sounddevice as sd<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c RHvoice.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442 \u0447\u0438\u0442\u0430\u0435\u0442 \u0444\u0430\u0439\u043b \u0441 \u043a\u043e\u043b-\u0432\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432 \u0438 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0444\u0430\u0439\u043b tts, \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0443\u043c\u0435\u0440 \u0433\u043e\u043b\u043e\u0441\u0430. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f num123 = \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432, \u0430 tts1 = \u043d\u0443\u043c\u0435\u0440\u0443 \u0433\u043e\u043b\u043e\u0441\u0430 \u0432 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440\u0435 \u0440\u0435\u0447\u0438.<\/p>\n<pre><code>f = open(\"sp.txt\", \"r\") num123 = f.read(1000) num123 = int(num123) f.close  f = open(\"tts.txt\", \"r\") tts1 = int(f.read(1)) f.close() #\u0441\u0438\u043d\u0442\u0435\u0437 \u0440\u0435\u0447\u0438 tts = pyttsx3.init() speak_engine = pyttsx3.init()  voices = speak_engine.getProperty('voices') speak_engine.setProperty('voice', voices[tts1].id)<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0448\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b:<\/p>\n<pre><code class=\"python\">os.system('cls' if os.name == 'nt' else 'clear') print(\"\u0412\u0418\u0422\u0410\u041b\u0418\u0419 2.0 ALFA \\nBy \u0413\u043b\u0435\u0431 \u041f\u0440\u044f\u0445\u0438\u043d\\n2021 \\n-\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430...\")<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0447\u0438\u0442\u0430\u0435\u043c \u0444\u0430\u0439\u043b name \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0447\u0442\u043e \u0443\u0436\u0430\u0441! \u041d\u0430\u0448 \u043f\u0430\u0446\u0438\u0435\u043d\u0442, \u043e\u0439 \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435! \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u043e\u0440\u043c\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438:<\/p>\n<pre><code class=\"python\">f = open('name.txt', 'r') if f.read(1) == \"\":     os.system('cls' if os.name == 'nt' else 'clear')     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u044f \u0412\u0438\u0442\u0430\u043b\u0438\u0439, \u044f \u0437\u0434\u0435\u0441\u044c, \u0447\u0442\u043e \u0431\u044b \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u043c \u043d\u0430 \u043d\u043e\u0432\u044b\u0439, \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0441\u044f. \u041a\u0430\u043a \u0432\u0430\u0441 \u0437\u043e\u0432\u0443\u0442?\")     tts.runAndWait()       r = sr.Recognizer()     with sr.Microphone(device_index = 1) as source:         print(' ')         r.adjust_for_ambient_noise(source, duration=0.5) #\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0448\u0443\u043c\u043e\u0432         print('...')         audio = r.listen(source)         print(' ')     try:         query = r.recognize_google(audio, language = 'ru-RU')         name = query.lower()         print(f'\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438: {query.lower()}')                  except:         print('-')      tts.say(\"\u0412\u0430\u0441 \u0437\u043e\u0432\u0443\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.\")     tts.runAndWait()     r = sr.Recognizer()     with sr.Microphone(device_index = 1) as source:         print(' ')         r.adjust_for_ambient_noise(source, duration=0.5) #\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0448\u0443\u043c\u043e\u0432         print('...')         audio = r.listen(source)         print(' ')     try:         query = r.recognize_google(audio, language = 'ru-RU')         ver = query.lower()         print(f'\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438: {query.lower()}')                  except:         print('-')     if \"\u0434\u0430\" in ver or \"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\" in ver:         f = open('name.txt', 'w')         f.write(name.title())         f.close()         tts.say(\"\u0413\u043e\u0442\u043e\u0432\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0431\u043e\u043b\u0442\u0430\u0435\u043c!\")         tts.runAndWait()          else:         tts.say(\"\u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0441\u0432\u043e\u0435 \u0438\u043c\u044f \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0435\")         tts.runAndWait()         name = input(\"\u0412\u0430\u0448\u0435 \u0438\u043c\u044f: \")         tts.say(\"\u0413\u043e\u0442\u043e\u0432\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0431\u043e\u043b\u0442\u0430\u0435\u043c!\")         tts.runAndWait()         f = open('name.txt', 'w')         f.write(name.title())         f.close()<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c, \u043c\u044b \u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043b-\u0432\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432, \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c \u0447\u0442\u043e \u044d\u0442\u043e &#171;\u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437&#187;, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0447\u0438\u0442\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0430\u0436:<\/p>\n<pre><code class=\"python\">if num123 == 0:         tts.say(\"\u041d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0445\u043e\u0447\u0443 \u043d\u0430\u0443\u0447\u0438\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c: \u0418 \u0442\u0430\u043a \u0432\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u043e\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434:\")         tts.runAndWait()         tts.say(\"\u0422\u0443\u0442 \u0442\u0435\u043a\u0441\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0430\u0436\u0430\")         tts.runAndWait()<\/code><\/pre>\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043a\u043e \u0432\u0445\u043e\u0434\u0443 \u0432 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0446\u0438\u043a\u043b:<\/p>\n<pre><code>#\u0442\u0443\u0442 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043a \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0443 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432 f = open(\"sp.txt\", \"w\") num123 = num123 + 1 num123 = str(num123) num123 = f.write(num123) f.close #\u0430 \u0442\u0443\u0442 \u0447\u0438\u0442\u0430\u0435\u043c \u0438\u043c\u044f \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e f = open('name.txt', 'r') name = f.read(10) r = random.randint(1,10)<\/code><\/pre>\n<p>\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0431\u043b\u043e\u043a\u0435 \u043c\u044b \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438 \u0437\u0430\u043d\u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e r, \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c elif`\u043a\u0438 \u0438 \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 cont, \u043e\u043d\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u043d\u0430\u043c \u043f\u043e\u0437\u0436\u0435:<\/p>\n<pre><code class=\"python\">cont = \"\" if r == 1:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041a\u0430\u043a \u0434\u0435\u043b\u0430?\")     tts.runAndWait() elif r == 2:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0427\u0435\u043c \u043c\u043e\u0433\u0443 \u043f\u043e\u043c\u043e\u0447\u044c?\")     tts.runAndWait() elif r == 3:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0427\u0435\u043c \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f?\")     tts.runAndWait() elif r == 4:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0425\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043a\u0440\u043e\u044e \u043f\u043e\u0447\u0442\u0443?\")     tts.runAndWait()     cont = (\"\u043f\u043e\u0447\u0442\u0430\")  elif r == 5:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u044e\u0442\u0443\u0431?\")     tts.runAndWait()     cont = \"\u044e\u0442\u0443\u0431\" elif r == 6:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0438\u043d\u043e?\")     tts.runAndWait()     cont = \"\u043a\u0438\u043d\u043e\" elif r == 7:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0427\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0437\u043d\u0430\u0442\u044c?\")     tts.runAndWait() elif r == 8:     tts.say(\"\u041f\u0440\u0438\u0432\u0435\u0442\u0438\u043a\u0438\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0438?\")     tts.runAndWait()     cont = \"\u043d\u043e\u0432\u043e\u0441\u0442\u0438\" elif r == 9:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u0413\u0434\u0435 \u0432\u044b \u0431\u044b\u043b\u0438?\")     tts.runAndWait() elif r == 10:     tts.say(\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c\")     tts.runAndWait()     tts.say(name)     tts.runAndWait()     tts.say(\"\u041a\u0430\u043a \u0434\u0435\u043b\u0430?\")     tts.runAndWait()<\/code><\/pre>\n<p>\u0412\u0445\u043e\u0434\u0438\u043c \u0432 \u0446\u0438\u043a\u043b:<\/p>\n<pre><code class=\"python\">while True:     cikl = cikl + 1     ca = 0     ra = random.randint(1,10)     an = \"\"     #\u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u043d\u0438\u0435     r = sr.Recognizer()     with sr.Microphone(device_index = 1) as source:         print(' ')         r.adjust_for_ambient_noise(source, duration=0.5) #\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0448\u0443\u043c\u043e\u0432         print('...')         audio = r.listen(source)         print(' ')     try:         query = r.recognize_google(audio, language = 'ru-RU')         an = query.lower()         print(f'\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438: {query.lower()}')                  except:         print('-') <\/code><\/pre>\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0435\u0440\u0432\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 &#171;\u0434\u0430&#187;, \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e cont? \u0422\u0430\u043a \u0432\u043e\u0442 \u043e\u043d\u0430 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442 \u043e\u0442\u0432\u0435\u0442 &#171;\u0434\u0430&#187; \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 &#171;\u043e\u0442\u043a\u0440\u044b\u0442\u044c \u044e\u0442\u0443\u0431?&#187;, \u0438 &#171;\u0434\u0430&#187; \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 &#171;\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u043e\u0432\u043e\u0441\u0442\u0438?&#187;, \u0435\u0441\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0435\u0442, \u0442\u043e \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043e\u0442\u0432\u0435\u0442\u043e\u043c.<\/p>\n<pre><code class=\"python\"> #\u0434\u0430     if \"\u0434\u0430\" in an and len(an) == 2 or \"\u0434\u0430\u0432\u0430\u0439\" in an or \"\u043f\u043e\u0447\u0435\u043c\u0443-\u0431\u044b \u0438 \u043d\u0435\u0442\" in an:         ca = 1         if cont == \"\u043f\u043e\u0447\u0442\u0430\":             f = open('email.txt', 'r')             if f.read(1) == \"\":                 tts.say(\"\u042f \u0441\u043e\u0432\u0441\u0435\u043c \u0437\u0430\u0431\u044b\u043b, \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432\u0430\u0448\u0430 \u043f\u043e\u0447\u0442\u0430! \u041f\u043e\u0436\u0430\u0439\u043b\u0443\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043d\u0443\u0436\u043d\u0443\u044e.\")                 tts.runAndWait()                 a = 1                 while True:                     v = input(\"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430.\")                     f = open('email.txt', 'w')                     if \"https\" in v:                         web = v                         f.write(web)                         f.close()                         break              tts.say(\"\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e \u043f\u043e\u0447\u0442\u0443\")             f = open('email.txt', 'r')             web = f.read(97)             f.close()             tts.runAndWait()             webbrowser.open(web)                  elif cont == \"\u044e\u0442\u0443\u0431\":             tts.say(\"\u0425\u043e\u0440\u043e\u0448\u043e, \u0432\u043a\u043b\u044e\u0447\u0430\u044e \u0435\u0433\u043e\")             tts.runAndWait()             webbrowser.open('https:\/\/www.youtube.com\/')          elif cont == \"\u043a\u0438\u043d\u043e\":             tts.say(\"\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0431\u0435\u0440\u0435\u043c \u0447\u0442\u043e \u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u043e\u043a\u043e\")             tts.runAndWait()             webbrowser.open('https:\/\/okko.tv\/')          elif cont == \"\u043d\u043e\u0432\u043e\u0441\u0442\u0438\":             tts.say(\"\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u044e \u0435\u0432\u0440\u043e\u043d\u044c\u044e\u0441!\")             tts.runAndWait()             webbrowser.open('https:\/\/www.youtube.com\/watch?v=E3rH3KdVWcc')                  elif cont == \"\u044e\u0442\u0443\u0431\u043f\u0440\":             tts.say(\"\u0412\u043e\u0442, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f\")             tts.runAndWait()             webbrowser.open('https:\/\/www.youtube.com\/channel\/UCy0uukwm4dOSFCGyfp8g2sw')         else:             tts.say(\"\u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e.\")             tts.runAndWait()<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c. \u042f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u043e 1 \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0445 \u0432\u0438\u0434:<\/p>\n<p>\u0421\u0443\u043f\u0435\u0440 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0430\u044f \u043e\u0434\u0438\u043d \u0441\u0430\u0439\u0442:<\/p>\n<pre><code class=\"python\">elif \"\u0432\u043a \" in an or \"\u0432\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435\" in an:         ca = 1         tts.say(\"\u0412\u043a\u043b\u044e\u0447\u0430\u044e \u0432\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435\")         tts.runAndWait()         webbrowser.open(\"https:\/vk.com\")<\/code><\/pre>\n<\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0430\u0439\u0442\u0443:<\/p>\n<pre><code class=\"python\">elif \"\u043d\u0430\u0439\u0434\u0438 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435\" in an:         ca = 1         tts.say(\"\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u044e \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443\")         tts.runAndWait()         tts.say(an[an.find(\"\u0435\u0442\u0435\")+3:])         tts.runAndWait()         sear = an[an.find(\"\u0435\u0442\u0435\")+3:]         webbrowser.open(\"https:\/\/www.google.com\/search?q=\" + sear)<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0430\u044f \u0441\u0430\u0439\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u0432 \u0444\u0430\u0439\u043b, \u0438 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u0441\u044f:<\/p>\n<pre><code class=\"python\">elif \"\u043f\u043e\u0447\u0442\" in an:         ca = 1         f = open('email.txt', 'r')         if f.read(1) == \"\":             tts.say(\"\u042f \u0441\u043e\u0432\u0441\u0435\u043c \u0437\u0430\u0431\u044b\u043b, \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432\u0430\u0448\u0430 \u043f\u043e\u0447\u0442\u0430! \u041f\u043e\u0436\u0430\u0439\u043b\u0443\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043d\u0443\u0436\u043d\u0443\u044e.\")             tts.runAndWait()             a = 1             while True:                 v = input(\"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430.\")                 f = open('email.txt', 'w')                 if \"https\" in v:                     web = v                     f.write(web)                     f.close()                     break<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0430:<\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n<pre><code class=\"python\">elif \"\u0435\u0441\u043b\u0438 \u044f \u0441\u043a\u0430\u0436\u0443 \u044d\u0442\u043e\" in an:         ca = 1         os.system('\u0442\u043e \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 \u044d\u0442\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443')         tts.say(\"\u0418 \u0441\u043a\u0430\u0436\u0435\u0442 \u044d\u0442\u043e\")         tts.runAndWait()         tts.say(name) #\u0430 \u043f\u043e\u0442\u043e\u043c \u0438\u043c\u044f \u043f\u0440\u043e\u0438\u0437\u043d\u0435\u0441\u0435\u0442.         tts.runAndWait()<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u0430:<\/p>\n<pre><code class=\"python\"> elif \"\u0432\u044b\u043a\u043b\u044e\u0447\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\" in an or \"\u0437\u0430\u0432\u0435\u0440\u0448\u0438 \u0440\u0430\u0431\u043e\u0442\u0443\" in an:         ca = 1         tts.say(\"\u0414\u043e\u0441\u0432\u0438\u0434\u0430\u043d\u0438\u044f\")         tts.runAndWait()         tts.say(name)         tts.runAndWait()         tts.say(\"\u0414\u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0441\u0442\u0440\u0435\u0447. \u0418\u0434\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b.\")         tts.runAndWait()         os.system('cls' if os.name == 'nt' else 'clear')<\/code><\/pre>\n<\/hr>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-316389","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/316389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=316389"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/316389\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=316389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=316389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=316389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}