{"id":512,"date":"2021-07-05T11:12:44","date_gmt":"2021-07-05T11:12:44","guid":{"rendered":"https:\/\/www.bearloga.space\/?page_id=512"},"modified":"2021-07-05T11:12:45","modified_gmt":"2021-07-05T11:12:45","slug":"modul-tkinter-ttk","status":"publish","type":"page","link":"https:\/\/www.bearloga.space\/uk\/modul-tkinter-ttk\/","title":{"rendered":"\u041c\u043e\u0434\u0443\u043b\u044c tkinter.ttk"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0412 \u0441\u043e\u0441\u0442\u0430\u0432 \u043f\u0430\u043a\u0435\u0442\u0430&nbsp;<code>tkinter<\/code>&nbsp;\u0432\u0445\u043e\u0434\u0438\u0442 \u043c\u043e\u0434\u0443\u043b\u044c&nbsp;<code>ttk<\/code>, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043a\u043b\u0430\u0441\u0441\u044b \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432\u0438\u0434\u0436\u0435\u0442. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0445 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043a\u043e\u0434\u0435 \u043d\u0438\u0436\u0435 \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0432 \u043e\u043a\u043d\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u0440 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u0435\u0439&nbsp;<code>tkinter<\/code>&nbsp;\u0438&nbsp;<code>tkinter.ttk<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>import<\/strong> tkinter <strong>as<\/strong> tk\n<strong>import<\/strong> tkinter.ttk <strong>as<\/strong> ttk\n&nbsp;\nroot = tk.Tk()\n&nbsp;\ntk.Button(text=\"Hello\").pack()\nttk.Button(text=\"Hello\").pack()\n&nbsp;\ntk.Checkbutton(text=\"Hello\").pack()\nttk.Checkbutton(text=\"Hello\").pack()\n&nbsp;\ntk.Radiobutton(text=\"Hello\").pack()\nttk.Radiobutton(text=\"Hello\").pack()\n&nbsp;\nroot.mainloop()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 Ubuntu \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/younglinux.info\/images\/python\/tkinter\/tkinter_vs_ttk.png\" alt=\"\u0412\u0438\u0434\u0436\u0435\u0442\u044b tkinter \u0438 ttk\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u043c\u0435\u043d\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442, \u043c\u044b \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0438 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0435\u043d \u043d\u0435 \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u043b\u0438\u0441\u044c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0438\u043c\u0435\u043d\u0430 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u044b) \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0436\u0435 \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u043c\u043e\u0434\u0443\u043b\u044f&nbsp;<code>tkinter<\/code>, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0435\u0441\u0442\u044c \u0432&nbsp;<code>tkinter.ttk<\/code>, \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d \u043a\u0430\u043a \u043e\u0434\u043d\u043e\u0433\u043e, \u0442\u0430\u043a \u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>from<\/strong> tkinter <strong>import<\/strong> *\n<strong>from<\/strong> tkinter.ttk <strong>import<\/strong> *\n&nbsp;\nroot = Tk()\n&nbsp;\nb = Button(text=\"Hello\")\nb.pack()\n&nbsp;\nt = Text(width=10, height=5)\nt.pack()\n&nbsp;\n<strong>print<\/strong>(root.__class__)\n<strong>print<\/strong>(b.__class__)\n<strong>print<\/strong>(t.__class__)\n&nbsp;\nroot.mainloop()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d&nbsp;<code>tkinter.ttk<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432\u0442\u043e\u0440\u044b\u043c, \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u044c \u0438\u043c\u0435\u043d&nbsp;<code>tkinter<\/code>. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435&nbsp;<code>Button(text=\"Hello\")<\/code>&nbsp;\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043a\u043b\u0430\u0441\u0441\u0430&nbsp;<code>Button<\/code>, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0439\u0441\u044f \u0432 \u043c\u043e\u0434\u0443\u043b\u0435&nbsp;<code>tkinter.ttk<\/code>. \u0412 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u044d\u0442\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435 \u043d\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u043e\u0432&nbsp;<code>Tk<\/code>&nbsp;\u0438&nbsp;<code>Text<\/code>. \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u044b \u044d\u0442\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043e\u0442 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432&nbsp;<code>tkinter<\/code>. \u0412 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;class 'tkinter.Tk'&gt;\n&lt;class 'tkinter.ttk.Button'&gt;\n&lt;class 'tkinter.Text'&gt;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0430\u043a \u0443\u0436\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u0430\u0431\u043e\u0440\u044b \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u043e\u0431\u043e\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043d\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f. \u0415\u0441\u0442\u044c \u043e\u0431\u0449\u0438\u0435 (\u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a&nbsp;<code>Label<\/code>,&nbsp;<code>Button<\/code>,&nbsp;<code>Entry<\/code>), \u0435\u0441\u0442\u044c \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f&nbsp;<code>tkinter<\/code>&nbsp;(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp;<code>Listbox<\/code>&nbsp;\u0438&nbsp;<code>Canvas<\/code>) \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f&nbsp;<code>ttk<\/code>&nbsp;(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp;<code>Combobox<\/code>,&nbsp;<code>Notebook<\/code>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432&nbsp;<code>ttk<\/code>&nbsp;\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0442\u0430\u043a \u043a\u0430\u043a \u0432&nbsp;<code>tkinter<\/code>. \u0415\u0441\u043b\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0441\u043e\u0447\u0435\u0442\u0430\u044e\u0442\u0441\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0441\u0440\u0430\u0437\u0443 \u043e\u0431\u043e\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u043a\u043e\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043c\u0435\u043d\u0435\u0435 \u044f\u0441\u043d\u044b\u043c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0438\u0437&nbsp;<code>tkinter.ttk<\/code>&nbsp;\u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430&nbsp;<code>ttk.Style<\/code>. \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0438\u0434\u0435\u044f&nbsp;<code>ttk<\/code>&nbsp;\u2013 \u043e\u0442\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043e\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0435\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0438, \u043d\u0435 \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u044f \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u0445 \u0438\u043c\u0435\u043d, \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u043a\u043d\u043e\u043f\u043e\u043a.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>from<\/strong> tkinter <strong>import<\/strong> *\n<strong>from<\/strong> tkinter <strong>import<\/strong> ttk\n&nbsp;\nroot = Tk()\n&nbsp;\nb_tk = Button(text=\"Hello Tk\")\nb_ttk = ttk.Button(text=\"Hello Ttk\")\n&nbsp;\nb_tk.config(background=\"#b00\",\n            foreground=\"#fff\")\n&nbsp;\nstyle = ttk.Style()\nstyle.configure(\"TButton\",\n                background=\"#0b0\",\n                foreground=\"#fff\")\n&nbsp;\nb_tk.pack(padx=10, pady=10)\nb_ttk.pack(padx=10, pady=10)\nroot.mainloop()<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/younglinux.info\/images\/python\/tkinter\/style.png\" alt=\"\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043a\u043d\u043e\u043f\u043e\u043a tkinter.Button \u0438 ttk.Button\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u041c\u044b \u0437\u0430\u0434\u0430\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430&nbsp;<code>Button<\/code>&nbsp;\u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f&nbsp;<code>tkinter<\/code>&nbsp;\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 \u043a\u043d\u043e\u043f\u043a\u0438&nbsp;<code>config<\/code>. \u041e\u0434\u043d\u0430\u043a\u043e \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043f\u0435\u0440\u0435\u0434\u0430\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">b_tk = Button(text=\"Hello Tk\",\n              background=\"#b00\",\n              foreground=\"#fff\")<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0442\u0430\u043a \u043a\u043d\u043e\u043f\u043a\u0443 \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f&nbsp;<code>ttk<\/code>&nbsp;\u043d\u0435\u043b\u044c\u0437\u044f. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430&nbsp;<code>Style<\/code>&nbsp;\u0438 \u0443\u0436\u0435 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043a\u043e\u0434\u0435 \u0432\u044b\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434&nbsp;<code>configure<\/code>. \u0417\u0434\u0435\u0441\u044c \u043f\u0435\u0440\u0432\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0432 \u043d\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0438\u043c\u044f \u0441\u0442\u0438\u043b\u044f (<code>TButton<\/code>), \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0438. \u0414\u043b\u044f \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u0441\u0442\u0438\u043b\u044f \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u043c&nbsp;<code>winfo_class<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u2026 \n<strong>print<\/strong>(ttk.Label().winfo_class())\n<strong>print<\/strong>(ttk.Button().winfo_class())\n\u2026 <\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u044b\u0432\u043e\u0434:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">TLabel\nTButton\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043d\u0443\u0436\u043d\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043d\u043e\u043f\u043a\u0438 \u0440\u0430\u0437\u043d\u043e\u0433\u043e \u0441\u0442\u0438\u043b\u044f? \u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u0442\u0438\u043b\u044c, \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0432 \u0435\u0433\u043e \u043e\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e, \u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043b\u0438\u0448\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>from<\/strong> tkinter <strong>import<\/strong> *\n<strong>from<\/strong> tkinter.ttk <strong>import<\/strong> *\n&nbsp;\nroot = Tk()\n&nbsp;\nstyle = Style()\nstyle.configure(\"G.TButton\", foreground=\"green\")\n&nbsp;\nButton(text=\"First\", style=\"G.TButton\").pack()\nButton(text=\"Second\").pack()\n&nbsp;\nroot.mainloop()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f &#8220;G&#8221;. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0447\u043a\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u0441\u0442\u0438\u043b\u044c&nbsp;<code>TButton<\/code>. \u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043f\u0435\u0440\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0446\u0438\u044e&nbsp;<code>style<\/code>&nbsp;\u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0439 \u0441\u0442\u0438\u043b\u044c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u0438\u043b\u044c&nbsp;<code>TButton<\/code>. \u041c\u044b \u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0438, \u0445\u043e\u0442\u044f \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043e\u0441\u0442\u0440\u043e\u0439 \u0438\u043b\u0438 \u0447\u0430\u0441\u0442\u043e\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u043d\u0435\u0442. \u041d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0438 \u0435\u0434\u0438\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0439 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435. \u042d\u0442\u043e \u0434\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432&nbsp;<code>ttk<\/code>&nbsp;\u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0442\u0435\u043c\u044b. \u041c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b, \u0430 \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0442\u0435\u043c\u0443 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;<code>theme_names<\/code>&nbsp;\u0438&nbsp;<code>theme_use<\/code>&nbsp;\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0435\u043c (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0432\u0430\u0448\u0435\u0439 \u041e\u0421) \u0438 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0442\u0435\u043c\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>from<\/strong> tkinter.ttk <strong>import<\/strong> *\n&nbsp;\nstyle = Style()\n<strong>print<\/strong>(style.theme_names())\n<strong>print<\/strong>(style.theme_use())<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u044b\u0432\u043e\u0434:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">('clam', 'alt', 'default', 'classic')\ndefault\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0432 \u043c\u0435\u0442\u043e\u0434&nbsp;<code>theme_use<\/code>&nbsp;\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043c\u044b, \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0430. \u0412 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043d\u0438\u0436\u0435 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043b\u0430\u0432\u0438\u0448\u0438&nbsp;Enter&nbsp;\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043c\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>from<\/strong> tkinter <strong>import<\/strong> *\n<strong>from<\/strong> tkinter.ttk <strong>import<\/strong> *\n&nbsp;\nroot = Tk()\nstyle = Style()\n&nbsp;\ne = Entry(justify='center')\ne.pack()\nButton(text=\"Hello\").pack()\nLabel(text=\"Hello\").pack()\n&nbsp;\nthemes = style.theme_names()\ni = 0\n&nbsp;\n&nbsp;\n<strong>def<\/strong> theme_next(event):\n    <strong>global<\/strong> i\n    style.theme_use(themes[i])\n    e.delete(0, END)\n    e.insert(0, themes[i])\n    <strong>if<\/strong> i &lt; len(themes)-1:\n        i += 1\n    <strong>else<\/strong>:\n        i = 0\n&nbsp;\n&nbsp;\nroot.bind('&lt;Return&gt;', theme_next)\nroot.mainloop()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0432&nbsp;<code>ttk<\/code>&nbsp;\u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u043c&nbsp;<code>tkinter<\/code>. \u0412\u044b\u0448\u0435 \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441 \u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0438 \u0437\u0435\u043b\u0435\u043d\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0446\u0438\u0439&nbsp;<code>foreground<\/code>&nbsp;\u0438&nbsp;<code>background<\/code>&nbsp;\u043c\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0446\u0432\u0435\u0442\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u0444\u043e\u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0430 \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u043a\u0443\u0440\u0441\u043e\u0440\u043e\u043c \u043c\u044b\u0448\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0430 \u043d\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u0430.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0446\u0432\u0435\u0442\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u0440\u0438 \u043d\u0430\u0432\u043e\u0434\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430, \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043e\u043a&nbsp;<code>tkinter<\/code>&nbsp;\u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0446\u0438\u0438&nbsp;<code>activeforeground<\/code>&nbsp;\u0438&nbsp;<code>activebackground<\/code>. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0434\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0438\u0437&nbsp;<code>ttk<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u2026 \nb_tk.config(background=\"red\",\n            foreground=\"white\",\n            activebackground=\"orange\",\n            activeforeground=\"white\")\n&nbsp;\nstyle = ttk.Style()\nstyle.configure(\"TButton\",\n                background=\"green\",\n                foreground=\"white\",\n                activebackground=\"lightgreen\",\n                activeforeground=\"black\")\n\u2026 <\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u043e\u0434 \u0432\u044b\u0448\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a. \u041e\u0434\u043d\u0430\u043a\u043e \u0444\u043e\u043d \u0437\u0435\u043b\u0435\u043d\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0438 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043d\u0435\u0435 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0441\u0432\u0435\u0442\u043b\u043e-\u0441\u0435\u0440\u044b\u043c, \u043e\u043d \u043d\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 \u0441\u0432\u0435\u0442\u043b\u043e-\u0437\u0435\u043b\u0435\u043d\u044b\u043c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u043c\u0435\u0441\u0442\u043e \u043c\u0435\u0442\u043e\u0434\u0430&nbsp;<code>configure<\/code>&nbsp;\u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 map \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0442\u0438\u043f\u0430&nbsp;<code>Style<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>from<\/strong> tkinter <strong>import<\/strong> *\n<strong>from<\/strong> tkinter.ttk <strong>import<\/strong> *\n&nbsp;\nroot = Tk()\n&nbsp;\nButton(text=\"Hello World\").pack(\n    padx=40, pady=40,\n    ipadx=20, ipady=20\n)\n&nbsp;\nst = Style()\nst.map('TButton',\n       foreground=[('!active', 'purple'),\n                   ('pressed', 'orange'),\n                   ('active', 'red')],\n       background=[\n                   ('pressed', 'brown'),\n                   ('active', 'white')]\n       )\n&nbsp;\nroot.mainloop()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0434\u0432\u0443\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432: \u0442\u0435\u043a\u0441\u0442\u0430 (<code>foreground<\/code>) \u0438 \u0444\u043e\u043d\u0430 (<code>background<\/code>). \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0435\u0441\u0442\u044c \u0442\u0440\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f: \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e, \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0438 \u043d\u0430\u0436\u0430\u0442\u043e.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0443\u044e \u0438\u0437 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 (<code>Combobox<\/code>) \u0438 \u0445\u043e\u043b\u0441\u0442\u0430. \u0412 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u044e\u0442\u0441\u044f \u0446\u0432\u0435\u0442\u0430. \u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0442\u043e\u0433\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0446\u0432\u0435\u0442 \u0445\u043e\u043b\u0441\u0442\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0421\u043f\u0438\u0441\u043e\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0432\u00a0<code>Combobox<\/code>\u00a0\u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0446\u0438\u044e\u00a0<code>values<\/code>.<\/li><li>\u041c\u0435\u0442\u043e\u0434\u00a0<code>current<\/code>\u00a0\u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430\u00a0<code>Combobox<\/code>\u00a0\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e. \u041c\u0435\u0442\u043e\u0434 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0438\u043d\u0434\u0435\u043a\u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.<\/li><li>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 \u0441\u043c\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u2013\u00a0<code>'&lt;&lt;ComboboxSelected>>'<\/code><\/li><li>\u041c\u0435\u0442\u043e\u0434\u00a0<code>get<\/code>\u00a0\u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430\u00a0<code>Combobox<\/code>\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a:<a href=\"https:\/\/younglinux.info\/\" target=\"_blank\" rel=\"noopener\">https:\/\/younglinux.info\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u0441\u043e\u0441\u0442\u0430\u0432 \u043f\u0430\u043a\u0435\u0442\u0430&nbsp;tkinter&nbsp;\u0432\u0445\u043e\u0434\u0438\u0442 \u043c\u043e\u0434\u0443\u043b\u044c&nbsp;ttk, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043a\u043b\u0430\u0441\u0441\u044b \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432\u0438\u0434\u0436\u0435\u0442. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0445 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-512","page","type-page","status-publish","hentry","category-python"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/comments?post=512"}],"version-history":[{"count":0,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/512\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/media?parent=512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/categories?post=512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/tags?post=512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}