{"id":1474,"date":"2020-12-03T10:59:01","date_gmt":"2020-12-03T10:59:01","guid":{"rendered":"https:\/\/www.pythontutorial.net\/?page_id=1474"},"modified":"2025-03-27T08:35:04","modified_gmt":"2025-03-27T08:35:04","slug":"tkinter-progressbar","status":"publish","type":"page","link":"https:\/\/www.pythontutorial.net\/tkinter\/tkinter-progressbar\/","title":{"rendered":"Tkinter Progressbar"},"content":{"rendered":"\n<p><strong>Summary<\/strong>: in this tutorial, you&#8217;ll learn about the Tkinter Progressbar widget.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id='introduction-to-the-tkinter-progressbar-widget'>Introduction to the Tkinter Progressbar widget <a href=\"#introduction-to-the-tkinter-progressbar-widget\" class=\"anchor\" id=\"introduction-to-the-tkinter-progressbar-widget\" title=\"Anchor for Introduction to the Tkinter Progressbar widget\">#<\/a><\/h2>\n\n\n\n<p>A Progressbar widget allows you to give feedback to the user about the progress of a long-running task. To create a Progressbar widget, you use the <code>ttk.Progressbar<\/code> class:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\">ttk.Progressbar(container, **options)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>The following shows the typical parameters to create a Progressbar widget:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\">ttk.Progressbar(container, orient, length, mode)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>In this syntax:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <code>container<\/code> is the parent component of the progressbar.<\/li>\n\n\n\n<li>The <code>orient<\/code> can be either <code>'horizontal'<\/code> or <code>'vertical'<\/code>.<\/li>\n\n\n\n<li>The <code>length<\/code> represents the width of a horizontal progress bar or the height of a vertical progress bar.<\/li>\n\n\n\n<li>The <code>mode<\/code> can be either <code>'determinate'<\/code> or <code>'indeterminate'<\/code>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id='the-indeterminate-mode'>The indeterminate mode <a href=\"#the-indeterminate-mode\" class=\"anchor\" id=\"the-indeterminate-mode\" title=\"Anchor for The indeterminate mode\">#<\/a><\/h3>\n\n\n\n<p>In the <code>indeterminate<\/code> mode, the progress bar shows an indicator that bounces back and forth between the ends of the widget.<\/p>\n\n\n\n<p>Typically, you use the <code>indeterminate<\/code> mode when you don&#8217;t know how to accurately measure the time that the long-running task takes to complete.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='the-determinate-mode'>The determinate mode <a href=\"#the-determinate-mode\" class=\"anchor\" id=\"the-determinate-mode\" title=\"Anchor for The determinate mode\">#<\/a><\/h3>\n\n\n\n<p>In the <code>determinate<\/code> mode, the progressbar shows an indicator from the beginning to the end of the widget.<\/p>\n\n\n\n<p>If you know how to measure relative progress, you can use the <code>determinate<\/code> mode.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='the-important-methods-of-a-progressbar'>The important methods of a progressbar <a href=\"#the-important-methods-of-a-progressbar\" class=\"anchor\" id=\"the-important-methods-of-a-progressbar\" title=\"Anchor for The important methods of a progressbar\">#<\/a><\/h3>\n\n\n\n<p>The Progressbar has the following important methods:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>start([interval])<\/code> &#8211; start moving the indicator every <code>interval<\/code> millisecond. The <code>interval<\/code> defaults to 50ms.<\/li>\n\n\n\n<li><code>step([delta])<\/code> &#8211; increase the indicator value by delta. The <code>delta<\/code> defaults to 1 millisecond.<\/li>\n\n\n\n<li><code>stop()<\/code> &#8211; stop moving the indicator of the progressbar.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id='tkinter-progressbar-examples'>Tkinter Progressbar examples <a href=\"#tkinter-progressbar-examples\" class=\"anchor\" id=\"tkinter-progressbar-examples\" title=\"Anchor for Tkinter Progressbar examples\">#<\/a><\/h2>\n\n\n\n<p>Let&#8217;s take some examples of creating progressbar widgets.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id='1-tkinter-progressbar-in-the-indeterminate-mode-example'>1) Tkinter Progressbar in the indeterminate mode example <a href=\"#1-tkinter-progressbar-in-the-indeterminate-mode-example\" class=\"anchor\" id=\"1-tkinter-progressbar-in-the-indeterminate-mode-example\" title=\"Anchor for 1) Tkinter Progressbar in the indeterminate mode example\">#<\/a><\/h3>\n\n\n\n<p>The following program illustrates how to create a progressbar in the <code>indeterminate<\/code> mode. If you click the <code>start<\/code> button, the progressbar starts moving the indicator. When you click the <code>stop<\/code> button, the progressbar stops moving the progress indicator:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\"><span class=\"hljs-keyword\">import<\/span> tkinter <span class=\"hljs-keyword\">as<\/span> tk\n<span class=\"hljs-keyword\">from<\/span> tkinter <span class=\"hljs-keyword\">import<\/span> ttk\n\n<span class=\"hljs-comment\"># root window<\/span>\nroot = tk.Tk()\nroot.geometry(<span class=\"hljs-string\">'300x120'<\/span>)\nroot.title(<span class=\"hljs-string\">'Progressbar Demo'<\/span>)\n\nroot.grid()\n\n<span class=\"hljs-comment\"># progressbar<\/span>\npb = ttk.Progressbar(\n    root,\n    orient=<span class=\"hljs-string\">'horizontal'<\/span>,\n    mode=<span class=\"hljs-string\">'indeterminate'<\/span>,\n    length=<span class=\"hljs-number\">280<\/span>\n)\n<span class=\"hljs-comment\"># place the progressbar<\/span>\npb.grid(column=<span class=\"hljs-number\">0<\/span>, row=<span class=\"hljs-number\">0<\/span>, columnspan=<span class=\"hljs-number\">2<\/span>, padx=<span class=\"hljs-number\">10<\/span>, pady=<span class=\"hljs-number\">20<\/span>)\n\n\n<span class=\"hljs-comment\"># start button<\/span>\nstart_button = ttk.Button(\n    root,\n    text=<span class=\"hljs-string\">'Start'<\/span>,\n    command=pb.start\n)\nstart_button.grid(column=<span class=\"hljs-number\">0<\/span>, row=<span class=\"hljs-number\">1<\/span>, padx=<span class=\"hljs-number\">10<\/span>, pady=<span class=\"hljs-number\">10<\/span>, sticky=tk.E)\n\n<span class=\"hljs-comment\"># stop button<\/span>\nstop_button = ttk.Button(\n    root,\n    text=<span class=\"hljs-string\">'Stop'<\/span>,\n    command=pb.stop\n)\nstop_button.grid(column=<span class=\"hljs-number\">1<\/span>, row=<span class=\"hljs-number\">1<\/span>, padx=<span class=\"hljs-number\">10<\/span>, pady=<span class=\"hljs-number\">10<\/span>, sticky=tk.W)\n\n\nroot.mainloop()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Output:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"302\" height=\"152\" src=\"https:\/\/www.pythontutorial.net\/wp-content\/uploads\/2020\/12\/Tkinter-Progressbar-indeterminate-example.png\" alt=\"Tkinter Progressbar\" class=\"wp-image-1478\" srcset=\"https:\/\/www.pythontutorial.net\/wp-content\/uploads\/2020\/12\/Tkinter-Progressbar-indeterminate-example.png 302w, https:\/\/www.pythontutorial.net\/wp-content\/uploads\/2020\/12\/Tkinter-Progressbar-indeterminate-example-300x151.png 300w\" sizes=\"auto, (max-width: 302px) 100vw, 302px\" \/><\/figure>\n<\/div>\n\n\n<p>How it works.<\/p>\n\n\n\n<p>First, create a horizontal progressbar whose length is 280 pixels and mode is <code>'indeterminate'<\/code>:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\">pb = ttk.Progressbar(\n    root,\n    orient=<span class=\"hljs-string\">'horizontal'<\/span>,\n    mode=<span class=\"hljs-string\">'indeterminate'<\/span>,\n    length=<span class=\"hljs-number\">280<\/span>\n)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Second, pass the <code>Progressbar.start<\/code> method to the command of the <code>start<\/code> button:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\">start_button = ttk.Button(\n    root,\n    text=<span class=\"hljs-string\">'Start'<\/span>,\n    command=pb.start\n)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Third, pass the <code>Progressbar.stop<\/code> method to the command of the <code>stop<\/code> button:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\">stop_button = ttk.Button(\n    root,\n    text=<span class=\"hljs-string\">'Stop'<\/span>,\n    command=pb.stop\n)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\" id='2-tkinter-progressbar-in-the-determinate-mode-example'>2) Tkinter Progressbar in the determinate mode example <a href=\"#2-tkinter-progressbar-in-the-determinate-mode-example\" class=\"anchor\" id=\"2-tkinter-progressbar-in-the-determinate-mode-example\" title=\"Anchor for 2) Tkinter Progressbar in the determinate mode example\">#<\/a><\/h3>\n\n\n\n<p>The following program shows how to use a progressbar in the <code>determinate<\/code> mode:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\"><span class=\"hljs-keyword\">from<\/span> tkinter <span class=\"hljs-keyword\">import<\/span> ttk\n<span class=\"hljs-keyword\">import<\/span> tkinter <span class=\"hljs-keyword\">as<\/span> tk\n<span class=\"hljs-keyword\">from<\/span> tkinter.messagebox <span class=\"hljs-keyword\">import<\/span> showinfo\n\n\n<span class=\"hljs-comment\"># root window<\/span>\nroot = tk.Tk()\nroot.geometry(<span class=\"hljs-string\">'300x120'<\/span>)\nroot.title(<span class=\"hljs-string\">'Progressbar Demo'<\/span>)\n\n\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title\">update_progress_label<\/span><span class=\"hljs-params\">()<\/span>:<\/span>\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-string\">f\"Current Progress: <span class=\"hljs-subst\">{pb&#91;<span class=\"hljs-string\">'value'<\/span>]}<\/span>%\"<\/span>\n\n\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title\">progress<\/span><span class=\"hljs-params\">()<\/span>:<\/span>\n    <span class=\"hljs-keyword\">if<\/span> pb&#91;<span class=\"hljs-string\">'value'<\/span>] &lt; <span class=\"hljs-number\">100<\/span>:\n        pb&#91;<span class=\"hljs-string\">'value'<\/span>] += <span class=\"hljs-number\">20<\/span>\n        value_label&#91;<span class=\"hljs-string\">'text'<\/span>] = update_progress_label()\n    <span class=\"hljs-keyword\">else<\/span>:\n        showinfo(message=<span class=\"hljs-string\">'The progress completed!'<\/span>)\n\n\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title\">stop<\/span><span class=\"hljs-params\">()<\/span>:<\/span>\n    pb.stop()\n    value_label&#91;<span class=\"hljs-string\">'text'<\/span>] = update_progress_label()\n\n\n<span class=\"hljs-comment\"># progressbar<\/span>\npb = ttk.Progressbar(\n    root,\n    orient=<span class=\"hljs-string\">'horizontal'<\/span>,\n    mode=<span class=\"hljs-string\">'determinate'<\/span>,\n    length=<span class=\"hljs-number\">280<\/span>\n)\n<span class=\"hljs-comment\"># place the progressbar<\/span>\npb.grid(column=<span class=\"hljs-number\">0<\/span>, row=<span class=\"hljs-number\">0<\/span>, columnspan=<span class=\"hljs-number\">2<\/span>, padx=<span class=\"hljs-number\">10<\/span>, pady=<span class=\"hljs-number\">20<\/span>)\n\n<span class=\"hljs-comment\"># label<\/span>\nvalue_label = ttk.Label(root, text=update_progress_label())\nvalue_label.grid(column=<span class=\"hljs-number\">0<\/span>, row=<span class=\"hljs-number\">1<\/span>, columnspan=<span class=\"hljs-number\">2<\/span>)\n\n<span class=\"hljs-comment\"># start button<\/span>\nstart_button = ttk.Button(\n    root,\n    text=<span class=\"hljs-string\">'Progress'<\/span>,\n    command=progress\n)\nstart_button.grid(column=<span class=\"hljs-number\">0<\/span>, row=<span class=\"hljs-number\">2<\/span>, padx=<span class=\"hljs-number\">10<\/span>, pady=<span class=\"hljs-number\">10<\/span>, sticky=tk.E)\n\nstop_button = ttk.Button(\n    root,\n    text=<span class=\"hljs-string\">'Stop'<\/span>,\n    command=stop\n)\nstop_button.grid(column=<span class=\"hljs-number\">1<\/span>, row=<span class=\"hljs-number\">2<\/span>, padx=<span class=\"hljs-number\">10<\/span>, pady=<span class=\"hljs-number\">10<\/span>, sticky=tk.W)\n\n\nroot.mainloop()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Output:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"302\" height=\"152\" src=\"https:\/\/www.pythontutorial.net\/wp-content\/uploads\/2020\/12\/Tkinter-Progressbar-determinate-example.png\" alt=\"\" class=\"wp-image-1479\" srcset=\"https:\/\/www.pythontutorial.net\/wp-content\/uploads\/2020\/12\/Tkinter-Progressbar-determinate-example.png 302w, https:\/\/www.pythontutorial.net\/wp-content\/uploads\/2020\/12\/Tkinter-Progressbar-determinate-example-300x151.png 300w\" sizes=\"auto, (max-width: 302px) 100vw, 302px\" \/><\/figure>\n<\/div>\n\n\n<p>How it works.<\/p>\n\n\n\n<p>First, create a progressbar in the <code>determinate<\/code> mode:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\">pb = ttk.Progressbar(\n    root,\n    orient=<span class=\"hljs-string\">'horizontal'<\/span>,\n    mode=<span class=\"hljs-string\">'determinate'<\/span>,\n    length=<span class=\"hljs-number\">280<\/span>\n)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Second, bind the <code>progress()<\/code> function to the click event of the <code>progress<\/code> button. Once the button is clicked, the value of the Progressbar is increased by 20% and the progress label is updated. Also, the program shows a message box indicating that the progress is completed if the value reaches 100:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-9\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\"><span class=\"hljs-function\"><span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title\">progress<\/span><span class=\"hljs-params\">()<\/span>:<\/span>\n    <span class=\"hljs-keyword\">if<\/span> pb&#91;<span class=\"hljs-string\">'value'<\/span>] &amp;lt; <span class=\"hljs-number\">100<\/span>:\n        pb&#91;<span class=\"hljs-string\">'value'<\/span>] += <span class=\"hljs-number\">20<\/span>\n        value_label&#91;<span class=\"hljs-string\">'text'<\/span>] = update_progress_label()\n    <span class=\"hljs-keyword\">else<\/span>:\n        showinfo(message=<span class=\"hljs-string\">'The progress completed!'<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-9\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Third, bind the <code>stop()<\/code> function to the click event of the <code>stop<\/code> button. Also, the stop() function wil updates the progress label.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-10\" data-shcb-language-name=\"Python\" data-shcb-language-slug=\"python\"><span><code class=\"hljs language-python\"><span class=\"hljs-function\"><span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title\">stop<\/span><span class=\"hljs-params\">()<\/span>:<\/span>\n    pb.stop()\n    value_label&#91;<span class=\"hljs-string\">'text'<\/span>] = update_progress_label()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-10\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Python<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">python<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Check out how to <a href=\"https:\/\/www.pythontutorial.net\/tkinter\/tkinter-thread-progressbar\/\" target=\"_blank\" rel=\"noreferrer noopener\">display the progress of downloading a file using a progressbar<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id='summary'>Summary <a href=\"#summary\" class=\"anchor\" id=\"summary\" title=\"Anchor for Summary\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the <code>ttk.Progressbar(container, orient, length, mode)<\/code> to create a progressbar.<\/li>\n\n\n\n<li>Use the <code>indeterminate<\/code> mode when the program cannot accurately know the relative progress to display.<\/li>\n\n\n\n<li>Use the <code>determinate<\/code> mode if you know how to measure the progress accurately.<\/li>\n\n\n\n<li>Use the <code>start()<\/code>, <code>step()<\/code>, and <code>stop()<\/code> methods to control the current value of the progressbar.<\/li>\n<\/ul>\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful ?<\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"1474\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pythontutorial.net\/tkinter\/tkinter-progressbar\/\"\n\t\t\t\tdata-post-title=\"Tkinter Progressbar\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"1474\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pythontutorial.net\/tkinter\/tkinter-progressbar\/\"\n\t\t\t\tdata-post-title=\"Tkinter Progressbar\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\t\t\t<input type=\"button\" name=\"wth-submit\" class=\"wth-btn wth-btn-submit\" id=\"wth-submit\" \/>\n\t\t\t<input type=\"button\" class=\"wth-btn wth-btn-cancel\" value=\"Cancel\" \/>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you&#8217;ll learn about the Tkinter Progressbar widget.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1232,"menu_order":26,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1474","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages\/1474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/comments?post=1474"}],"version-history":[{"count":2,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages\/1474\/revisions"}],"predecessor-version":[{"id":7079,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages\/1474\/revisions\/7079"}],"up":[{"embeddable":true,"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/pages\/1232"}],"wp:attachment":[{"href":"https:\/\/www.pythontutorial.net\/wp-json\/wp\/v2\/media?parent=1474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}