

{"id":98573,"date":"2021-07-27T09:00:36","date_gmt":"2021-07-27T03:30:36","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=98573"},"modified":"2026-06-01T12:50:04","modified_gmt":"2026-06-01T07:20:04","slug":"python-file-explorer-project","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/","title":{"rendered":"Create File Explorer in Python using Tkinter"},"content":{"rendered":"<p>In this Python project, we will build a GUI-based File Explorer using the Tkinter, OS, and shutil modules of Python. It is a beginner-level project, and you will need some brief knowledge about all the libraries and with this project, you will get to apply them in real life. Let\u2019s get started!\ud83d\ude0a<\/p>\n<h3>About File Managers:<\/h3>\n<p>A file manager is a software program that helps the user manage all kinds of files in a computer. The most common type of file manager is the File Explorer, which is present in all the Operating Systems.<\/p>\n<h3>About the python file explorer project:<\/h3>\n<p>The objective of this is to create a GUI-based File Manager. To build this, you will need basic understanding of Tkinter, OS, and shutil libraries.<\/p>\n<h3>Project Prerequisites:<\/h3>\n<p>To build this python file explorer project, we will need the following libraries:<\/p>\n<p><strong>1. Tkinter &#8211;<\/strong> To create the GUI window.<br \/>\n<strong>2. OS &#8211;<\/strong> To perform operations on a file and it\u2019s path.<br \/>\n<strong>3. shutil &#8211;<\/strong> To copy or move a file.<\/p>\n<p>All the libraries come pre-installed with Python.<\/p>\n<h3>Download File Explorer Python Project<\/h3>\n<p>Please download the source code of python file explorer: <a href=\"https:\/\/drive.google.com\/file\/d\/1gfONh-WIvxUlQ9VDTWvracYU9iwbyuZ4\/view?usp=drive_link\">File Explorer Python Code<\/a><\/p>\n<h3>Project File Structure<\/h3>\n<p>Here are the steps you will need to execute to build this python file explorer project:<\/p>\n<p>1. Importing the necessary modules.<br \/>\n2. Defining the functions of all the buttons and defining certain variables for the GUI window.<br \/>\n3. Initializing the window, placing the components in it, and finalizing it.<\/p>\n<p>Let\u2019s take a closer look at these steps:<\/p>\n<h4>1. Importing all the necessary modules:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">from tkinter import *\r\nimport tkinter.filedialog as fd\r\nimport tkinter.messagebox as mb\r\n\r\nimport os\r\nimport shutil\r\n<\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li>The from tkinter import * statement is used to import everything from the init file in the tkinter library.<\/li>\n<li>The <strong>filedialog<\/strong> module is a collection of open and save dialog functions.<\/li>\n<li>The <strong>messagebox<\/strong> module is a collection of functions that display different kinds of messages, with different icons.<\/li>\n<\/ul>\n<h4>2. Defining the functions of all the buttons and defining certain variables for the GUI window:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Creating the backend functions for python file explorer project\r\ndef open_file():\r\n   file = fd.askopenfilename(title='Choose a file of any type', filetypes=[(\"All files\", \"*.*\")])\r\n\r\n   os.startfile(os.path.abspath(file))\r\n\r\n\r\ndef copy_file():\r\n   file_to_copy = fd.askopenfilename(title='Choose a file to copy', filetypes=[(\"All files\", \"*.*\")])\r\n   dir_to_copy_to = fd.askdirectory(title=\"In which folder to copy to?\")\r\n\r\n   try:\r\n       shutil.copy(file_to_copy, dir_to_copy_to)\r\n       mb.showinfo(title='File copied!', message='Your desired file has been copied to your desired location')\r\n   except:\r\n       mb.showerror(title='Error!', message='We were unable to copy your file to the desired location. Please try again')\r\n\r\n\r\ndef delete_file():\r\n   file = fd.askopenfilename(title='Choose a file to delete', filetypes=[(\"All files\", \"*.*\")])\r\n\r\n   os.remove(os.path.abspath(file))\r\n\r\n   mb.showinfo(title='File deleted', message='Your desired file has been deleted')\r\n\r\n\r\ndef rename_file():\r\n   file = fd.askopenfilename(title='Choose a file to rename', filetypes=[(\"All files\", \"*.*\")])\r\n\r\n   rename_wn = Toplevel(root)\r\n   rename_wn.title(\"Rename the file to\")\r\n   rename_wn.geometry(\"250x70\"); rename_wn.resizable(0, 0)\r\n\r\n   Label(rename_wn, text='What should be the new name of the file?', font=(\"Times New Roman\", 10)).place(x=0, y=0)\r\n\r\n   new_name = Entry(rename_wn, width=40, font=(\"Times New Roman\", 10))\r\n   new_name.place(x=0, y=30)\r\n\r\n   new_file_name = os.path.join(os.path.dirname(file), new_name.get()+os.path.splitext(file)[1])\r\n\r\n   os.rename(file, new_file_name)\r\n   mb.showinfo(title=\"File Renamed\", message='Your desired file has been renamed')\r\n\r\n\r\ndef open_folder():\r\n   folder = fd.askdirectory(title=\"Select Folder to open\")\r\n   os.startfile(folder)\r\n\r\n\r\ndef delete_folder():\r\n   folder_to_delete = fd.askdirectory(title='Choose a folder to delete')\r\n   os.rmdir(folder_to_delete)\r\n   mb.showinfo(\"Folder Deleted\", \"Your desired folder has been deleted\")\r\n\r\n\r\ndef move_folder():\r\n   folder_to_move = fd.askdirectory(title='Select the folder you want to move')\r\n   mb.showinfo(message='You just selected the folder to move, now please select the desired destination where you want to move the folder to')\r\n   destination = fd.askdirectory(title='Where to move the folder to')\r\n\r\n   try:\r\n       shutil.move(folder_to_move, destination)\r\n       mb.showinfo(\"Folder moved\", 'Your desired folder has been moved to the location you wanted')\r\n   except:\r\n       mb.showerror('Error', 'We could not move your folder. Please make sure that the destination exists')\r\n\r\n\r\ndef list_files_in_folder():\r\n   i = 0\r\n\r\n   folder = fd.askdirectory(title='Select the folder whose files you want to list')\r\n\r\n   files = os.listdir(os.path.abspath(folder))\r\n\r\n   list_files_wn = Toplevel(root)\r\n   list_files_wn.title(f'Files in {folder}')\r\n   list_files_wn.geometry('250x250')\r\n   list_files_wn.resizable(0, 0)\r\n\r\n   listbox = Listbox(list_files_wn, selectbackground='SteelBlue', font=(\"Georgia\", 10))\r\n   listbox.place(relx=0, rely=0, relheight=1, relwidth=1)\r\n\r\n   scrollbar = Scrollbar(listbox, orient=VERTICAL, command=listbox.yview)\r\n   scrollbar.pack(side=RIGHT, fill=Y)\r\n\r\n   listbox.config(yscrollcommand=scrollbar.set)\r\n\r\n   while i &lt; len(files):\r\n       listbox.insert(END, files[i])\r\n       i += 1\r\n\r\n\r\n# Defining the variables\r\ntitle = 'DataFlair File Manager'\r\nbackground = 'Yellow'\r\n\r\nbutton_font = (\"Times New Roman\", 13)\r\nbutton_background = 'Turquoise'\r\n<\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li>The following are the components of the <strong>filedialog<\/strong> module used in this project:\n<ul>\n<li>The <strong>askfilename<\/strong> function is used to select a file, with title title, and filetypes being filetypes.<\/li>\n<li>The <strong>askdirectory<\/strong> function is used to select a folder.<\/li>\n<li>Both these functions store the file in the form of its path.<\/li>\n<\/ul>\n<\/li>\n<li>The following are the components the <strong>os<\/strong> library used in this project:\n<ul>\n<li>Functions in the <strong>path<\/strong> module:\n<ul>\n<li>The abspath function is used to get the path of the file specified to it as an argument.<\/li>\n<li>The join function is used to join two halves of a file, generally the name and the extension.<\/li>\n<li>The dirname function is used to get the name of a file\u2019s directory where it is placed.<\/li>\n<li>The splittext function is used to split the name of a file in the form of a list containing its name and extensions as different items.<\/li>\n<\/ul>\n<\/li>\n<li>Functions in the <strong>init<\/strong> module:\n<ul>\n<li>The rename function is used to rename a file or folder.<\/li>\n<li>The startfile function is used to open a file in an external application.<\/li>\n<li>The rmdir function is used to delete an entire directory.<\/li>\n<li>The remove function is used to delete a file.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>The elements of the <strong>shutil<\/strong> library used in this project are:\n<ul>\n<li>The <strong>copy<\/strong> function is used to copy a file from its source location, src, to the desired destination, dst on the computer.<\/li>\n<li>The <strong>move<\/strong> function is used to move a file from the source location, source, to the destination, destination.<br \/>\n<strong>Note:<\/strong> All the tkinter elements in this step will be explained in the next one.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>3. Initializing the window, placing the components, and finalizing it:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Initializing the window\r\nroot = Tk()\r\nroot.title(title)\r\nroot.geometry('250x400')\r\nroot.resizable(0, 0)\r\nroot.config(bg=background)\r\n\r\n# Creating and placing the components in the window\r\nLabel(root, text=title, font=(\"Comic Sans MS\", 15), bg=background, wraplength=250).place(x=20, y=0)\r\n\r\nButton(root, text='Open a file', width=20, font=button_font, bg=button_background, command=open_file).place(x=30, y=50)\r\n\r\nButton(root, text='Copy a file', width=20, font=button_font, bg=button_background, command=copy_file).place(x=30, y=90)\r\n\r\nButton(root, text='Rename a file', width=20, font=button_font, bg=button_background, command=rename_file).place(x=30, y=130)\r\n\r\nButton(root, text='Delete a file', width=20, font=button_font, bg=button_background, command=delete_file).place(x=30, y=170)\r\n\r\nButton(root, text='Open a folder', width=20, font=button_font, bg=button_background, command=open_folder).place(x=30, y=210)\r\n\r\nButton(root, text='Delete a folder', width=20, font=button_font, bg=button_background, command=delete_folder).place(x=30, y=250)\r\n\r\nButton(root, text='Move a folder', width=20, font=button_font, bg=button_background, command=move_folder).place(x=30, y=290)\r\n\r\nButton(root, text='List all files in a folder', width=20, font=button_font, bg=button_background,\r\n      command=list_files_in_folder).place(x=30, y=330)\r\n\r\n# Finalizing the window\r\nroot.update()\r\nroot.mainloop()\r\n<\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li>The <strong>Tk()<\/strong> class is used to assign the GUI window to a variable.\n<ul>\n<li>The <strong>.title()<\/strong> method is used to give a title to the window.<\/li>\n<li>The <strong>.geometry()<\/strong> method is used to define an initial geometry to the window.<\/li>\n<li>The <strong>.resizable()<\/strong> method is used to give the user the permission to resize a window or not.<\/li>\n<li>The <strong>.config()<\/strong> method is used to configure some extra attributes to the object.<\/li>\n<\/ul>\n<\/li>\n<li>The <strong>Label<\/strong> class adds a Label widget to the window which is a frame used to add static text to the window. It\u2019s methods and attributes are:\n<ul>\n<li>The <strong>master<\/strong> attribute specifies the parent window of the widget.<\/li>\n<li>The <strong>text<\/strong> attribute specifies the text to be displayed in the widget.<\/li>\n<li>The <strong>font<\/strong> attribute is used to designate the font name, font size and bold\/italic to the text.<\/li>\n<li>The <strong>bg<\/strong> attribute gives a background color to the widget.<\/li>\n<li>The <strong>wraplength<\/strong> attribute is used to define after how many pixels will the text be wrapped to another line.<\/li>\n<\/ul>\n<\/li>\n<li>The <strong>Button<\/strong> class adds a button to its parent element that executes a function when it is pressed. It\u2019s attributes are:\n<ul>\n<li>The <strong>width<\/strong> attribute is used to specify the length of the widget, in pixels.<\/li>\n<li>The <strong>command<\/strong> attribute is used to designate the function that will be executed when the button is pressed.<\/li>\n<li>The other attributes have been discussed before.<\/li>\n<\/ul>\n<\/li>\n<li>The <strong>Toplevel<\/strong> class is an alternative to the Frame widget, except it always contains its child widgets in a new window.\n<ul>\n<li>All the methods and attributes of this class are the same as the Tk() class.<\/li>\n<\/ul>\n<\/li>\n<li>The <strong>Entry<\/strong> class is used to add an input field in the GUI window. It\u2019s methods are:\n<ul>\n<li>The <strong>textvariable<\/strong> attribute is used to set a StringVar(string), IntVar(integer) or DoubleVar(float) variable to store or change the value in the Entry widget and to give it a type [as mentioned in the brackets against the __Var words].<\/li>\n<li>The other attributes of this class have already been discussed before.<\/li>\n<li>The <strong>.get()<\/strong> method is used to get the input that was entered by the user. This method takes no arguments.<\/li>\n<\/ul>\n<\/li>\n<li>The <strong>Listbox<\/strong> class is used to add a static, multiline textbox to the window from which the user can select items from.\n<ul>\n<li>The <strong>selectbackground<\/strong> attribute is used to specify the color of the background that has been selected.<\/li>\n<li>The <strong>yscrollcommand<\/strong> attribute is used to set the scrollbar that will control the up-down scrolling of the widget.<\/li>\n<li>The other attributes have been discussed before.<\/li>\n<li>The <strong>.insert(index,<\/strong> *elements) method is used to insert an element or elements, *elements, at the index index.<\/li>\n<li>The index argument can be a number, or an acceptable tkinter constant.<\/li>\n<li>The <strong>.yview()<\/strong> method is used to set a scrollbar to view the up and down of the widget it is used on.<\/li>\n<\/ul>\n<\/li>\n<li>The <strong>Scrollbar<\/strong> class is used to add a scrollbar to its parent widget that controls the movement of the parent.\n<ul>\n<li>The <strong>orient<\/strong> attribute is used to indicate how the scrollbar will be displayed on the window.<\/li>\n<li>The other attributes have been discussed before.<\/li>\n<li>The <strong>.set()<\/strong> method is used to connect the scrollbar to another widget.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Python File Explorer Output<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-file-explorer-output.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-99482\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-file-explorer-output.png\" alt=\"python file explorer output\" width=\"309\" height=\"534\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>Congratulations! You have now created your own File Manager project using the Tkinter, OS, and shutil modules of Python. You can use this project to manage some files on your computer, and use it to open, move, delete, rename or copy the file and even open, delete, rename and list all files in a folder.<\/p>\n<p>Have fun coding!\ud83d\ude0a<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:2560,&quot;href&quot;:&quot;https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/1gfONh-WIvxUlQ9VDTWvracYU9iwbyuZ4\\\/view?usp=drive_link&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20260601071802\\\/https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/1gfONh-WIvxUlQ9VDTWvracYU9iwbyuZ4\\\/view?usp=drive_link&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-06-02 07:04:12&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-06 18:48:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-13 15:55:38&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-13 15:55:38&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Python project, we will build a GUI-based File Explorer using the Tkinter, OS, and shutil modules of Python. It is a beginner-level project, and you will need some brief knowledge about all&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":99483,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[24844,24845,24847,24846,21082],"class_list":["post-98573","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python-file-explorer","tag-python-file-explorer-project","tag-python-file-explorer-project-code","tag-python-file-explorer-source-code","tag-python-project"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create File Explorer in Python using Tkinter - DataFlair<\/title>\n<meta name=\"description\" content=\"Create File Explorer project using the Tkinter, OS, &amp; shutil modules of Python. File Manager manages files on your computer.\" \/>\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-file-explorer-project\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create File Explorer in Python using Tkinter - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Create File Explorer project using the Tkinter, OS, &amp; shutil modules of Python. File Manager manages files on your computer.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/\" \/>\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-27T03:30:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-01T07:20:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-file-explorer.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=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create File Explorer in Python using Tkinter - DataFlair","description":"Create File Explorer project using the Tkinter, OS, & shutil modules of Python. File Manager manages files on your computer.","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-file-explorer-project\/","og_locale":"en_US","og_type":"article","og_title":"Create File Explorer in Python using Tkinter - DataFlair","og_description":"Create File Explorer project using the Tkinter, OS, & shutil modules of Python. File Manager manages files on your computer.","og_url":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-07-27T03:30:36+00:00","article_modified_time":"2026-06-01T07:20:04+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-file-explorer.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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Create File Explorer in Python using Tkinter","datePublished":"2021-07-27T03:30:36+00:00","dateModified":"2026-06-01T07:20:04+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/"},"wordCount":1182,"commentCount":2,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-file-explorer.jpg","keywords":["python file explorer","python file explorer project","python file explorer project code","python file explorer source code","Python project"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/","url":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/","name":"Create File Explorer in Python using Tkinter - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-file-explorer.jpg","datePublished":"2021-07-27T03:30:36+00:00","dateModified":"2026-06-01T07:20:04+00:00","description":"Create File Explorer project using the Tkinter, OS, & shutil modules of Python. File Manager manages files on your computer.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-file-explorer.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/07\/python-project-file-explorer.jpg","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/python-file-explorer-project\/#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":"Create File Explorer in Python using Tkinter"}]},{"@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\/98573","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=98573"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/98573\/revisions"}],"predecessor-version":[{"id":148638,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/98573\/revisions\/148638"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/99483"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=98573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=98573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=98573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}