{"id":391476,"date":"2024-06-29T09:50:48","date_gmt":"2024-06-29T09:50:48","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=391476"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=391476","title":{"rendered":"<span>\u041c\u043d\u043e\u0433\u043e\u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u0434\u043b\u044f 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<h2>\u041c\u043e\u0442\u0438\u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f &#8230;<\/h2>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0443\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043d\u0430\u0436\u0430\u0442\u0438\u0439 \u043a\u043b\u0430\u0432\u0438\u0448 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u0432 GUI \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u043e\u0440\u043c \u043d\u0430 \u0432\u0435\u0431 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445. \u0412 \u043e\u0431\u0449\u0435\u043c \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u0446\u0438\u043a\u043b \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0445\u043e\u0440\u043e\u0448\u043e \u0431\u044b \u0432\u0438\u0434\u0435\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u043a\u043e\u0433\u0434\u0430 \u0438\u0434\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 <code>print()<\/code> \u043d\u043e \u043e\u043d \u043f\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e, \u0438\u043b\u0438 <code>logging()<\/code> \u043d\u043e \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c, \u0447\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 <code>console-debugger<\/code>, \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b, \u0441\u0442\u0438\u043b\u044c \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b, \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0432 \u0440\u0443\u0447\u043d\u0443\u044e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u043b\u0435\u0436\u0435\u043d\u0438\u0435 \u0437\u0430 \u0444\u0430\u0439\u043b\u043e\u043c, \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0436\u0435\u043d\u0438\u0435 \u0437\u0430 \u0444\u0430\u0439\u043b\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u042f \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u043f\u043b\u044e\u0441\u044b \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u043e \u043e\u043d\u0438 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433.<\/p>\n<h2>Console-debugger<\/h2>\n<p>\u042d\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0430 <code>Python<\/code> \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043a\u043e\u043d. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/denisxab\/console_debugger\" rel=\"noopener noreferrer nofollow\">GitHub<\/a> <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0447\u0435\u0440\u0435\u0437  <a href=\"https:\/\/pypi.org\/project\/console-debugger\/\" rel=\"noopener noreferrer nofollow\">pip<\/a><\/p>\n<pre><code class=\"bash\">pip install console-debugger<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2fa\/dde\/3f4\/2fadde3f4ec26aa7eea5e4ab68ef4783.png\" alt=\"\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b Manjaro Linux\" title=\"\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b Manjaro Linux\" width=\"1258\" height=\"1330\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2fa\/dde\/3f4\/2fadde3f4ec26aa7eea5e4ab68ef4783.png\"\/><figcaption>\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b Manjaro Linux<\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b5e\/2e0\/e3d\/b5e2e0e3d43faa68d0480b636fa5a69e.png\" alt=\"\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b PyCharm \" title=\"\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b PyCharm \" width=\"1260\" height=\"880\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b5e\/2e0\/e3d\/b5e2e0e3d43faa68d0480b636fa5a69e.png\"\/><figcaption>\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b PyCharm <\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4aa\/143\/853\/4aa143853e12d3bb0a012dac2d7f70d0.png\" alt=\"Gui Tkinter\" title=\"Gui Tkinter\" width=\"1149\" height=\"1286\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4aa\/143\/853\/4aa143853e12d3bb0a012dac2d7f70d0.png\"\/><figcaption>Gui Tkinter<\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<pre><code class=\"python\">import random import string  random_word = lambda: \"\".join(random.choice(string.ascii_letters) for j in range(random.randint(1, 40)))  from console_debugger import Debugger, printD from console_debugger.helpful.template_obj import dDEBUG, dWARNING, dINFO  if __name__ == '__main__': a = Debugger(**dDEBUG) b = Debugger(**dINFO) c = Debugger(**dEXCEPTION)  Debugger.GlobalManager(typePrint=\"socket\")  for x in range(10): print(random_word(), file=a) print(random_word(), file=b) print(random_word(), file=c) <\/code><\/pre>\n<pre><code class=\"python\">import random import string  random_word = lambda: \"\".join(random.choice(string.ascii_letters) for j in range(random.randint(1, 40)))  from console_debugger import Debugger, printD from console_debugger.helpful.template_obj import dDEBUG, dWARNING, dINFO  if __name__ == '__main__': a = Debugger(**dDEBUG) b = Debugger(**dINFO) c = Debugger(**dEXCEPTION)  Debugger.GlobalManager(typePrint=\"socket\")  for x in range(10): printD(a,\"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 1\", \"\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 1\",random_word()) printD(b,\"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 2\", \"\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 2\",random_word()) printD(c,\"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 3\", \"\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 3\",random_word())<\/code><\/pre>\n<p>\u0422\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u0438\u043c\u0435\u043d\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 <code>str<\/code><\/p>\n<pre><code class=\"python\">from console_debugger import Debugger, printD from console_debugger.helpful.template_obj import dDEBUG, dWARNING, dINFO  if __name__ == '__main__': a = Debugger(**dDEBUG) b = Debugger(**dINFO) c = Debugger(**dEXCEPTION)  Debugger.GlobalManager(typePrint=\"socket\")  TracingName1 = \"1\" TracingName2 = [\"1\"] TracingName3 = \"1\",  for x in range(10): printD(a, TracingName1) printD(b, TracingName2) printD(c, TracingName3)<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dc4\/fb3\/de1\/dc4fb3de1308f937b937f508a8d8378d.png\" width=\"1248\" height=\"1328\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dc4\/fb3\/de1\/dc4fb3de1308f937b937f508a8d8378d.png\"\/><figcaption><\/figcaption><\/figure>\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\/articles\/578772\/\"> https:\/\/habr.com\/ru\/articles\/578772\/<\/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<h2>\u041c\u043e\u0442\u0438\u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f &#8230;<\/h2>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0443\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043d\u0430\u0436\u0430\u0442\u0438\u0439 \u043a\u043b\u0430\u0432\u0438\u0448 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u0432 GUI \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u043e\u0440\u043c \u043d\u0430 \u0432\u0435\u0431 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445. \u0412 \u043e\u0431\u0449\u0435\u043c \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u0446\u0438\u043a\u043b \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0445\u043e\u0440\u043e\u0448\u043e \u0431\u044b \u0432\u0438\u0434\u0435\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u043a\u043e\u0433\u0434\u0430 \u0438\u0434\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 <code>print()<\/code> \u043d\u043e \u043e\u043d \u043f\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e, \u0438\u043b\u0438 <code>logging()<\/code> \u043d\u043e \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c, \u0447\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 <code>console-debugger<\/code>, \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b, \u0441\u0442\u0438\u043b\u044c \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b, \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0432 \u0440\u0443\u0447\u043d\u0443\u044e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u043b\u0435\u0436\u0435\u043d\u0438\u0435 \u0437\u0430 \u0444\u0430\u0439\u043b\u043e\u043c, \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0436\u0435\u043d\u0438\u0435 \u0437\u0430 \u0444\u0430\u0439\u043b\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u042f \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u043f\u043b\u044e\u0441\u044b \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u043e \u043e\u043d\u0438 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433.<\/p>\n<h2>Console-debugger<\/h2>\n<p>\u042d\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0430 <code>Python<\/code> \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043a\u043e\u043d. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/denisxab\/console_debugger\" rel=\"noopener noreferrer nofollow\">GitHub<\/a> <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0447\u0435\u0440\u0435\u0437  <a href=\"https:\/\/pypi.org\/project\/console-debugger\/\" rel=\"noopener noreferrer nofollow\">pip<\/a><\/p>\n<pre><code class=\"bash\">pip install console-debugger<\/code><\/pre>\n<figure class=\"full-width\"><figcaption>\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b Manjaro Linux<\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption>\u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b PyCharm <\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption>Gui Tkinter<\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<pre><code class=\"python\">import random import string  random_word = lambda: \"\".join(random.choice(string.ascii_letters) for j in range(random.randint(1, 40)))  from console_debugger import Debugger, printD from console_debugger.helpful.template_obj import dDEBUG, dWARNING, dINFO  if __name__ == '__main__': a = Debugger(**dDEBUG) b = Debugger(**dINFO) c = Debugger(**dEXCEPTION)  Debugger.GlobalManager(typePrint=\"socket\")  for x in range(10): print(random_word(), file=a) print(random_word(), file=b) print(random_word(), file=c) <\/code><\/pre>\n<pre><code class=\"python\">import random import string  random_word = lambda: \"\".join(random.choice(string.ascii_letters) for j in range(random.randint(1, 40)))  from console_debugger import Debugger, printD from console_debugger.helpful.template_obj import dDEBUG, dWARNING, dINFO  if __name__ == '__main__': a = Debugger(**dDEBUG) b = Debugger(**dINFO) c = Debugger(**dEXCEPTION)  Debugger.GlobalManager(typePrint=\"socket\")  for x in range(10): printD(a,\"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 1\", \"\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 1\",random_word()) printD(b,\"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 2\", \"\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 2\",random_word()) printD(c,\"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 3\", \"\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 3\",random_word())<\/code><\/pre>\n<p>\u0422\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u0438\u043c\u0435\u043d\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 <code>str<\/code><\/p>\n<pre><code class=\"python\">from console_debugger import Debugger, printD from console_debugger.helpful.template_obj import dDEBUG, dWARNING, dINFO  if __name__ == '__main__': a = Debugger(**dDEBUG) b = Debugger(**dINFO) c = Debugger(**dEXCEPTION)  Debugger.GlobalManager(typePrint=\"socket\")  TracingName1 = \"1\" TracingName2 = [\"1\"] TracingName3 = \"1\",  for x in range(10): printD(a, TracingName1) printD(b, TracingName2) printD(c, TracingName3)<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\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\/articles\/578772\/\"> https:\/\/habr.com\/ru\/articles\/578772\/<\/a><br \/><\/br><\/br><\/p>\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-391476","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/391476","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=391476"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/391476\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=391476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=391476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=391476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}