

{"id":97951,"date":"2021-07-08T09:00:14","date_gmt":"2021-07-08T03:30:14","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=97951"},"modified":"2026-06-01T11:59:58","modified_gmt":"2026-06-01T06:29:58","slug":"python-to-do-list","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/","title":{"rendered":"To Do List in Python with Source Code"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:2506,&quot;href&quot;:&quot;https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/1JnTtBHaQFPKQA1Yiz-qUpPzV8e0qqixA\\\/view?usp=drive_link&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20260601063030\\\/https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/1JnTtBHaQFPKQA1Yiz-qUpPzV8e0qqixA\\\/view?usp=drive_link&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-06-01 14:28:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-04 15:45:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-09 12:40:54&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-09 12:40:54&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p>The best way to master a programming language and start our career as a developer is to develop projects to solve real-life problems.<\/p>\n<p>In this article, we are going to solve one such real-life problem, the problem of keeping a list of tasks one might want to do in a day.<\/p>\n<p>Maintaining a To-do list always helps to organize the day and work better and make it the most productive.<\/p>\n<p>Let\u2019s start with the development of python To-do list.<\/p>\n<h3>To Do List in Python<\/h3>\n<p>We are going to implement a simple python to-do list in which we can add a task and delete it when it\u2019s done. We will be using a Python package called Tkinter which is a widely used Python GUI library. It is shipped with python, so we do not have to download or install it separately, we can just import and start with it.<\/p>\n<p>A GUI is basically a medium to interact and present information to the users. One of the major advantages of using Tkinter is that it works well on any machine be it windows, linux, or macOS.<\/p>\n<h3>Project Prerequisites<\/h3>\n<p>To work on to do list in python, basic understanding of python programming language and Tkinter, especially Tkinter widgets would be helpful. But don\u2019t worry as this article will provide an explanation of every line of code as we go about building this python project. You are free to choose any IDE of your choice (Pycharm, VSCode, etc.).<\/p>\n<h3>Download To-do List Python Project<\/h3>\n<p>Please download the source code of python to-do list: <a href=\"https:\/\/drive.google.com\/file\/d\/1JnTtBHaQFPKQA1Yiz-qUpPzV8e0qqixA\/view?usp=drive_link\"><strong>To Do List Python Project Code<\/strong><\/a><\/p>\n<h3>Steps to develop To-do List Project<\/h3>\n<ol>\n<li>Import the Tkinter library<\/li>\n<li>Create to-do list application window<\/li>\n<li>Create application layout<\/li>\n<li>Define to do list functions<\/li>\n<\/ol>\n<h4>1. Import the Tkinter library<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#importing packages \r\nfrom  tkinter import * \r\nimport tkinter.messagebox\r\n<\/pre>\n<p><strong>Explanation<\/strong><\/p>\n<ul>\n<li>In the first line, we are importing <strong>Tkinter<\/strong> which is basically a standard GUI library in Python and every possible object of it.<\/li>\n<li>In the second line, we are importing an important widget from the Tkinter library called the message box which is used to display messages in a python to-do list project.<\/li>\n<\/ul>\n<h4>2. Create To-do list application window<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">window=Tk()\r\n#giving a title\r\nwindow.title(\"DataFlair Python To-Do List APP\")\r\nwindow.mainloop()\r\n<\/pre>\n<p><strong>Explanation<\/strong><\/p>\n<ul>\n<li><strong>Tk()<\/strong> is a top-level widget which is used to create the main application window in which we will be building python to-do list application.<\/li>\n<li>The <strong>title()<\/strong> method is used to give a name to our application which is basically displayed at the top.<\/li>\n<li>The <strong>mainloop()<\/strong> method basically runs the Tkinter event loop, it runs and displays everything we have written in our code.<\/li>\n<\/ul>\n<h4>3. Create application layout<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#creating the initial window\r\nwindow=Tk()\r\n#giving a title\r\nwindow.title(\"DataFlair Python To-Do List APP\")\r\n\r\n\r\n#Frame widget to hold the listbox and the scrollbar\r\nframe_task=Frame(window)\r\nframe_task.pack()\r\n\r\n#to hold items in a listbox\r\nlistbox_task=Listbox(frame_task,bg=\"black\",fg=\"white\",height=15,width=50,font = \"Helvetica\")  \r\nlistbox_task.pack(side=tkinter.LEFT)\r\n\r\n#Scrolldown in case the total list exceeds the size of the given window \r\nscrollbar_task=Scrollbar(frame_task)\r\nscrollbar_task.pack(side=tkinter.RIGHT,fill=tkinter.Y)\r\nlistbox_task.config(yscrollcommand=scrollbar_task.set)\r\nscrollbar_task.config(command=listbox_task.yview)\r\n\r\n\r\n#Button widget \r\nentry_button=Button(window,text=\"Add task\",width=50,command=entertask)\r\nentry_button.pack(pady=3)\r\n\r\ndelete_button=Button(window,text=\"Delete selected task\",width=50,command=deletetask)\r\ndelete_button.pack(pady=3)\r\n\r\nmark_button=Button(window,text=\"Mark as completed \",width=50,command=markcompleted)\r\nmark_button.pack(pady=3)\r\n\r\n\r\nwindow.mainloop()\r\n<\/pre>\n<p><strong>Explanation<\/strong><\/p>\n<ul>\n<li><strong>Frame()<\/strong> method is basically a container widget within our main window and it is used to hold different widgets. It takes an argument that is our main window.<\/li>\n<li><strong>pack()<\/strong> method is a geometry manager which organizes the widget properly before placing it in the main window in a level order fashion until explicitly mentioned.<\/li>\n<li><strong>Listbox()<\/strong> widget is going to store all the tasks that we list in python to-do list application. We have given three arguments out of which the first one is where we want our widgets to be placed. If the height and width is not given, it takes the default value. Also it would take the default value as window, if the frame_task is not explicitly mentioned.<\/li>\n<li><strong>Scrollbar()<\/strong> widget is used to place a scroll bar in case the total number of lists exceeds the given dimension of the to-do list window. Like every other widget it takes an argument as to where it should be placed. We pack it to the RIGHT of the frame_task widget then we set it on the listbox_task widget and after that we configure it on the vertical axis given by the command listbox_task.yview.<\/li>\n<li><strong>Button()<\/strong> widget is used to create a button. We want the buttons in our main to-do list window so the input window is given. Then the text which will be displayed on the button is specified and at last in the command input a function is given which will be called when the button is clicked.<\/li>\n<\/ul>\n<h4>4. Define To-do list functions<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">def entertask():\r\n    #A new window to pop up to take input\r\n    input_text=\"\"\r\n    def add():\r\n        input_text=entry_task.get(1.0, \"end-1c\")\r\n        if input_text==\"\":\r\n            tkinter.messagebox.showwarning(title=\"Warning!\",message=\"Please Enter some Text\")\r\n        else:\r\n            listbox_task.insert(END,input_text)\r\n            #close the root1 window\r\n            root1.destroy()\r\n    root1=Tk()\r\n    root1.title(\"Add task\")\r\n    entry_task=Text(root1,width=40,height=4)\r\n    entry_task.pack()\r\n    button_temp=Button(root1,text=\"Add task\",command=add)\r\n    button_temp.pack()\r\n    root1.mainloop()\r\n    \r\n\r\n#function to facilitate the delete task from the Listbox\r\ndef deletetask():\r\n    #selects the selected item and then deletes it \r\n    selected=listbox_task.curselection()\r\n    listbox_task.delete(selected[0])\r\n#Executes this to mark completed \r\n\r\ndef markcompleted():\r\n    marked=listbox_task.curselection()\r\n    temp=marked[0]\r\n    #store the text of selected item in a string\r\n    temp_marked=listbox_task.get(marked)\r\n    #update it \r\n    temp_marked=temp_marked+\" \u2714\"\r\n    #delete it then insert it \r\n    listbox_task.delete(temp)\r\n    listbox_task.insert(temp,temp_marked)\r\n<\/pre>\n<p><strong>Explanation<\/strong><\/p>\n<ul>\n<li>A good coding practice is to place all the functions in the beginning of the code. These functions will be called when the buttons are clicked and will perform the work accordingly.<\/li>\n<li><strong>entertask()<\/strong> is used to add a task to the listbox. When this function is called another window opens in which we can write our task and it is added to the listbox. <strong>add()<\/strong> function is called when the Add task button is clicked in the opened window.<br \/>\nEntered input is stored in input_text, if the variable is empty then a warning message is displayed else it is inserted in the listbox of python to-do list.<\/li>\n<li><strong>deletetask()<\/strong> is used to delete a selected item, listbox_task.curselection() function returns a tuple in which the first element is the index of the selected item. Then, <strong>delete()<\/strong> function is used to delete the item corresponding to the index in python to do list application<\/li>\n<li><strong>markcompleted()<\/strong> is used to mark an item in to-do list as completed. In this function, we store the contents of the selected task in a variable called temp_marked.<br \/>\nWe update the value by adding a &#8221; \u2714&#8221; at the end. After this, the <strong>delete()<\/strong> function deletes the selected task, and <strong>insert()<\/strong> function inserts the updated value at that particular index.<\/li>\n<\/ul>\n<h3>Python To Do List Output<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-97953\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list.gif\" alt=\"python to do list\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list.gif 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list-768x412.gif 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list-1536x824.gif 1536w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list-720x386.gif 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list-520x279.gif 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-to-do-list-320x172.gif 320w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>Congratulations! We have successfully taken our first step to become a python developer and completed python to do list project<\/p>\n<p>We learned about Tkinter, an important GUI library in Python, and various widgets that it offers to manipulate and get the desired tasks done through this python to-do list project. We also learned about the basics of python programming and in this way we have been successful in building our very own To-do list app.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The best way to master a programming language and start our career as a developer is to develop projects to solve real-life problems. In this article, we are going to solve one such real-life&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":97954,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[21082,24719,22641],"class_list":["post-97951","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python-project","tag-python-to-do-list","tag-to-do-list"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>To Do List in Python with Source Code - DataFlair<\/title>\n<meta name=\"description\" content=\"Create a To Do List Project in Python with Tkinter and other basic concepts of python. Users can add, delete, mark done their tasks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/python-to-do-list\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"To Do List in Python with Source Code - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Create a To Do List Project in Python with Tkinter and other basic concepts of python. Users can add, delete, mark done their tasks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/python-to-do-list\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-08T03:30:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-01T06:29:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-to-do-list.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"To Do List in Python with Source Code - DataFlair","description":"Create a To Do List Project in Python with Tkinter and other basic concepts of python. Users can add, delete, mark done their tasks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/","og_locale":"en_US","og_type":"article","og_title":"To Do List in Python with Source Code - DataFlair","og_description":"Create a To Do List Project in Python with Tkinter and other basic concepts of python. Users can add, delete, mark done their tasks.","og_url":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-07-08T03:30:14+00:00","article_modified_time":"2026-06-01T06:29:58+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-to-do-list.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"To Do List in Python with Source Code","datePublished":"2021-07-08T03:30:14+00:00","dateModified":"2026-06-01T06:29:58+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/"},"wordCount":982,"commentCount":8,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-to-do-list.jpg","keywords":["Python project","python to do list","to do list"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/python-to-do-list\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/","url":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/","name":"To Do List in Python with Source Code - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-to-do-list.jpg","datePublished":"2021-07-08T03:30:14+00:00","dateModified":"2026-06-01T06:29:58+00:00","description":"Create a To Do List Project in Python with Tkinter and other basic concepts of python. Users can add, delete, mark done their tasks.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/python-to-do-list\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-to-do-list.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-to-do-list.jpg","width":1200,"height":628,"caption":"python project to do list"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/python-to-do-list\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Python Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/python\/"},{"@type":"ListItem","position":3,"name":"To Do List in Python with Source Code"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/97951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=97951"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/97951\/revisions"}],"predecessor-version":[{"id":148575,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/97951\/revisions\/148575"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/97954"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=97951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=97951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=97951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}