{"id":346202,"date":"2023-03-03T03:00:15","date_gmt":"2023-03-03T03:00:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=346202"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=346202","title":{"rendered":"<span>\u0411\u043e\u0442 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0439 \u042f\u043d\u0434\u0435\u043a\u0441.\u0414\u0438\u0441\u043a (Python)<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/p>\n<p>15.02.2023. \u041e \u0442\u043e\u043c \u043a\u0430\u043a \u044f \u0434\u0435\u043b\u0430\u043b \u0431\u043e\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0444\u0430\u0439\u043b\u044b \u0441 \u044f\u043d\u0434\u0435\u043a\u0441 \u0434\u0438\u0441\u043a\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0434\u043b\u044f \u043b\u0438\u0447\u043d\u043e-\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439.<\/p>\n<h2>\u041d\u0435 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435 (\u0445\u043e\u0442\u0438\u0442\u0435 \u2013 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u0435, \u043e\u043d\u043e \u043d\u0435 \u043f\u0440\u043e \u0431\u043e\u0442)<\/h2>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0443\u043c\u0430\u043b \u043f\u0438\u0441\u0430\u0442\u044c. \u041f\u043e\u0442\u043e\u043c \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0432 \u0441 \u0432\u044b\u0441\u043e\u0442\u044b \u043f\u043e\u043b\u0435\u0442\u0430 &#8212; \u043d\u0435 \u043f\u0438\u0441\u0430\u0442\u044c. \u041d\u0443 \u0430 \u043f\u043e\u0441\u043b\u0435 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043e\u043f\u044b\u0442 \u0422\u0413-\u0431\u043e\u0442\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f. \u041f\u0430\u0440\u043e\u0447\u043a\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443 \u0438 \u043f\u0440\u0438\u0433\u043e\u0434\u044f\u0442\u0441\u044f. \u0412\u0441\u0451 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0430\u043b\u0435\u0435 \u2014 \u044d\u0442\u043e \u0442\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u0430 \u043f\u0435\u0440\u0430. \u0425\u0430\u0431\u0440 \u0434\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0438 \u0447\u0438\u0442\u0430\u044e, \u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u0447\u0442\u043e-\u0442\u043e \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e.<\/p>\n<p>\u042f \u043f\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0438\u043d\u0436\u0435\u043d\u0435\u0440-\u0433\u0438\u0434\u0440\u043e\u0442\u0435\u0445\u043d\u0438\u043a &#8212; \u0440\u0435\u0447\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b, \u043f\u0440\u0438\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0435\u043d\u043a\u0438, \u043d\u0430\u0431\u0435\u0440\u0435\u0436\u043d\u044b\u0435, \u0432\u043e\u0434\u043e\u0437\u0430\u0431\u043e\u0440\u044b, \u043f\u043b\u043e\u0442\u0438\u043d\u044b \u0438 \u0413\u042d\u0421 \u2014 \u0432\u043e\u0442 \u044d\u0442\u043e \u0432\u0441\u0451 \u044f \u0443\u0447\u0438\u043b\u0441\u044f \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438\u0437 \u0430\u0440\u043c\u0430\u0442\u0443\u0440\u044b, \u0431\u0435\u0442\u043e\u043d\u0430, \u0449\u0435\u0431\u043d\u044f \u0438 \u043f\u0435\u0441\u043a\u0430. \u0410 \u0442\u0430\u043a \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u043b \u0441 \u041f\u0413\u0421 (\u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e-\u0433\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u043e\u0435 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e, \u0430 \u043d\u0435 \u043f\u0435\u0441\u0447\u0430\u043d\u043e-\u0433\u0440\u0430\u0432\u0438\u0439\u043d\u0430\u044f \u0441\u043c\u0435\u0441\u044c) \u0432 \u0420\u0411, \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0432 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435 \u043d\u0435\u0444\u0442\u0435-\u0433\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u0430 \u0432 \u0420\u0424. \u042d\u0442\u043e \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438, \u0447\u0442\u043e \u0431 \u043d\u0435 \u0434\u0443\u043c\u0430\u043b\u0438, \u0447\u0442\u043e \u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442). \u0414\u0430\u0432\u043d\u043e \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e-\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043e\u0442\u0434\u0435\u043b\u0435 \u2013 \u041f\u0422\u041e-\u0448\u043d\u0438\u043a \u044f \ud83d\ude42<\/p>\n<p>\u0412 2022 \u043d\u0430\u0447\u0430\u043b \u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0447\u0442\u043e \u0442\u0430\u043c \u0441 \u042f\u041f \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f, \u0430 \u0442\u0430\u043c \u0432\u0440\u043e\u0434\u0435 Python \u043f\u043e\u0434\u0430\u0435\u0442 \u043d\u0430\u0434\u0435\u0436\u0434\u044b, \u043f\u043e\u0447\u0438\u0442\u0430\u043b \u043f\u043e\u0433\u043b\u044f\u0434\u0435\u043b \u0432\u0441\u044f\u043a\u0438\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043d\u0443 \u0438 \u0432\u044b\u0431\u0440\u0430\u043b \u0435\u0433\u043e. \u041f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u043b\u0430 \u043f\u043e \u043e\u0442\u0437\u044b\u0432\u0430\u043c \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044f\u043c\u0438 \u0438 \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c\u0438, \u0434\u043b\u044f \u043e\u0436\u0438\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u043e\u0433\u0438 \u0434\u043b\u044f \u0440\u0443\u043b\u0435\u0442\u043a\u0438 &#8212; \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u0436 \u0435\u0449\u0435. \u041d\u0430\u0447\u0430\u043b \u041b\u0443\u0442\u0446\u0430 \u0447\u0438\u0442\u0430\u0442\u044c, \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043d\u0438\u0433 \u043d\u0430\u043a\u0430\u0447\u0430\u043b, \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043b\u0438\u0441\u0442\u0430\u043b. \u0421\u0442\u0430\u043b \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 &#8212; \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0438\u0442\u043e\u043d\u0430, \u0435\u0433\u043e \u044e\u043f\u0438\u0442\u0435\u0440\u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0438, \u0430\u043d\u0430\u043a\u043e\u043d\u0434\u0443, VSC, PyCharm. \u0412\u043e\u0442 \u043a\u0442\u043e \u0431\u044b \u0435\u0449\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043b \u043f\u043e \u043f\u043e\u043b\u043a\u0430\u043c \u043a\u0430\u043a \u044d\u0442\u0438\u043c PyCharm \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u0440\u0438\u0451\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c, \u043d\u0435\u0442 \u0436\u0435 \u0432 \u0438\u043d\u0435\u0442\u0435 (\u0438\u043b\u0438 \u043d\u0435 \u043d\u0430\u0448\u0451\u043b), \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u044f\u0442 \u0434\u0440\u0443\u0433 \u0443 \u0434\u0440\u0443\u0433\u0430 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435. GUI \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b, \u0448\u0442\u0430\u0442\u043d\u044b\u0435 \u043d\u0435 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0438\u043b\u0438, \u043a\u0430\u043a \u0438 QT, \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b. \u041d\u0430\u0448\u0435\u043b Delphi4Python, \u043f\u043e\u043b\u0435\u0437 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e \u0442\u0430\u043c \u0432 \u0441\u0442\u0430\u043d\u0435 \u0438\u0445 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u0438\u044e &#8212; \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u0440\u0442 \u0432 \u043f\u0438\u0442\u043e\u043d, \u0434\u0430\u0436\u0435 \u043a\u0430\u043a-\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438\u0437\u0443\u0447\u0430\u044e \u043f\u043e \u043c\u0435\u0440\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438. \u041d\u0430\u0448\u0435\u043b \u0438\u0445 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 PyScripter, \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f, \u043d\u0430 \u043d\u0435\u043c \u0438 \u0441\u0438\u0436\u0443 \u043f\u043e\u043a\u0430. \u041d\u0435\u0442 \u0443 \u043c\u0435\u043d\u044f \u0442\u0430\u043a\u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439, \u0435\u0433\u043e \u0445\u0432\u0430\u0442\u0430\u0435\u0442.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8bf\/08a\/ed1\/8bf08aed1c66184508cb0e9772ddd09c.png\" width=\"1536\" height=\"899\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8bf\/08a\/ed1\/8bf08aed1c66184508cb0e9772ddd09c.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u044e \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b-\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u043e\u0440\u044b: \u0442\u043e \u0430\u0440\u0445\u0438\u0432\u0447\u0438\u043a \u043a\u0430\u043a\u043e\u0439 \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0442\u043e \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 200-300\u0444\u0430\u0439\u043b\u043e\u0432. \u0418 \u0442\u0443\u0442 \u0432 2023\u0433 \u0443\u0437\u043d\u0430\u044e \u043f\u0440\u043e \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0438 \u0435\u0433\u043e \u0431\u043e\u0442\u043e\u0432. \u041f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0432\u0430\u0446\u0430\u043f \u0431\u044b\u043b \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u044b\u0445 \u0447\u0430\u0442\u043e\u0432, \u043f\u043e\u0442\u043e\u043c\u0443 \u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0435\u043a\u0430\u043b\u0441\u044f. \u0424\u0443\u0445, \u0445\u0432\u0430\u0442\u0438\u0442, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043f\u043e\u0433\u043d\u0430\u043b\u0438 \u043f\u0440\u043e \u0431\u043e\u0442\u0430).<\/p>\n<h3>\u0417\u0430\u0434\u0430\u0447\u0430<\/h3>\n<p>\u0418\u043c\u0435\u0435\u0442\u0441\u044f \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u043e-\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438: \u0413\u041e\u0421\u0422\u044b, \u0421\u041f, \u041e\u0420, \u0420\u0414, \u0421\u0422\u041e, \u0421\u041d\u0438\u041f, \u0421\u0430\u043d\u041f\u0438\u041d \u0438 \u043f\u0440. \u0438 \u043f\u0440. \u0438 \u043f\u0440. \u0417\u0430 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0430\u043a\u043e\u043f\u043b\u044f\u0435\u0442\u0441\u044f \u0443 \u043b\u044e\u0431\u043e\u0433\u043e \u041f\u0422\u041e-\u0448\u043d\u0438\u043a\u0430. \u041c\u043d\u043e\u0433\u043e \u043a\u0442\u043e \u0442\u0430\u0441\u043a\u0430\u044e\u0442 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u0438. <\/p>\n<p>\u0415\u0449\u0435 \u0437\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438\u0434\u0435\u0442 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435\/\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e &#8212; \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438: \u043f\u0440\u043e\u0435\u043a\u0442, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0430, \u0410\u0412\u041a, \u0410\u041e\u0421\u0420, \u0434\u0440. \u0430\u043a\u0442\u044b, \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430, \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0440\u0438\u043a\u0430\u0437\u044b, \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f, \u0434\u043e\u043f\u0443\u0441\u043a\u043d\u0430\u044f. \u0418 \u0432\u043e\u0442 \u043f\u043e\u0434\u0443\u043c\u0430\u043b\u043e\u0441\u044c \u2013 \u043a\u043b\u0430\u0434\u0435\u043c \u044d\u0442\u043e \u0432\u0441\u0435 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e, \u0430 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u0430\u0435\u0442 \u0431\u043e\u0442 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443, \u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u0443 \u0438\u0437 \u0418\u0422\u0420, \u0434\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430\u00a0 \u043d\u0430\u0445\u043e\u0434\u0438\u0448\u044c\u0441\u044f \u0432 \u043f\u043e\u043b\u0435 \u0438\u043b\u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u0435 (\u0430 \u0442\u043e \u0431\u0435\u0433\u0438 \u043a \u043a\u043e\u043c\u043f\u0443 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0439 \u0438\u043d\u0444\u0443, \u043d\u0430\u0439\u0442\u0438 \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0438\u043a\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442))) \u0412\u043e\u0442 \u043a \u0431\u043e\u0442\u0443 \u0438\u0445 \u0438 \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u0432\u0441\u0435\u0445, \u043f\u0443\u0441\u0442\u044c \u043e\u043d \u043e\u0442\u0434\u0443\u0432\u0430\u0435\u0442\u0441\u044f). \u042f \u0436 \u043b\u0435\u043d\u0438\u0432\u044b\u0439, \u0432\u043e\u0442 \u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0442\u043e \u0431 \u043a\u043e\u043c\u043f \u0437\u0430 \u0441\u0435\u0431\u044f \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c)). <\/p>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u0432 \u043c\u0438\u0440\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0434\u0435\u0442 \u0434\u0432\u0438\u0436\u0443\u0445\u0430 \u043f\u043e BIM \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u043c \u0432 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435. \u0422\u0430\u043a\u043e\u0439 \u0431\u043e\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0433\u0434\u0435-\u0442\u043e \u043e\u043a\u043e\u043b\u043e \u0442\u0430\u043a\u043e\u0439 \u0442\u0435\u043c\u044b. \u041f\u043b\u0430\u043d\u044b \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435: \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0448\u044c \u0431\u043e\u0442\u0443 \u0430\u043a\u0442 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f, \u0430 \u043e\u043d \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u0442 \u0441\u0430\u043c \u0436\u0443\u0440\u043d\u0430\u043b \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438\u2026\u044d\u0445, \u043c\u0435\u0447\u0442\u044b \ud83d\ude42<\/p>\n<h3>\u0418\u0434\u0435\u0438 \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h3>\n<p>\u0411\u043e\u0442 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043a\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0438, \u043e\u0431\u043a\u0430\u0442\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u0438 \u043f\u0440\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438. \u0424\u0430\u0439\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u0435 \u043f\u043e \u043f\u0430\u043f\u043a\u0430\u043c. \u0411\u043e\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0432 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0443. \u0424\u0430\u0439\u043b\u044b \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u0441\u0441\u0435 \u0431\u0443\u0434\u0443\u0442 pdf, \u043a\u0430\u043a \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u0439 \u043e\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043e\u043a \u0438 \u043f\u0440.<\/p>\n<h2>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n<ul>\n<li>\n<p>\u041f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u0431\u043e\u0442 \u0432\u044b\u0434\u0430\u0435\u0442 \u0438\u043d\u0444\u0443 \u043f\u043e \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0435. \u0412 \u043e\u0431\u043b\u0430\u043a\u043e \u043f\u043e \u043f\u0430\u043f\u043a\u0430\u043c \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u041d\u0422\u0414, \u0431\u043e\u0442 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0430\u043f\u043a\u0443 \u0438 \u0435\u0441\u043b\u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442, \u0442\u043e \u0434\u0430\u0451\u0442 \u043e\u0442\u0432\u0435\u0442. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u043e\u043d \u0443 \u043c\u0435\u043d\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043b \u0444\u0430\u0439\u043b \u0438\u0437 \u043e\u0431\u043b\u0430\u043a\u0430 \u043d\u0430 \u0434\u0438\u0441\u043a, \u043e\u0442\u0441\u044b\u043b\u0430\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u043f\u043e\u0442\u043e\u043c \u0443\u0434\u0430\u043b\u044f\u043b \u0444\u0430\u0439\u043b, \u0434\u0430\u0431\u044b \u043d\u0435 \u0437\u0430\u0445\u043b\u0430\u043c\u043b\u044f\u0442\u044c \u0434\u0438\u0441\u043a. \u0418 \u0442\u0443\u0442 \u0443\u0437\u043a\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u2013 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0441\u043b\u0430\u043d \u043d\u0435 \u043d\u0443\u0436\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0444\u0430\u0439\u043b. \u041d\u043e \u0435\u0441\u043b\u0438 \u0431\u043e\u0442 \u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c (\u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u043d\u0430 VPS\/VDS) \u0442\u043e \u0434\u0438\u0441\u043a\u0430 \u0442\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043b \u043d\u0430 \u0432\u044b\u0434\u0430\u0447\u0443 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0444\u0430\u0439\u043b<\/p>\n<\/li>\n<li>\n<p>\u041f\u0430\u043f\u043a\u0443 \u043f\u043e\u0438\u0441\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0441\u0434\u0435\u043b\u0430\u043b \u043a\u0430\u043a \u0440\u0443\u0441\u0441\u043a\u0438\u043c\u0438 \u0442\u0430\u043a \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u043c\u0438, \u043a\u0430\u043a \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0442\u0430\u043a \u0438 \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <u>\/gost<\/u> (\u0438\u043b\u0438 <u>\/\u0433\u043e\u0441\u0442<\/u> \u0438\u043b\u0438 <u>\/\u0413\u041e\u0421\u0422<\/u>) \u2013 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442 \u043f\u043e\u0438\u0441\u043a \u043d\u0430 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0413\u041e\u0421\u0422\u0430\u043c\u0438; <u>\/vsn<\/u> \u2013 \u043d\u0430 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0412\u0421\u041d \u0438 \u0442.\u0434.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u044b <u>\/start<\/u>, <u>\/about<\/u> \u0438 <u>\/help<\/u> \u2013 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <u>\/sms<\/u> \u2013 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443, \u0442.\u0435. \u043c\u043d\u0435).<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <u>\/status<\/u> \u2013 \u043d\u0430 \u043d\u0435\u0451 \u0431\u043e\u0442 \u0434\u0430\u0451\u0442 \u043e\u0442\u0432\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u043e\u043d \u0438 \u043a\u0430\u043a\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u043f\u043e\u0438\u0441\u043a\u0430 \u0442\u0435\u043a\u0443\u0449\u0430\u044f.<\/p>\n<\/li>\n<li>\n<p>\u0411\u043e\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u041d\u0422\u0414. \u041a\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0443 \u2013 \u0442\u0430\u043a \u0438 \u043f\u0438\u0448\u0435\u0442, \u0435\u0441\u043b\u0438 \u043c\u043e\u043b \u043f\u0440\u0438\u0448\u043b\u0451\u0442\u0435, \u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0431\u0443\u0434\u0435\u0442. \u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u043d pdf, doc \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0438 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0431\u0443\u0434\u0443 \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0430 \u0442\u043e \u043c\u0430\u043b\u043e \u043b\u0438 \u043f\u043e\u043d\u0430\u043f\u0440\u0438\u0441\u044b\u043b\u0430\u044e\u0442 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0441\u043e \u0432\u0437\u0440\u043e\u0441\u043b\u044b\u0445 \u0441\u0430\u0439\u0442\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0434\u0435\u0442 \u043e\u0442\u0447\u0435\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0438\u0448\u0435\u0442 id \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u043b\u0438, \u0441\u043c\u0441-\u043a\u0438 \u0438\u043b\u0438 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u043b\u0438 \u0444\u0430\u0439\u043b\u044b.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u043e\u0442\u043e\u043c. \u0421\u0434\u0435\u043b\u0430\u043d\u044b \u0431\u0443\u043a\u0432\u0435\u043d\u043d\u043e-\u0446\u0438\u0444\u0438\u0440\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0447\u0442\u043e \u0431 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0441\u044f. \u041f\u043e \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0431\u043e\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0441\u043b\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442 (\u0442\u0438\u043f\u0430 <u>\/\u043f\u043e\u043a\u0430\u0436\u0438 \u043e\u0442\u0447\u0435\u0442<\/u>) \u043b\u0438\u0431\u043e \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043e\u0431\u043b\u0430\u043a\u043e (\u0442\u0438\u043f\u0430 <u>\/\u043e\u0442\u0447\u0435\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e<\/u>). \u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u043c\u044b\u0441\u043b\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u0443\u044e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u043e\u0442\u0430, \u043d\u043e \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0443\u0431\u0440\u0430\u043b \u2013 \u0431\u044a\u0451\u0442 \u043e\u0448\u0438\u0431\u043a\u0438.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f:<\/h2>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u0431\u043e\u0442\u0430 \u0432 \u0422\u0413, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u043e\u043a\u0435\u043d \u2013 \u044d\u0442\u043e \u043a\u0430\u043a \u0432\u0435\u0437\u0434\u0435.<\/p>\n<p>\u0412 \u044f\u043d\u0434\u0435\u043a\u0441\u0435 \u0447\u0435\u0440\u0435\u0437 ID \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u043e\u043a\u0435\u043d \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u2013 \u043f\u043e\u0438\u0449\u0438\u0442\u0435, \u0442\u043e\u0436\u0435 \u0432\u0441\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u043e.<\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u044e \u0447\u0435\u0439-\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0445\u043e\u0431\u043e\u0442\u0430 \u0438 \u043f\u043e\u0433\u043d\u0430\u043b.<\/p>\n<p>\u0422\u043e\u043a\u0435\u043d\u044b \u0445\u0440\u0430\u043d\u044e \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 cfg_token.py, \u0432 \u043d\u0435\u043c 2 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0441 \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438:<\/p>\n<pre><code class=\"python\">telebot_token ='\u0442\u0443\u0442 \u0430\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430 \u043e\u0442 \u0422\u0413' ## \u0442\u043e\u043a\u0435\u043d \u042f\u0414 ya_dsk_token = '\u0442\u0443\u0442 \u0430\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430 \u043e\u0442 \u042f\u0414'<\/code><\/pre>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043c\u043e\u0434\u0443\u043b\u044c PyTelegramBotAPI (Telebot), \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043b \u043d\u0430 Aiogram \u2013 \u043a\u043e\u0433\u0434\u0430 \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043b\u0443\u0447\u0448\u0435, \u0447\u0442\u043e \u0431 \u0431\u044b\u043b\u0430 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c, \u0432\u0440\u043e\u0434\u0435 \u0442\u0430\u043a. \u0415\u0449\u0435 \u043d\u0443\u0436\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c \u043e\u0442 \u044f\u043d\u0434\u0435\u043a\u0441\u0430.<\/p>\n<pre><code class=\"python\">pip install aiogram pip install yadisk<\/code><\/pre>\n<p>\u0411\u043b\u043e\u043a \u0438\u043c\u043f\u043e\u0440\u0442\u0430, \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e:<\/p>\n<pre><code class=\"python\">from aiogram import Bot, types from aiogram.dispatcher import Dispatcher from aiogram.utils import executor  import cfg_token import yadisk import glob, os import sys import time from datetime import datetime  import sqlite3 as sl<\/code><\/pre>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043b\u0438\u0448\u043d\u0438\u0435 \u0435\u0441\u0442\u044c, \u043f\u043e\u043a\u0430 \u0434\u0435\u043b\u0430\u0435\u0448\u044c \u043f\u043e 100500\u0440\u0430\u0437 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u0448\u044c, \u0442\u043e \u043e\u0434\u043d\u043e, \u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435.<\/p>\n<p>\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:<\/p>\n<pre><code class=\"python\">bot = Bot(token=cfg_token.telebot_token) dp = Dispatcher(bot) codirovk = 'utf-8' # \u0442\u043e\u043a\u0435\u043d \u044f\u043d\u0434\u0435\u043a\u0441 \u0434\u0438\u0441\u043a\u0430 y = yadisk.YaDisk(token=cfg_token.ya_dsk_token) # \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u043c \u0438\u043c\u0435\u043d\u0438 format_name_files =['\u0413\u041e\u0421\u0422', '\u0413\u043e\u0441\u0442', '\u0433\u043e\u0441\u0442', 'GOST', 'Gost', 'gost', 'SP', 'sp', '\u0421\u041f', '\u0441\u043f', 'VSN', 'vsn', '\u0412\u0421\u041d', '\u0432\u0441\u043d', 'STO', 'sto', '\u0421\u0422\u041e', '\u0441\u0442\u043e'] # \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 format_ext_files = ['.pdf', '.doc', '.docx', '.rtf'] search_dir = 'GOST' #\u043f\u0430\u043f\u043a\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430<\/code><\/pre>\n<p>\u041a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u044f\u0432\u043d\u043e \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043e\u0442\u0447\u0435\u0442\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <em>codirovk.<\/em> \u0410 \u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0434\u0430\u0436\u0435 \u0430\u0437\u0438\u0430\u0442\u0441\u043a\u0430\u044f \u0435\u0440\u043e\u0433\u043b\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0440\u044b\u0432\u0430\u0442\u044c\u0441\u044f.   <\/p>\n<pre><code class=\"python\">##----\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0440\u0430\u043f\u043e\u0440\u0442--------------- def report_to_txt(str15):     try:         with open('Report.txt', 'a', encoding=codirovk) as file4:             file4.write(str15)     except Exception as e:         print('\u041e\u0448\u0438\u0431\u043a\u0430: '+e)<\/code><\/pre>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0430\u043b \u0434\u0435\u043b\u0430\u0442\u044c, \u0442\u043e \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0430 \u043f\u0430\u043f\u043a\u0435 \u0413\u041e\u0421\u0422. \u0412 \u043e\u0431\u043b\u0430\u043a\u043e \u0442\u0430\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u0441\u043f\u0435\u0446 \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043e\u0442\u0447\u0435\u0442\u043e\u0432, \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u044e \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442. \u041e\u0442\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043a\u043e\u043c\u0430\u043d\u0434 \u043a\u0430\u043a \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. \u0417\u0434\u0435\u0441\u044c \u0438\u0445 \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043b, \u0442\u0430\u043c \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e, \u0434\u043b\u044f \u0440\u0430\u0441\u0442\u043e\u043b\u043a\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<pre><code class=\"python\">@dp.message_handler(commands=['start', '\u0441\u0442\u0430\u0440\u0442'])  ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/start async def process_start_command(message: types.Message):     set_base_bot(message.from_user.id, 'GOST')     await bot.send_message(message.from_user.id, \"\u041f\u0440\u0438\u0432\u0430! \u042f \u0431\u043e\u0442-\u043f\u043e\u043c\u043e\u0448\u043d\u0438\u043a! \u0418\u0449\u0443 \u041d\u0422\u0414 \u0438 \u0432\u044b\u0434\u0430\u044e \u0438\u0445 \u0412\u0430\u043c\")     await bot.send_message(message.from_user.id, \"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u041d\u0422\u0414: \"+get_base_bot(message.from_user.id)+'. \u0415\u0451 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 (\u0441\u043c. \/help)')     await bot.send_message(message.from_user.id, \"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u041d\u0422\u0414 (\u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u043e\u043c\u0435\u0440 \u0438\u043b\u0438 \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f):\")  @dp.message_handler(commands=['help', '\u0445\u0435\u043b\u043f']) ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/help async def process_help_command(message: types.Message):     # \u0442\u0443\u0442 \u043d\u0435 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u0438\u0441\u043a\u0430, \u0431\u0435\u0440\u0435\u043c \u0435\u0435 \u0438\u0437 \u0431\u0430\u0437\u044b     await bot.send_message(message.from_user.id, \"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u041d\u0422\u0414 (\u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u043e\u043c\u0435\u0440 \u0438\u043b\u0438 \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f) \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u043c\u043d\u0435, \u0430 \u044f \u043f\u043e\u0438\u0449\u0443 \u0433\u0434\u0435-\u0442\u043e \u0438 \u0435\u0441\u043b\u0438 \u043d\u0430\u0439\u0434\u0443, \u0442\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044e \u0412\u0430\u043c \u0444\u0430\u0439\u043b, \u043f\u043e 1\u0448\u0442 \u0437\u0430 \u0440\u0430\u0437.\")     await bot.send_message(message.from_user.id, \"\u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043f\u043e\u0438\u0441\u043a \u0432 \u043f\u0430\u043f\u043a\u0435: \"+get_base_bot(message.from_user.id))<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u0438\u0441\u043a\u0430, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e:<\/p>\n<pre><code class=\"python\">@dp.message_handler(commands=['GOST', 'gost', '\u0413\u041e\u0421\u0422', '\u0433\u043e\u0441\u0442']) ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/GOST async def process_gost_command(message: types.Message):     set_base_bot(message.from_user.id, 'GOST')     await bot.send_message(message.from_user.id, \"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u041d\u0422\u0414: \"+get_base_bot(message.from_user.id))<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e <em>report_to_txt<\/em>:   <\/p>\n<pre><code class=\"python\">@dp.message_handler(commands=['sms', '\u0441\u043c\u0441']) ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/sms \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 async def process_sms_command(message: types.Message):     report_to_txt('\\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c id'+str(message.from_user.id)+' \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435: '+message.text)     await bot.send_message(message.from_user.id, \"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e\")<\/code><\/pre>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0422\u043e, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u043e\u0434\u043d\u043e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u0434\u043e 7 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0445 \u0432\u0441\u0435\u0433\u043e, \u0430 \u0442\u043e \u0432\u0432\u0435\u0434\u0443\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 = \u20185\u2019 \u0438 \u0432\u044b\u0434\u0430\u0441\u0442 400\u0448\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u0432\u044b\u0434\u0430\u0447\u0443 1-\u0433\u043e \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430. <\/p>\n<p>\u0414\u043e\u043b\u0433\u043e \u043c\u0443\u0447\u0430\u043b\u0441\u044f \u0441 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0444\u0430\u0439\u043b \u0438 \u0433\u0434\u0435-\u0442\u043e \u0432 \u0443\u0433\u043e\u043b\u043a\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0437\u0440\u0435\u043d\u0438\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u043f\u0440\u043e\u043c\u0435\u043b\u044c\u043a\u043d\u0443\u0432\u0448\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442. \u0412\u043e\u0442 \u043c\u043d\u043e\u0433\u043e \u043a\u0442\u043e \u043f\u0440\u043e \u044d\u0442\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442, \u0430 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0435\u0442. \u0412\u041e\u0422 \u041e\u041d:\u00a0 <strong><em>y.publish(file)<\/em> + <em>y.get_meta(file).public_url<\/em><\/strong> (\u041a\u0442\u043e \u0436 \u0437\u043d\u0430\u043b \u0447\u0442\u043e public_url \u043d\u0430\u0434\u043e \u0441\u0437\u0430\u0434\u0438 \u043f\u0438\u0441\u0430\u0442\u044c). \u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"python\">@dp.message_handler(content_types=['text'])   ## \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u044e\u0437\u0435\u0440\u0430 async def get_text_messages(message: types.Message):     search_dir = get_base_bot(message.from_user.id)     report_to_txt('\\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c id'+str(message.from_user.id)+' \u0441\u0434\u0435\u043b\u0430\u043b \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u0432 \u043f\u0430\u043f\u043a\u0435 ' + search_dir +': '+message.text)     await bot.send_message(message.from_user.id, '\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u043f\u0430\u043f\u043a\u0435 ' + search_dir +' : '+message.text)     if y.check_token():         # \u0438\u0449\u0435\u043c \u0432 \u043f\u0430\u043f\u043a\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441         if not y.is_dir('\/'+search_dir):             await bot.send_message(message.from_user.id, '\u041f\u0430\u043f\u043a\u0430 ' + search_dir +'  \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430. \u0428\u043e-\u0442\u043e \u043f\u043e\u043b\u043e\u043c\u0430\u043b\u043e\u0441\u044c. \u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435.')         else:             Spis = []             for item in y.listdir(search_dir):                 if message.text in item['name']:                     if len(Spis) &lt; 7:                         await bot.send_message(message.from_user.id, '\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442: '+item['name'])                     Spis.append(item['name'])             if len(Spis) == 0:                 await bot.send_message(message.from_user.id, '\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c.')                 await bot.send_message(message.from_user.id, '\u041d\u043e \u0435\u0441\u043b\u0438 \u0412\u044b \u043c\u043d\u0435 \u0435\u0433\u043e \u0441\u044e\u0434\u0430 \u0441\u043a\u0438\u043d\u0435\u0442\u0435, \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u044f \u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044e.')             if len(Spis) == 1:                     # ------------\u0412\u0410\u04202 - \u0434\u0430\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0444\u0430\u0439\u043b-------------------                     y.publish('\/'+search_dir+'\/'+Spis[0])  # \u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b                     # \u0448\u043b\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0443                     await bot.send_message(message.from_user.id, y.get_meta('\/'+search_dir+'\/'+Spis[0]).public_url)                     # ------------\u0412\u0410\u04201 - \u0433\u0440\u0443\u0437\u0438\u043c \u0444\u0430\u0439\u043b \u0432 \u0442\u0435\u043b\u0435\u0433\u0443 \u0447\u0435\u0440\u0435\u0437 \u0441\u0432\u043e\u0439 \u0434\u0438\u0441\u043a                     # await bot.send_message(message.from_user.id, '\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u044e. \u0416\u0434\u0438\u0442\u0435...')                     # \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0434\u0438\u0441\u043a                     # y.download('\/'+search_dir+'\/'+Spis[0], Spis[0])                     # \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0442\u0435\u043b\u0435\u0433\u0443                     # f = open(Spis[0],\"rb\")                     # await bot.send_document(message.from_user.id,f)                     # f.close()             if len(Spis) > 1:                 await bot.send_message(message.from_user.id, '\u041d\u0430\u0439\u0434\u0435\u043d\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432: '+str(len(Spis)) + '. \u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441:')     else:         await bot.send_message(message.from_user.id, '\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435 \u043f\u043e \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0434\u0438\u0441\u043a \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0440\u0430\u0437')         # \u0412\u0410\u04201 -       \u043a\u043e\u0433\u0434\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u0438\u0437 \u043e\u0431\u043b\u0430\u043a\u0430 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0433\u0438 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0434\u0438\u0441\u043a         # remove_files() - \u0442\u0443\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<\/code><\/pre>\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"python\">@dp.message_handler(content_types=['document']) # \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043e\u0442 \u044e\u0437\u0435\u0440\u0430 async def handle_file(message):     try:         pr1=0         pr2=0         # \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043b\u0438 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u043d\u0443\u0436\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435         for item in format_name_files:             if item in message.document.file_name:                 pr1=+1         # \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043b\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0444\u0430\u0439\u043b         for item in format_ext_files:             if item in message.document.file_name:                 pr2=+1         # \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u0442\u0430\u043a\u043e\u0439 \u043a\u0430\u043a \u043d\u0430\u0434\u043e, \u0442\u043e \u043a\u0430\u0447\u0430\u0435\u043c         if (pr1 > 0) and (pr2 > 0):             file_id = message.document.file_id             file = await bot.get_file(file_id)             file_path = file.file_path             # ------------\u0412\u0430\u0440\u0438\u0430\u043d\u04421 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 \u0434\u0438\u0441\u043a-------------------             ## await bot.download_file(file_path, os.path.join('Download', message.document.file_name))             # ------------\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u044f\u043d\u0434\u0435\u043a\u0441-\u043e\u0431\u043b\u0430\u043a\u043e------------             # \u043f\u0443\u0442\u044c \u043a \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u043c \u0432 \u043e\u0431\u043b\u0430\u043a\u043e \u0444\u0430\u0439\u043b\u0430\u043c \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439             src = '\/GOST\/Download\/'+ message.document.file_name             print(src)             # \u0433\u0440\u0443\u0437\u0438\u043c \u0432 \u043e\u0431\u043b\u0430\u043a\u043e \u0444\u0430\u0439\u043b \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f             if y.is_file(src): # \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u0444\u0430\u0439\u043b \u0435\u0441\u0442\u044c \u0442\u043e \u044f\u043d\u0434\u0435\u043a\u0441 \u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443: \u0432\u043e\u0442                 src = '\/GOST\/Download\/Double-'+datetime.now().strftime(\"%d.%m.%Y-%H.%M.%S\")+'-'+ message.document.file_name             y.upload(await bot.download_file(file_path), src)             await bot.send_message(message.from_user.id, '\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043b. \u0421\u043f\u0430\u0441\u0438\u0431\u043e. \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0432 \u0441\u0432\u043e\u044e \u0431\u0430\u0437\u0443:)')             # \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432 \u0444\u0430\u0439\u043b Report.txt             report_to_txt('\\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c id='+str(message.from_user.id)+' \u043f\u0440\u0438\u0441\u043b\u0430\u043b \u0444\u0430\u0439\u043b: '+message.document.file_name)         else:             await bot.send_message(message.from_user.id, '\u041f\u0440\u043e\u0441\u0442\u0438\u0442\u0435, \u043d\u043e \u043f\u0440\u0438\u0441\u043b\u0430\u043d\u043d\u044b\u0439 \u0412\u0430\u043c\u0438 \u0444\u0430\u0439\u043b \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0438\u043c\u0435\u043d\u0438 \u0442\u0438\u043f \u041d\u0422\u0414 (\u0413\u041e\u0421\u0422, \u0421\u041f, \u0412\u0421\u041d \u0438 \u0442.\u0434.) \u0438\/\u0438\u043b\u0438 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0443, \u043d\u0443\u0436\u0435\u043d .pdf \u0438\u043b\u0438 .doc')     except Exception as e:         print('\u041e\u0448\u0438\u0431\u043a\u0430: '+e)         await bot.send_message(message.from_user.id, '\u042f \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u043d\u0435 \u0441\u043c\u043e\u0433\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u0448\u043e-\u0442\u043e \u0441\u043b\u043e\u043c\u0430\u043b\u043e\u0441\u044c \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443: '+e)<\/code><\/pre>\n<p>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0431\u043e\u0442 \u0433\u043e\u0442\u043e\u0432, \u043f\u043e\u043b\u043b\u0438\u043d\u0433 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c: <\/p>\n<pre><code class=\"python\">if __name__ == '__main__':     executor.start_polling(dp)  ##  executor.start_polling(dp, skip_updates=True) ##\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 skip_updates=True \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u043a\u043e\u043f\u0438\u0432\u0448\u0438\u0435\u0441\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043d\u0430\u043c \u043d\u0435 \u0432\u0430\u0436\u043d\u044b<\/code><\/pre>\n<p>\u041d\u043e \u043a\u0430\u043a \u0412\u044b \u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043f\u043e \u043a\u043e\u0434\u0443, \u043a\u043e\u0435-\u0447\u0442\u043e \u0442\u0430\u043c \u0435\u0449\u0435 \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0435 \u043c\u0435\u043b\u044c\u043a\u0430\u0435\u0442:<\/p>\n<pre><code class=\"python\">get_base_bot(message.from_user.id) set_base_bot(message.from_user.id, 'GOST')<\/code><\/pre>\n<p>\u0410 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0435\u0441\u043b\u0438 \u0412\u0430\u043d\u044f \u0432\u044b\u0431\u0435\u0440\u0435\u0442 \u043f\u0430\u043f\u043a\u0443 \u0413\u041e\u0421\u0422, \u0438 \u043f\u043e\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u0431\u0438\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441, \u0442\u043e \u041a\u0430\u0442\u044f \u0432 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442 \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u0438\u0441\u043a\u0430 \u043d\u0430 \u0421\u041f \u0438 \u0412\u0430\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e \u043f\u0430\u043f\u043a\u0435 \u0421\u041f. \u041f\u0440\u0438\u043a\u043e\u043b\u044c\u043d\u043e. \u00ab\u0428\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0448\u043e \u0434\u0435\u043b\u0430\u0442\u044c?\u00a0\u2014 \u0428\u043e\u2011\u0442\u043e \u043d\u0430\u0434\u043e. \u041c\u0434\u0430.\u00bb<\/p>\n<p>\u0412 \u043c\u044b\u0441\u043b\u044f\u0445 2 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430: \u0447\u0435\u0440\u0435\u0437 \u0444\u0430\u0439\u043b \u0442\u0438\u043f\u0430 txt \u0438 \u043f\u0440., \u043b\u0438\u0431\u043e \u0447\u0435\u0440\u0435\u0437 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412\u044b\u0431\u0440\u0430\u043b \u0447\u0435\u0440\u0435\u0437 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0432 \u043f\u0438\u0442\u043e\u043d sqlite3. \u0412 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0439 DB \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f id \u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u043f\u0430\u043f\u043a\u0430. \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0443\u0436\u043d\u044b 2 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0434\u043d\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442, \u0434\u0440\u0443\u0433\u0430\u044f \u0447\u0438\u0442\u0430\u0435\u0442. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043e\u043d\u0438 \u043f\u043e\u0447\u0442\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u0438 \u0435\u0441\u0442\u044c \u043c\u044b\u0441\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0434\u043d\u0443. \u041a\u043e\u0433\u0434\u0430 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u043f\u043a\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0441\u0442\u043e\u0435 (=\u2019\u2019) \u2013 \u0442\u043e <em><u>get<\/u><\/em>, \u0430 \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043e, \u0442\u043e <em><u>set.<\/u><\/em> \u041c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u044e. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0430\u0442\u044c \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e. <\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u0432\u043e\u0442 \u044d\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<pre><code class=\"python\"># \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u044e\u0437\u0435\u0440\u0435 - \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u043b\u044f \u044e\u0437\u0435\u0440\u0430, \u0448\u043e\u0431 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443 \u043d\u0435 \u0441\u0431\u0438\u0432\u0430\u043b\u0438 def set_base_bot(user_id, name_dir):     con = sl.connect('databasebot.db')     with con:         cur = con.cursor()         cur.execute(\"CREATE TABLE IF NOT EXISTS user_seadir(id INTEGER NOT NULL PRIMARY KEY, seadir TEXT)\")         con.commit()     with con:         cur = con.cursor()         cur.execute(\"SELECT seadir FROM user_seadir WHERE id = \" + str(user_id))         dat = cur.fetchone()         if dat is None:             cur.execute('INSERT INTO user_seadir (id, seadir) values(?, ?)', (user_id, name_dir))             con.commit()         else:             cur.execute('UPDATE user_seadir SET seadir = ? WHERE id = ?', (name_dir, user_id))             con.commit()     con.close()  # \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u044e\u0437\u0435\u0440\u0435 - \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u043b\u044f \u044e\u0437\u0435\u0440\u0430 def get_base_bot(user_id):     con = sl.connect('databasebot.db')     with con:         cur = con.cursor()         cur.execute(\"CREATE TABLE IF NOT EXISTS user_seadir(id INTEGER NOT NULL PRIMARY KEY, seadir TEXT)\")         cur.commit()     with con:         cur = con.cursor()         cur.execute(\"SELECT seadir FROM user_seadir WHERE id = \" + str(user_id))         dat = cur.fetchone()         if dat is not None:             return dat[0]         else:             return 'GOST'             cur.execute('INSERT INTO user_seadir (id, seadir) values(?, ?)', (user_id, 'GOST'))             con.commit()     con.close()<\/code><\/pre>\n<p>\u041f\u043e \u044d\u0442\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c \u0435\u0449\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0434\u043e, \u0433\u0434\u0435 \u0447\u0442\u043e \u043a\u0430\u043a \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u044c, \u043d\u0435 \u0438\u0434\u0435\u0442 \u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044c \u0444\u0430\u0439\u043b\u0430, \u0432 \u043e\u0431\u0449\u0435\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u043e \u043d\u044e\u0430\u043d\u0441\u0430\u043c \u043c\u043d\u043e\u0433\u043e, \u0430 \u043e\u0431 \u043d\u0438\u0445 \u043c\u0430\u043b\u043e \u043a\u0442\u043e \u043f\u0438\u0448\u0435\u0442, \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u0440\u0430\u0437\u043d\u0438\u0442\u0441\u044f. \u00a0<\/p>\n<p>\u041d\u0443 \u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0412\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0441\u043c\u0435\u0448\u043d\u043e. Get \u043a\u0430\u043a \u043d\u0430\u0434\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, Set \u043e\u0448\u0438\u0431\u043a\u0443 \u0431\u044c\u0435\u0442 (\u0432\u044b\u0448\u0435 \u0442\u043e \u0443\u0436\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0430\u044f):<\/p>\n<pre><code class=\"python\">def set_base_bot(user_id, name_dir): \u2026       cur.execute('UPDATE user_seadir SET seadir = ? WHERE id = ?', (user_id, name_dir))<\/code><\/pre>\n<p>\u041f\u043e\u043f\u043e\u0438\u0441\u043a\u0430\u043b \u044f \u043a\u0430\u043a\u043e\u0433\u043e \u0445\u0443\u0442\u043e\u0440\u0430 \u043d\u0435 \u043f\u0430\u0448\u0435\u0442, \u0432\u0441\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u2013 \u043f\u0438\u0442\u043e\u043d \u0442\u043e\u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0430\u0434\u043e \ud83d\ude42<\/p>\n<p><strong>UPD.<\/strong> \u041f\u043e\u043a\u0430 \u0434\u0435\u043b\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u044e, \u0441\u0432\u0451\u043b 2 \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u043e\u0434\u043d\u0443:<\/p>\n<pre><code class=\"python\">def sget_base_bot(user_id, name_dir):     con = sl.connect('databasebot.db')     cur = con.cursor()     with con:         cur.execute(\"CREATE TABLE IF NOT EXISTS user_seadir(id INTEGER NOT NULL PRIMARY KEY, seadir TEXT)\")     with con:         cur.execute(\"SELECT seadir FROM user_seadir WHERE id = \" + str(user_id))         dat = cur.fetchone()         if name_dir == '':                    # \u0431\u043b\u043e\u043a \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0438             if dat is not None:                 return dat[0]             else:                 return 'GOST'                 cur.execute('INSERT INTO user_seadir (id, seadir) values(?, ?)', (user_id, 'GOST'))         else:                                 # \u0431\u043b\u043e\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u0438\u0441\u043a\u0430             if dat is None:                 cur.execute('INSERT INTO user_seadir (id, seadir) values(?, ?)', (user_id, name_dir))             else:                 cur.execute('UPDATE user_seadir SET seadir = ? WHERE id = ?', (name_dir, user_id))             return name_dir     cur.close()     con.close()<\/code><\/pre>\n<p>\u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0442\u0430\u043b\u0430 \u0434\u0432\u043e\u0439\u043d\u043e\u0439 \u2013 set \u0438 get \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u043b\u0430\u043a\u043e\u043d\u0435: \u0435\u0441\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 <em>name_dir<\/em> ,\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a set \u2013 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u043f\u043a\u0438, \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u0441\u043b\u0430\u043d\u043e \u2018\u2019 (\u043f\u0443\u0441\u0442\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430) \u2013 \u0432\u044b\u0434\u0430\u0447\u0430 \u0438\u043d\u0444\u044b \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0435. \u0421\u0430\u043c\u0438 \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \/help \u0438 \u0435\u0441\u0442\u044c \u0432 \u043c\u0435\u043d\u044e. \u0421\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0430\u0441\u0441\u043e\u0440\u0442\u0438\u043c\u0435\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c\u0441\u044f.<\/p>\n<h3>end UPD<\/h3>\n<p>\u00a0\u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u0432 \u0431\u043e\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0435\u043c\u0443 \u043f\u0430\u043f\u043a\u0443 \u0432\u043a\u043b\u044e\u0447\u0430\u044e \u0413\u041e\u0421\u0422. \u0410 \u0434\u0430\u043b\u044c\u0448\u0435 \u043e\u043d \u0441\u0430\u043c \u0432\u044b\u0431\u0435\u0440\u0435\u0442, help \u0438 \u043c\u0435\u043d\u044e \u0432 \u043f\u043e\u043c\u043e\u0449\u044c. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d94\/4b3\/f28\/d944b3f280dbd8f071815ee6f4e53939.png\" width=\"869\" height=\"856\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d94\/4b3\/f28\/d944b3f280dbd8f071815ee6f4e53939.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b \u0442\u0430\u043a\u0436\u0435 \u0438 \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u0431\u043e\u0442\u0430. \u0422\u043e\u0436\u0435 \u043e\u043f\u0438\u0448\u0443, \u0430 \u0442\u043e \u0441\u0443\u043c\u0431\u0443\u0440 \u0432 \u0438\u043d\u0435\u0442\u0435. \u0421\u0434\u0435\u043b\u0430\u043b \u0444\u0430\u0439\u043b \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 txt, \u0434\u0430\u0436\u0435 \u043d\u0435 \u0444\u0430\u0439\u043b \u2013 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u044b \u0445\u043e\u0442\u044c \u0432 \u0431\u043b\u043e\u043a\u043d\u043e\u0442\u0435, \u0445\u043e\u0442\u044c \u0432 \u0432\u043e\u0440\u0434\u0435. \u0412\u043e\u0442 \u043c\u043e\u0439:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1aa\/e79\/dec\/1aae79dec8e8ddd7a1d30b294d5b9b54.png\" width=\"415\" height=\"225\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1aa\/e79\/dec\/1aae79dec8e8ddd7a1d30b294d5b9b54.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0438\u0434\u0435\u043c \u043a\u0430\u043a \u0432\u0435\u0437\u0434\u0435 \u043f\u0438\u0448\u0443\u0442, \u0434\u043e\u0445\u043e\u0434\u0438\u043c \u0434\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438 \u0434\u0430\u043b\u0435\u0435 \u043f\u043e \u043f\u0443\u043d\u043a\u0442\u0430\u043c 1-\u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443, 2- \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435, 3-\u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u043c \u043d\u0430\u0448 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u0436\u043c\u0435\u043c \u043d\u0430 \u043e\u0442\u0441\u044b\u043b\u043a\u0443. \u0423\u0441\u0451.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7e5\/21c\/abb\/7e521cabbd67f4573fb77358b35447ad.png\" width=\"614\" height=\"832\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7e5\/21c\/abb\/7e521cabbd67f4573fb77358b35447ad.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043c\u043e\u044f \u0431\u0435\u0434\u0430 \u0431\u044b\u043b\u0430 \u0432 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0438. \u041d\u043e \u0432 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432 \u043c\u0435\u043d\u044e\u0448\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/533\/5ba\/a16\/5335baa160ec3427fabdfea577aa9107.jpg\" width=\"611\" height=\"225\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/533\/5ba\/a16\/5335baa160ec3427fabdfea577aa9107.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<h2>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430   <\/h2>\n<p>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0431\u043e\u0442\u0430 \u0432 \u043f\u0430\u043f\u043a\u0435 \u0441\u0447\u0430\u0441 \u0442\u0430\u043a\u0430\u044f:<\/p>\n<p>1.__pycache__ &#8212; \u043f\u0430\u043f\u043a\u0430<\/p>\n<p>2.bot.pyw<\/p>\n<p>3.cfg_token.py<\/p>\n<p>4.databasebot.db<\/p>\n<p>5.Report.txt<\/p>\n<p>\u041f\u0430\u043f\u043a\u0430 \u043f.1 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0438\u043c Python. \u0412 \u043d\u0435\u0439 \u043e\u043d \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0431\u0430\u0439\u0442\u043a\u043e\u0434\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b cfg_token.py. \u0415\u0451 \u043b\u0443\u0447\u0448\u0435 \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u044b\u0442\u044f\u043d\u0443\u0442\u044c. <\/p>\n<p>\u0424\u0430\u0439\u043b\u044b \u043f.4 \u0438 \u043f.5 \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u0430\u043c\u0430 \u0441\u0435\u0431\u0435 \u2013 \u0435\u0441\u043b\u0438 \u0443\u0434\u0430\u043b\u0438\u0442\u044c, \u0432\u043d\u043e\u0432\u044c \u0441\u0434\u0435\u043b\u0430\u0435\u0442). <\/p>\n<p>\u0421\u0430\u043c \u0431\u043e\u0442 \u044d\u0442\u043e \u043f.2 &#8212; \u0431\u043e\u0442 \u0438 \u043f.3 &#8212; \u0442\u043e\u043a\u0435\u043d\u044b. <\/p>\n<p>\u0410 \u0442\u0430\u043a \u043d\u0430 \u044f\u043d\u0434\u0435\u043a\u0441 \u0434\u0438\u0441\u043a\u0435:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/e79\/86e\/649\/e7986e6493a12d894d4c9cda9604958d.jpg\" width=\"1489\" height=\"392\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e79\/86e\/649\/e7986e6493a12d894d4c9cda9604958d.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0431\u043e\u0442\u0430 \u0441\u043c\u0435\u043d\u0438\u043b \u0441 .py \u043d\u0430 .pyw \u0434\u043b\u044f \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043e\u043a\u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 (\u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0432 Win).<\/p>\n<p>\u0424\u0443\u0445, \u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0451. \u0410 \u043d\u0435\u0442, \u043f\u0440\u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0442\u043e \u0437\u0430\u0431\u044b\u043b\u0438.<\/p>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0435   <\/h2>\n<p>\u0418\u0442\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430:<\/p>\n<p>1)\u00a0\u00a0 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u043a\u043e\u043c\u043f\u0435, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b, \u0438\u043d\u0435\u0442 \u0435\u0441\u0442\u044c \u2013 \u0431\u043e\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041f\u043e\u043a\u0430 \u0442\u0430\u043a \u043c\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442.\u0435. \u043f\u043e\u043a\u0430 \u044f \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435. <\/p>\n<p>2)\u00a0\u00a0 \u041d\u0443 \u0432 \u0438\u043d\u0435\u0442\u0435 \u0435\u0441\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0441 VPS\/VDS \u2013 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u0441\u0441\u0435 \u043f\u043b\u0430\u0442\u043d\u044b\u0435. \u0414\u0435\u043b\u0430\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0431\u043e\u0442\u0430, \u044f \u043d\u0435 \u0433\u043e\u0442\u043e\u0432 \u043a \u0442\u0440\u0430\u0442\u0430\u043c. \u0412\u0440\u043e\u0434\u0435 \u043d\u0430 \u0441\u0435\u0439\u0447\u0430\u0441 PythonAnywhere \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u043d\u0435\u0435 \u043a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442.<\/p>\n<p>3)\u00a0\u00a0 \u0421 \u0434\u0432\u0443\u043c\u044f \u043f\u043e\u0434\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u2013 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d, \u043e\u043d \u0436\u0435 \u043f\u043e \u0441\u0443\u0442\u0438 \u043a\u043e\u043c\u043f, \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u0441\u0435\u0442\u0438, \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0447\u0435\u043c \u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440)). \u0418\u0437 \u043c\u0438\u043d\u0443\u0441\u043e\u0432 \u2013 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0430\u0434\u0438\u0442 \u0431\u0430\u0442\u0430\u0440\u0435\u044e, \u043d\u043e \u0447\u0442\u043e \u0435\u0451 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0441\u0430\u0434\u0438\u0442:<\/p>\n<ul>\n<li>\n<p>Pydroid3 \u2013 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442), \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430, \u0430 \u0442\u043e \u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f. \u0423 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043a\u0440\u0443\u0442\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438\/\u043f\u0430\u043a\u0435\u0442\u044b \u043f\u043b\u0430\u0442\u043d\u044b\u0435, \u043d\u043e \u0441 \u0430\u0438\u043e\u0433\u0440\u0430\u043c\u043c \u0438 \u044f\u043d\u0434\u0435\u043a\u0441\u043e\u043c \u043f\u043e\u0432\u0435\u0437\u043b\u043e);\u00a0<\/p>\n<\/li>\n<li>\n<p>UserLAnd \u0441 Ubunty CLI \u2013 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0435\u0449\u0435 \u043a\u0440\u0443\u0447\u0435, \u043f\u0438\u0442\u043e\u043d \u043d\u0430\u0434\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c (\u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 2.7 \u0432\u0440\u043e\u0434\u0435), \u043f\u0430\u043a\u0435\u0442\u044b \u0442\u043e\u0436\u0435, \u0435\u0449\u0435 mc (\u044d\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u043d\u043e\u0440\u0442\u043e\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0435\u0440\u0430 \u043f\u043e\u0434 dos) \u0434\u043b\u044f \u0437\u0430\u0431\u0440\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0431\u043e\u0442\u0430 \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u043a. \u0422\u0430\u043c \u0432 \u043a\u043e\u0440\u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u043b \u043f\u0430\u043f\u043a\u0443 bot, \u0432 \u043d\u0435\u0451 \u0438 \u0441\u043b\u043e\u0436\u0438\u043b \u0444\u0430\u0439\u043b\u044b \u0431\u043e\u0442\u0430. <\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/1f1\/eee\/ab1\/1f1eeeab1a1bc2096f0f61319fc3270a.jpg\" width=\"1280\" height=\"720\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1f1\/eee\/ab1\/1f1eeeab1a1bc2096f0f61319fc3270a.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b:<\/p>\n<p>cd \u2013 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043a\u043e\u0440\u0435\u043d\u044c,<\/p>\n<p>ls &#8212; \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430,<\/p>\n<p>cd bot \u2013 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043f\u0430\u043f\u043a\u0443,<\/p>\n<p>python3 bot.py \u2013 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u0431\u043e\u0442\u0430 (\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0441 pyw \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e \u043d\u0430 py)<\/p>\n<p>\u0415\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0443\u0434\u0440\u0438\u0442\u044c \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438, \u0447\u0442\u043e \u0431 \u0441\u0430\u043c\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u043e\u0441\u044c \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u2013 \u043d\u0435 \u0434\u043e\u0448\u043b\u0438 \u0440\u0443\u043a\u0438. \u0410 \u0435\u0449\u0435 \u043c\u044b\u0441\u043b\u044f \u0441\u0442\u0430\u0440\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043f\u043e\u0434 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e))<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/0c8\/893\/ce8\/0c8893ce8637278b8921190b4a1c7825.jpg\" width=\"1280\" height=\"720\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0c8\/893\/ce8\/0c8893ce8637278b8921190b4a1c7825.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>(\u042d\u0442\u043e \u043c\u043d\u0435 \u0432\u044b\u0434\u0430\u043b\u043e, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430 \u043a\u043e\u043c\u043f\u0435 \u0438 \u0441\u043c\u0430\u0440\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u0431\u043e\u0442\u0430, \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430)<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/50d\/de6\/209\/50dde620914327736e64eaa16a6a46d7.jpg\" width=\"720\" height=\"1280\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/50d\/de6\/209\/50dde620914327736e64eaa16a6a46d7.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>(\u0432\u044b\u043a\u043b\u044e\u0447\u0430\u044e \u0443\u0442\u0440\u043e\u043c \u0431\u043e\u0442\u0430 \u043d\u0430 \u0443\u0431\u0443\u043d\u0442\u0443, \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043d\u0430 \u043a\u043e\u043c\u043f\u0435)<\/p>\n<ul>\n<li>\n<p>\u0442\u0435\u0440\u043c\u0443\u043a\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0432 \u044d\u0442\u043e\u043c \u043f\u043b\u0430\u043d\u0435, \u043c\u043e\u0436\u0435\u0442 \u044f \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0438\u043b\u0438 \u043d\u0435 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0438\u0434, \u043d\u0435 \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u044f \u0435\u0433\u043e.<\/p>\n<\/li>\n<\/ul>\n<h2>\u041f\u043b\u0430\u043d\u044b   <\/h2>\n<ol>\n<li>\n<p>\u0410\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u2013 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043a\u0430 \u043d\u0435 \u0437\u043d\u0430\u044e. \u041c\u043e\u0436\u0435\u0442 \u0438 \u0437\u0430\u0431\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e). \u0412 pip-\u0430\u0445 \u0442\u0430\u043c \u0432\u0440\u043e\u0434\u0435 \u043a\u0442\u043e-\u0442\u043e \u0441\u0432\u0430\u0440\u0433\u0430\u043d\u0438\u043b, \u043d\u043e, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043e\u0448\u0438\u0431\u0430\u044e\u0441\u044c \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0433\u0440\u0435\u0441.<\/p>\n<\/li>\n<li>\n<p>\u0414\u0435\u043b\u0430\u043b \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0431\u043e\u0442\u0430 (\u0442\u0438\u043f\u0430 \/stop bot) \u0447\u0435\u0440\u0435\u0437 sys.exit() \u0432\u044b\u0434\u0430\u0435\u0442 \u043a\u0443\u0447\u0443 \u043e\u0448\u0438\u0431\u043e\u043a. \u0418\u0437\u0443\u0447\u0438\u043b \u043c\u043d\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u2013 \u0431\u044c\u0451\u0442 \u043e\u0448\u0438\u0431\u043a\u0438. \u041a\u0430\u043a \u043f\u043e\u043d\u044f\u043b, \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u044d\u0442\u043e \u0441 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0431\u043e\u0442\u0430, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e aiogram \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0447\u0438\u043d\u0430. \u0413\u0434\u0435-\u0442\u043e \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0431\u043e\u0442\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0437\u0430\u0434\u0430\u0447 \u0438 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e\u0439 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0431\u043e\u0442\u0430 \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u043c, \u0431\u0435\u0437\u043e\u0448\u0438\u0431\u043e\u0447\u043d\u044b\u043c \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u043c. \u041d\u043e, \u044d\u0442\u043e \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u043b\u044f \u043c\u0435\u043d\u044f, \u0441\u043b\u043e\u0436\u043d\u043e\u0432\u0430\u0442\u043e \u0431\u0443\u0434\u0435\u0442. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0438 \u043f\u043e\u0439\u0434\u0435\u0442. \u0418\u0437\u0443\u0447\u0430\u044e \u043f\u043e\u043a\u0430 \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441.<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0443 \u044f\u043d\u0434\u0435\u043a\u0441\u0430 \u043f\u043e\u0434 \u0431\u043e\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u0441\u043a \u0438 \u0442\u0430\u043c \u043f\u043e\u0441\u0435\u043b\u0438\u0442\u044c, \u043d\u0430\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0430\u043f\u043e\u043a, \u043d\u0430\u0441\u044b\u043f\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u043a\u0435\u043d \u0432 \u0431\u043e\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c. <strong>Upd<\/strong> \u0441\u0434\u0435\u043b\u0430\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u043c\u043d\u0435 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u043f\u0430\u043f\u043a\u0435, \u0435\u0441\u0442\u044c \u043c\u044b\u0441\u043b\u044f \u0437\u0430\u0432\u0435\u0441\u0442\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0432 \u0411\u0414 \u043f\u043e\u0434 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0444\u0430\u0439\u043b\u044b + \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043d\u0430 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044e \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c. \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u0430\u043a\u0438\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0432 \u043e\u0431\u043b\u0430\u043a\u043e, \u0442\u043e \u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044e \u0441\u043a\u043e\u043c\u0430\u043d\u0434\u0443\u044e \u0431\u043e\u0442\u0443 \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041b\u0438\u0431\u043e \u0432\u0435\u0441\u0442\u0438 \u0442\u0430\u043a\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043f\u043e \u043c\u0435\u0440\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432:\u00a0 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0432 \u0411\u0414 \u043f\u043e\u0438\u0441\u043a, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442, \u0442\u043e \u043f\u043e\u0438\u0441\u043a \u043d\u0430 \u0434\u0438\u0441\u043a\u0435.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0443 \u0438 \u0448\u043b\u0438\u0444\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434, \u0434\u043e \u0438\u0434\u0435\u0430\u043b\u0430)<\/p>\n<\/li>\n<\/ol>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435   <\/h2>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0438 \u043d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b \u041d\u0422\u0414 \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440.   <\/p>\n<p><strong>\u0412\u0440\u043e\u0434\u0435 \u0432\u0441\u0435<\/strong>   <\/p>\n<p>\u041f.\u0441.1. \u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u043a\u0440\u0438\u0442\u0438\u043a\u0430 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438.<\/p>\n<p>\u041f.\u0441.2. \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u0441 \u0431\u043e\u0442\u043e\u043c \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0441\u0431\u043e\u0438 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u0430 \u0442\u0430\u043a \u0432\u0435\u043b\u043a\u0430\u043c \u043a\u043e\u043c\u0443 \u043d\u0430\u0434\u043e \u2013 <strong>Normativkabot<\/strong>.<\/p>\n<p>\u041f.\u0441.3. \u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0422\u0413 \u043d\u0430\u043a\u0440\u043e\u0435\u0442\u0441\u044f, \u0434\u0443\u043c\u0430\u044e \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 GUI \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u0442\u044c \u0441 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u043e \u0441\u0430\u0440\u0430\u0444\u0430\u043d\u043d\u043e\u043c\u0443 \u0440\u0430\u0434\u0438\u043e.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \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\/720130\/\"> https:\/\/habr.com\/ru\/post\/720130\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/p>\n<p>15.02.2023. \u041e \u0442\u043e\u043c \u043a\u0430\u043a \u044f \u0434\u0435\u043b\u0430\u043b \u0431\u043e\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0444\u0430\u0439\u043b\u044b \u0441 \u044f\u043d\u0434\u0435\u043a\u0441 \u0434\u0438\u0441\u043a\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0434\u043b\u044f \u043b\u0438\u0447\u043d\u043e-\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439.<\/p>\n<h2>\u041d\u0435 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435 (\u0445\u043e\u0442\u0438\u0442\u0435 \u2013 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u0435, \u043e\u043d\u043e \u043d\u0435 \u043f\u0440\u043e \u0431\u043e\u0442)<\/h2>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0443\u043c\u0430\u043b \u043f\u0438\u0441\u0430\u0442\u044c. \u041f\u043e\u0442\u043e\u043c \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0432 \u0441 \u0432\u044b\u0441\u043e\u0442\u044b \u043f\u043e\u043b\u0435\u0442\u0430 &#8212; \u043d\u0435 \u043f\u0438\u0441\u0430\u0442\u044c. \u041d\u0443 \u0430 \u043f\u043e\u0441\u043b\u0435 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043e\u043f\u044b\u0442 \u0422\u0413-\u0431\u043e\u0442\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f. \u041f\u0430\u0440\u043e\u0447\u043a\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443 \u0438 \u043f\u0440\u0438\u0433\u043e\u0434\u044f\u0442\u0441\u044f. \u0412\u0441\u0451 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0430\u043b\u0435\u0435 \u2014 \u044d\u0442\u043e \u0442\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u0430 \u043f\u0435\u0440\u0430. \u0425\u0430\u0431\u0440 \u0434\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0438 \u0447\u0438\u0442\u0430\u044e, \u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u0447\u0442\u043e-\u0442\u043e \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e.<\/p>\n<p>\u042f \u043f\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0438\u043d\u0436\u0435\u043d\u0435\u0440-\u0433\u0438\u0434\u0440\u043e\u0442\u0435\u0445\u043d\u0438\u043a &#8212; \u0440\u0435\u0447\u043d\u044b\u0435 \u043f\u043e\u0440\u0442\u044b, \u043f\u0440\u0438\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0435\u043d\u043a\u0438, \u043d\u0430\u0431\u0435\u0440\u0435\u0436\u043d\u044b\u0435, \u0432\u043e\u0434\u043e\u0437\u0430\u0431\u043e\u0440\u044b, \u043f\u043b\u043e\u0442\u0438\u043d\u044b \u0438 \u0413\u042d\u0421 \u2014 \u0432\u043e\u0442 \u044d\u0442\u043e \u0432\u0441\u0451 \u044f \u0443\u0447\u0438\u043b\u0441\u044f \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438\u0437 \u0430\u0440\u043c\u0430\u0442\u0443\u0440\u044b, \u0431\u0435\u0442\u043e\u043d\u0430, \u0449\u0435\u0431\u043d\u044f \u0438 \u043f\u0435\u0441\u043a\u0430. \u0410 \u0442\u0430\u043a \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u043b \u0441 \u041f\u0413\u0421 (\u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e-\u0433\u0440\u0430\u0436\u0434\u0430\u043d\u0441\u043a\u043e\u0435 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e, \u0430 \u043d\u0435 \u043f\u0435\u0441\u0447\u0430\u043d\u043e-\u0433\u0440\u0430\u0432\u0438\u0439\u043d\u0430\u044f \u0441\u043c\u0435\u0441\u044c) \u0432 \u0420\u0411, \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0432 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435 \u043d\u0435\u0444\u0442\u0435-\u0433\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u0430 \u0432 \u0420\u0424. \u042d\u0442\u043e \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438, \u0447\u0442\u043e \u0431 \u043d\u0435 \u0434\u0443\u043c\u0430\u043b\u0438, \u0447\u0442\u043e \u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442). \u0414\u0430\u0432\u043d\u043e \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e-\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043e\u0442\u0434\u0435\u043b\u0435 \u2013 \u041f\u0422\u041e-\u0448\u043d\u0438\u043a \u044f \ud83d\ude42<\/p>\n<p>\u0412 2022 \u043d\u0430\u0447\u0430\u043b \u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0447\u0442\u043e \u0442\u0430\u043c \u0441 \u042f\u041f \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f, \u0430 \u0442\u0430\u043c \u0432\u0440\u043e\u0434\u0435 Python \u043f\u043e\u0434\u0430\u0435\u0442 \u043d\u0430\u0434\u0435\u0436\u0434\u044b, \u043f\u043e\u0447\u0438\u0442\u0430\u043b \u043f\u043e\u0433\u043b\u044f\u0434\u0435\u043b \u0432\u0441\u044f\u043a\u0438\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043d\u0443 \u0438 \u0432\u044b\u0431\u0440\u0430\u043b \u0435\u0433\u043e. \u041f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u043b\u0430 \u043f\u043e \u043e\u0442\u0437\u044b\u0432\u0430\u043c \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044f\u043c\u0438 \u0438 \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c\u0438, \u0434\u043b\u044f \u043e\u0436\u0438\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u043e\u0433\u0438 \u0434\u043b\u044f \u0440\u0443\u043b\u0435\u0442\u043a\u0438 &#8212; \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u0436 \u0435\u0449\u0435. \u041d\u0430\u0447\u0430\u043b \u041b\u0443\u0442\u0446\u0430 \u0447\u0438\u0442\u0430\u0442\u044c, \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043d\u0438\u0433 \u043d\u0430\u043a\u0430\u0447\u0430\u043b, \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043b\u0438\u0441\u0442\u0430\u043b. \u0421\u0442\u0430\u043b \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 &#8212; \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0438\u0442\u043e\u043d\u0430, \u0435\u0433\u043e \u044e\u043f\u0438\u0442\u0435\u0440\u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0438, \u0430\u043d\u0430\u043a\u043e\u043d\u0434\u0443, VSC, PyCharm. \u0412\u043e\u0442 \u043a\u0442\u043e \u0431\u044b \u0435\u0449\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043b \u043f\u043e \u043f\u043e\u043b\u043a\u0430\u043c \u043a\u0430\u043a \u044d\u0442\u0438\u043c PyCharm \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u0440\u0438\u0451\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c, \u043d\u0435\u0442 \u0436\u0435 \u0432 \u0438\u043d\u0435\u0442\u0435 (\u0438\u043b\u0438 \u043d\u0435 \u043d\u0430\u0448\u0451\u043b), \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u044f\u0442 \u0434\u0440\u0443\u0433 \u0443 \u0434\u0440\u0443\u0433\u0430 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435. GUI \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b, \u0448\u0442\u0430\u0442\u043d\u044b\u0435 \u043d\u0435 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0438\u043b\u0438, \u043a\u0430\u043a \u0438 QT, \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b. \u041d\u0430\u0448\u0435\u043b Delphi4Python, \u043f\u043e\u043b\u0435\u0437 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e \u0442\u0430\u043c \u0432 \u0441\u0442\u0430\u043d\u0435 \u0438\u0445 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u0438\u044e &#8212; \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u0440\u0442 \u0432 \u043f\u0438\u0442\u043e\u043d, \u0434\u0430\u0436\u0435 \u043a\u0430\u043a-\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0438\u0437\u0443\u0447\u0430\u044e \u043f\u043e \u043c\u0435\u0440\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438. \u041d\u0430\u0448\u0435\u043b \u0438\u0445 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 PyScripter, \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f, \u043d\u0430 \u043d\u0435\u043c \u0438 \u0441\u0438\u0436\u0443 \u043f\u043e\u043a\u0430. \u041d\u0435\u0442 \u0443 \u043c\u0435\u043d\u044f \u0442\u0430\u043a\u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439, \u0435\u0433\u043e \u0445\u0432\u0430\u0442\u0430\u0435\u0442.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u044e \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b-\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u043e\u0440\u044b: \u0442\u043e \u0430\u0440\u0445\u0438\u0432\u0447\u0438\u043a \u043a\u0430\u043a\u043e\u0439 \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0442\u043e \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 200-300\u0444\u0430\u0439\u043b\u043e\u0432. \u0418 \u0442\u0443\u0442 \u0432 2023\u0433 \u0443\u0437\u043d\u0430\u044e \u043f\u0440\u043e \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0438 \u0435\u0433\u043e \u0431\u043e\u0442\u043e\u0432. \u041f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0432\u0430\u0446\u0430\u043f \u0431\u044b\u043b \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u044b\u0445 \u0447\u0430\u0442\u043e\u0432, \u043f\u043e\u0442\u043e\u043c\u0443 \u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0435\u043a\u0430\u043b\u0441\u044f. \u0424\u0443\u0445, \u0445\u0432\u0430\u0442\u0438\u0442, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043f\u043e\u0433\u043d\u0430\u043b\u0438 \u043f\u0440\u043e \u0431\u043e\u0442\u0430).<\/p>\n<h3>\u0417\u0430\u0434\u0430\u0447\u0430<\/h3>\n<p>\u0418\u043c\u0435\u0435\u0442\u0441\u044f \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u043e-\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438: \u0413\u041e\u0421\u0422\u044b, \u0421\u041f, \u041e\u0420, \u0420\u0414, \u0421\u0422\u041e, \u0421\u041d\u0438\u041f, \u0421\u0430\u043d\u041f\u0438\u041d \u0438 \u043f\u0440. \u0438 \u043f\u0440. \u0438 \u043f\u0440. \u0417\u0430 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0430\u043a\u043e\u043f\u043b\u044f\u0435\u0442\u0441\u044f \u0443 \u043b\u044e\u0431\u043e\u0433\u043e \u041f\u0422\u041e-\u0448\u043d\u0438\u043a\u0430. \u041c\u043d\u043e\u0433\u043e \u043a\u0442\u043e \u0442\u0430\u0441\u043a\u0430\u044e\u0442 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u0438. <\/p>\n<p>\u0415\u0449\u0435 \u0437\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438\u0434\u0435\u0442 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435\/\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e &#8212; \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438: \u043f\u0440\u043e\u0435\u043a\u0442, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0430, \u0410\u0412\u041a, \u0410\u041e\u0421\u0420, \u0434\u0440. \u0430\u043a\u0442\u044b, \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430, \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0440\u0438\u043a\u0430\u0437\u044b, \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f, \u0434\u043e\u043f\u0443\u0441\u043a\u043d\u0430\u044f. \u0418 \u0432\u043e\u0442 \u043f\u043e\u0434\u0443\u043c\u0430\u043b\u043e\u0441\u044c \u2013 \u043a\u043b\u0430\u0434\u0435\u043c \u044d\u0442\u043e \u0432\u0441\u0435 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e, \u0430 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u0430\u0435\u0442 \u0431\u043e\u0442 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443, \u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u0443 \u0438\u0437 \u0418\u0422\u0420, \u0434\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430\u00a0 \u043d\u0430\u0445\u043e\u0434\u0438\u0448\u044c\u0441\u044f \u0432 \u043f\u043e\u043b\u0435 \u0438\u043b\u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u0435 (\u0430 \u0442\u043e \u0431\u0435\u0433\u0438 \u043a \u043a\u043e\u043c\u043f\u0443 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0439 \u0438\u043d\u0444\u0443, \u043d\u0430\u0439\u0442\u0438 \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0438\u043a\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442))) \u0412\u043e\u0442 \u043a \u0431\u043e\u0442\u0443 \u0438\u0445 \u0438 \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u0432\u0441\u0435\u0445, \u043f\u0443\u0441\u0442\u044c \u043e\u043d \u043e\u0442\u0434\u0443\u0432\u0430\u0435\u0442\u0441\u044f). \u042f \u0436 \u043b\u0435\u043d\u0438\u0432\u044b\u0439, \u0432\u043e\u0442 \u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0442\u043e \u0431 \u043a\u043e\u043c\u043f \u0437\u0430 \u0441\u0435\u0431\u044f \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c)). <\/p>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u0432 \u043c\u0438\u0440\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0434\u0435\u0442 \u0434\u0432\u0438\u0436\u0443\u0445\u0430 \u043f\u043e BIM \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u043c \u0432 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435. \u0422\u0430\u043a\u043e\u0439 \u0431\u043e\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0433\u0434\u0435-\u0442\u043e \u043e\u043a\u043e\u043b\u043e \u0442\u0430\u043a\u043e\u0439 \u0442\u0435\u043c\u044b. \u041f\u043b\u0430\u043d\u044b \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435: \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0448\u044c \u0431\u043e\u0442\u0443 \u0430\u043a\u0442 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f, \u0430 \u043e\u043d \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u0442 \u0441\u0430\u043c \u0436\u0443\u0440\u043d\u0430\u043b \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438\u2026\u044d\u0445, \u043c\u0435\u0447\u0442\u044b \ud83d\ude42<\/p>\n<h3>\u0418\u0434\u0435\u0438 \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h3>\n<p>\u0411\u043e\u0442 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043a\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0438, \u043e\u0431\u043a\u0430\u0442\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u0438 \u043f\u0440\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438. \u0424\u0430\u0439\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u0435 \u043f\u043e \u043f\u0430\u043f\u043a\u0430\u043c. \u0411\u043e\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0432 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0443. \u0424\u0430\u0439\u043b\u044b \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u0441\u0441\u0435 \u0431\u0443\u0434\u0443\u0442 pdf, \u043a\u0430\u043a \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u0439 \u043e\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043e\u043a \u0438 \u043f\u0440.<\/p>\n<h2>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n<ul>\n<li>\n<p>\u041f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u0431\u043e\u0442 \u0432\u044b\u0434\u0430\u0435\u0442 \u0438\u043d\u0444\u0443 \u043f\u043e \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0435. \u0412 \u043e\u0431\u043b\u0430\u043a\u043e \u043f\u043e \u043f\u0430\u043f\u043a\u0430\u043c \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u041d\u0422\u0414, \u0431\u043e\u0442 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0430\u043f\u043a\u0443 \u0438 \u0435\u0441\u043b\u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442, \u0442\u043e \u0434\u0430\u0451\u0442 \u043e\u0442\u0432\u0435\u0442. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u043e\u043d \u0443 \u043c\u0435\u043d\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043b \u0444\u0430\u0439\u043b \u0438\u0437 \u043e\u0431\u043b\u0430\u043a\u0430 \u043d\u0430 \u0434\u0438\u0441\u043a, \u043e\u0442\u0441\u044b\u043b\u0430\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u043f\u043e\u0442\u043e\u043c \u0443\u0434\u0430\u043b\u044f\u043b \u0444\u0430\u0439\u043b, \u0434\u0430\u0431\u044b \u043d\u0435 \u0437\u0430\u0445\u043b\u0430\u043c\u043b\u044f\u0442\u044c \u0434\u0438\u0441\u043a. \u0418 \u0442\u0443\u0442 \u0443\u0437\u043a\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u2013 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0441\u043b\u0430\u043d \u043d\u0435 \u043d\u0443\u0436\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0444\u0430\u0439\u043b. \u041d\u043e \u0435\u0441\u043b\u0438 \u0431\u043e\u0442 \u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c (\u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u043d\u0430 VPS\/VDS) \u0442\u043e \u0434\u0438\u0441\u043a\u0430 \u0442\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043b \u043d\u0430 \u0432\u044b\u0434\u0430\u0447\u0443 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0444\u0430\u0439\u043b<\/p>\n<\/li>\n<li>\n<p>\u041f\u0430\u043f\u043a\u0443 \u043f\u043e\u0438\u0441\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0441\u0434\u0435\u043b\u0430\u043b \u043a\u0430\u043a \u0440\u0443\u0441\u0441\u043a\u0438\u043c\u0438 \u0442\u0430\u043a \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u043c\u0438, \u043a\u0430\u043a \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0442\u0430\u043a \u0438 \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <u>\/gost<\/u> (\u0438\u043b\u0438 <u>\/\u0433\u043e\u0441\u0442<\/u> \u0438\u043b\u0438 <u>\/\u0413\u041e\u0421\u0422<\/u>) \u2013 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442 \u043f\u043e\u0438\u0441\u043a \u043d\u0430 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0413\u041e\u0421\u0422\u0430\u043c\u0438; <u>\/vsn<\/u> \u2013 \u043d\u0430 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0412\u0421\u041d \u0438 \u0442.\u0434.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u044b <u>\/start<\/u>, <u>\/about<\/u> \u0438 <u>\/help<\/u> \u2013 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <u>\/sms<\/u> \u2013 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443, \u0442.\u0435. \u043c\u043d\u0435).<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <u>\/status<\/u> \u2013 \u043d\u0430 \u043d\u0435\u0451 \u0431\u043e\u0442 \u0434\u0430\u0451\u0442 \u043e\u0442\u0432\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u043e\u043d \u0438 \u043a\u0430\u043a\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u043f\u043e\u0438\u0441\u043a\u0430 \u0442\u0435\u043a\u0443\u0449\u0430\u044f.<\/p>\n<\/li>\n<li>\n<p>\u0411\u043e\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u041d\u0422\u0414. \u041a\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043d\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043a\u0443 \u2013 \u0442\u0430\u043a \u0438 \u043f\u0438\u0448\u0435\u0442, \u0435\u0441\u043b\u0438 \u043c\u043e\u043b \u043f\u0440\u0438\u0448\u043b\u0451\u0442\u0435, \u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0431\u0443\u0434\u0435\u0442. \u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u043d pdf, doc \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0438 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0431\u0443\u0434\u0443 \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0430 \u0442\u043e \u043c\u0430\u043b\u043e \u043b\u0438 \u043f\u043e\u043d\u0430\u043f\u0440\u0438\u0441\u044b\u043b\u0430\u044e\u0442 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0441\u043e \u0432\u0437\u0440\u043e\u0441\u043b\u044b\u0445 \u0441\u0430\u0439\u0442\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0434\u0435\u0442 \u043e\u0442\u0447\u0435\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0438\u0448\u0435\u0442 id \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u043b\u0438, \u0441\u043c\u0441-\u043a\u0438 \u0438\u043b\u0438 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u043b\u0438 \u0444\u0430\u0439\u043b\u044b.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u043e\u0442\u043e\u043c. \u0421\u0434\u0435\u043b\u0430\u043d\u044b \u0431\u0443\u043a\u0432\u0435\u043d\u043d\u043e-\u0446\u0438\u0444\u0438\u0440\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0447\u0442\u043e \u0431 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0441\u044f. \u041f\u043e \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0431\u043e\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0441\u043b\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442 (\u0442\u0438\u043f\u0430 <u>\/\u043f\u043e\u043a\u0430\u0436\u0438 \u043e\u0442\u0447\u0435\u0442<\/u>) \u043b\u0438\u0431\u043e \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043e\u0431\u043b\u0430\u043a\u043e (\u0442\u0438\u043f\u0430 <u>\/\u043e\u0442\u0447\u0435\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e<\/u>). \u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u043c\u044b\u0441\u043b\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u0443\u044e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u043e\u0442\u0430, \u043d\u043e \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0443\u0431\u0440\u0430\u043b \u2013 \u0431\u044a\u0451\u0442 \u043e\u0448\u0438\u0431\u043a\u0438.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f:<\/h2>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u0431\u043e\u0442\u0430 \u0432 \u0422\u0413, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u043e\u043a\u0435\u043d \u2013 \u044d\u0442\u043e \u043a\u0430\u043a \u0432\u0435\u0437\u0434\u0435.<\/p>\n<p>\u0412 \u044f\u043d\u0434\u0435\u043a\u0441\u0435 \u0447\u0435\u0440\u0435\u0437 ID \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u043e\u043a\u0435\u043d \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u2013 \u043f\u043e\u0438\u0449\u0438\u0442\u0435, \u0442\u043e\u0436\u0435 \u0432\u0441\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u043e.<\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u044e \u0447\u0435\u0439-\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0445\u043e\u0431\u043e\u0442\u0430 \u0438 \u043f\u043e\u0433\u043d\u0430\u043b.<\/p>\n<p>\u0422\u043e\u043a\u0435\u043d\u044b \u0445\u0440\u0430\u043d\u044e \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 cfg_token.py, \u0432 \u043d\u0435\u043c 2 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0441 \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438:<\/p>\n<pre><code class=\"python\">telebot_token ='\u0442\u0443\u0442 \u0430\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430 \u043e\u0442 \u0422\u0413' ## \u0442\u043e\u043a\u0435\u043d \u042f\u0414 ya_dsk_token = '\u0442\u0443\u0442 \u0430\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430 \u043e\u0442 \u042f\u0414'<\/code><\/pre>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043c\u043e\u0434\u0443\u043b\u044c PyTelegramBotAPI (Telebot), \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043b \u043d\u0430 Aiogram \u2013 \u043a\u043e\u0433\u0434\u0430 \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043b\u0443\u0447\u0448\u0435, \u0447\u0442\u043e \u0431 \u0431\u044b\u043b\u0430 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c, \u0432\u0440\u043e\u0434\u0435 \u0442\u0430\u043a. \u0415\u0449\u0435 \u043d\u0443\u0436\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c \u043e\u0442 \u044f\u043d\u0434\u0435\u043a\u0441\u0430.<\/p>\n<pre><code class=\"python\">pip install aiogram pip install yadisk<\/code><\/pre>\n<p>\u0411\u043b\u043e\u043a \u0438\u043c\u043f\u043e\u0440\u0442\u0430, \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e:<\/p>\n<pre><code class=\"python\">from aiogram import Bot, types from aiogram.dispatcher import Dispatcher from aiogram.utils import executor  import cfg_token import yadisk import glob, os import sys import time from datetime import datetime  import sqlite3 as sl<\/code><\/pre>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043b\u0438\u0448\u043d\u0438\u0435 \u0435\u0441\u0442\u044c, \u043f\u043e\u043a\u0430 \u0434\u0435\u043b\u0430\u0435\u0448\u044c \u043f\u043e 100500\u0440\u0430\u0437 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u0448\u044c, \u0442\u043e \u043e\u0434\u043d\u043e, \u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435.<\/p>\n<p>\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:<\/p>\n<pre><code class=\"python\">bot = Bot(token=cfg_token.telebot_token) dp = Dispatcher(bot) codirovk = 'utf-8' # \u0442\u043e\u043a\u0435\u043d \u044f\u043d\u0434\u0435\u043a\u0441 \u0434\u0438\u0441\u043a\u0430 y = yadisk.YaDisk(token=cfg_token.ya_dsk_token) # \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u043c \u0438\u043c\u0435\u043d\u0438 format_name_files =['\u0413\u041e\u0421\u0422', '\u0413\u043e\u0441\u0442', '\u0433\u043e\u0441\u0442', 'GOST', 'Gost', 'gost', 'SP', 'sp', '\u0421\u041f', '\u0441\u043f', 'VSN', 'vsn', '\u0412\u0421\u041d', '\u0432\u0441\u043d', 'STO', 'sto', '\u0421\u0422\u041e', '\u0441\u0442\u043e'] # \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 format_ext_files = ['.pdf', '.doc', '.docx', '.rtf'] search_dir = 'GOST' #\u043f\u0430\u043f\u043a\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430<\/code><\/pre>\n<p>\u041a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u044f\u0432\u043d\u043e \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043e\u0442\u0447\u0435\u0442\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <em>codirovk.<\/em> \u0410 \u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0434\u0430\u0436\u0435 \u0430\u0437\u0438\u0430\u0442\u0441\u043a\u0430\u044f \u0435\u0440\u043e\u0433\u043b\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0440\u044b\u0432\u0430\u0442\u044c\u0441\u044f.   <\/p>\n<pre><code class=\"python\">##----\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0440\u0430\u043f\u043e\u0440\u0442--------------- def report_to_txt(str15):     try:         with open('Report.txt', 'a', encoding=codirovk) as file4:             file4.write(str15)     except Exception as e:         print('\u041e\u0448\u0438\u0431\u043a\u0430: '+e)<\/code><\/pre>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0430\u043b \u0434\u0435\u043b\u0430\u0442\u044c, \u0442\u043e \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0430 \u043f\u0430\u043f\u043a\u0435 \u0413\u041e\u0421\u0422. \u0412 \u043e\u0431\u043b\u0430\u043a\u043e \u0442\u0430\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u0441\u043f\u0435\u0446 \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043e\u0442\u0447\u0435\u0442\u043e\u0432, \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u044e \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442. \u041e\u0442\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043a\u043e\u043c\u0430\u043d\u0434 \u043a\u0430\u043a \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. \u0417\u0434\u0435\u0441\u044c \u0438\u0445 \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043b, \u0442\u0430\u043c \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e, \u0434\u043b\u044f \u0440\u0430\u0441\u0442\u043e\u043b\u043a\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<pre><code class=\"python\">@dp.message_handler(commands=['start', '\u0441\u0442\u0430\u0440\u0442'])  ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/start async def process_start_command(message: types.Message):     set_base_bot(message.from_user.id, 'GOST')     await bot.send_message(message.from_user.id, \"\u041f\u0440\u0438\u0432\u0430! \u042f \u0431\u043e\u0442-\u043f\u043e\u043c\u043e\u0448\u043d\u0438\u043a! \u0418\u0449\u0443 \u041d\u0422\u0414 \u0438 \u0432\u044b\u0434\u0430\u044e \u0438\u0445 \u0412\u0430\u043c\")     await bot.send_message(message.from_user.id, \"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u041d\u0422\u0414: \"+get_base_bot(message.from_user.id)+'. \u0415\u0451 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 (\u0441\u043c. \/help)')     await bot.send_message(message.from_user.id, \"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u041d\u0422\u0414 (\u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u043e\u043c\u0435\u0440 \u0438\u043b\u0438 \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f):\")  @dp.message_handler(commands=['help', '\u0445\u0435\u043b\u043f']) ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/help async def process_help_command(message: types.Message):     # \u0442\u0443\u0442 \u043d\u0435 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u0438\u0441\u043a\u0430, \u0431\u0435\u0440\u0435\u043c \u0435\u0435 \u0438\u0437 \u0431\u0430\u0437\u044b     await bot.send_message(message.from_user.id, \"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u041d\u0422\u0414 (\u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u043e\u043c\u0435\u0440 \u0438\u043b\u0438 \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f) \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u043c\u043d\u0435, \u0430 \u044f \u043f\u043e\u0438\u0449\u0443 \u0433\u0434\u0435-\u0442\u043e \u0438 \u0435\u0441\u043b\u0438 \u043d\u0430\u0439\u0434\u0443, \u0442\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044e \u0412\u0430\u043c \u0444\u0430\u0439\u043b, \u043f\u043e 1\u0448\u0442 \u0437\u0430 \u0440\u0430\u0437.\")     await bot.send_message(message.from_user.id, \"\u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043f\u043e\u0438\u0441\u043a \u0432 \u043f\u0430\u043f\u043a\u0435: \"+get_base_bot(message.from_user.id))<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u0438\u0441\u043a\u0430, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e:<\/p>\n<pre><code class=\"python\">@dp.message_handler(commands=['GOST', 'gost', '\u0413\u041e\u0421\u0422', '\u0433\u043e\u0441\u0442']) ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/GOST async def process_gost_command(message: types.Message):     set_base_bot(message.from_user.id, 'GOST')     await bot.send_message(message.from_user.id, \"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u041d\u0422\u0414: \"+get_base_bot(message.from_user.id))<\/code><\/pre>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e <em>report_to_txt<\/em>:   <\/p>\n<pre><code class=\"python\">@dp.message_handler(commands=['sms', '\u0441\u043c\u0441']) ## \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \/sms \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 async def process_sms_command(message: types.Message):     report_to_txt('\\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c id'+str(message.from_user.id)+' \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435: '+message.text)     await bot.send_message(message.from_user.id, \"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e\")<\/code><\/pre>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0422\u043e, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u043e\u0434\u043d\u043e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u0434\u043e 7 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0445 \u0432\u0441\u0435\u0433\u043e, \u0430 \u0442\u043e \u0432\u0432\u0435\u0434\u0443\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 = \u20185\u2019 \u0438 \u0432\u044b\u0434\u0430\u0441\u0442 400\u0448\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u0432\u044b\u0434\u0430\u0447\u0443 1-\u0433\u043e \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430. <\/p>\n<p>\u0414\u043e\u043b\u0433\u043e \u043c\u0443\u0447\u0430\u043b\u0441\u044f \u0441 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0444\u0430\u0439\u043b \u0438 \u0433\u0434\u0435-\u0442\u043e \u0432 \u0443\u0433\u043e\u043b\u043a\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0437\u0440\u0435\u043d\u0438\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u043f\u0440\u043e\u043c\u0435\u043b\u044c\u043a\u043d\u0443\u0432\u0448\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442. \u0412\u043e\u0442 \u043c\u043d\u043e\u0433\u043e \u043a\u0442\u043e \u043f\u0440\u043e \u044d\u0442\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442, \u0430 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0435\u0442. \u0412\u041e\u0422 \u041e\u041d:\u00a0 <strong><em>y.publish(file)<\/em> + <em>y.get_meta(file).public_url<\/em><\/strong> (\u041a\u0442\u043e \u0436 \u0437\u043d\u0430\u043b \u0447\u0442\u043e public_url \u043d\u0430\u0434\u043e \u0441\u0437\u0430\u0434\u0438 \u043f\u0438\u0441\u0430\u0442\u044c). \u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"python\">@dp.message_handler(content_types=['text'])   ## \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u044e\u0437\u0435\u0440\u0430 async def get_text_messages(message: types.Message):     search_dir = get_base_bot(message.from_user.id)     report_to_txt('\\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\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-346202","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/346202","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=346202"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/346202\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=346202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=346202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=346202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}