{"id":2254,"date":"2022-07-08T13:50:22","date_gmt":"2022-07-08T08:50:22","guid":{"rendered":"https:\/\/www.edopedia.com\/blog\/?p=2254"},"modified":"2022-07-18T20:27:15","modified_gmt":"2022-07-18T15:27:15","slug":"python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app","status":"publish","type":"post","link":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/","title":{"rendered":"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App"},"content":{"rendered":"\n<p><strong>winapps<\/strong> is a <strong>Python<\/strong> library that enables us to manage installed applications on <strong>Windows<\/strong> operating system. So, in this tutorial, we will use <strong>Python winapps<\/strong> module to create an app that allows us to search installed apps on a computer.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;text\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">pip install winapps<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">code.py<\/h2>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\"># import modules\nfrom tkinter import *\nimport winapps\n\n# function to attach output\ndef app():\n\n  for item in winapps.search_installed(e.get()):\n    name.set(item.name)\n    version.set(item.version)\n    Install_date.set(item.install_date)\n    publisher.set(item.publisher)\n    uninstall_string.set(item.uninstall_string)\n\n\n# object of tkinter\n# and background set for grey\nmaster = Tk()\nmaster.configure(bg='light grey')\n\n# Variable Classes in tkinter\nname = StringVar()\nversion = StringVar()\nInstall_date = StringVar()\npublisher = StringVar()\nuninstall_string = StringVar()\n\n\n# Creating label for each information\n# name using widget Label\nLabel(master, text=&quot;Enter App name : &quot;,\n  bg=&quot;light grey&quot;).grid(row=0, sticky=W)\nLabel(master, text=&quot;Name : &quot;,\n  bg=&quot;light grey&quot;).grid(row=2, sticky=W)\nLabel(master, text=&quot;Version :&quot;,\n  bg=&quot;light grey&quot;).grid(row=3, sticky=W)\nLabel(master, text=&quot;Install date :&quot;,\n  bg=&quot;light grey&quot;).grid(row=4, sticky=W)\nLabel(master, text=&quot;publisher :&quot;,\n  bg=&quot;light grey&quot;).grid(row=5, sticky=W)\nLabel(master, text=&quot;Uninstall string :&quot;,\n  bg=&quot;light grey&quot;).grid(row=6, sticky=W)\n\n\n# Creating label for class variable\n# name using widget Entry\nLabel(master, text=&quot;&quot;, textvariable=name,\n  bg=&quot;light grey&quot;).grid(row=2, column=1, sticky=W)\nLabel(master, text=&quot;&quot;, textvariable=version,\n  bg=&quot;light grey&quot;).grid(row=3, column=1, sticky=W)\nLabel(master, text=&quot;&quot;, textvariable=Install_date,\n  bg=&quot;light grey&quot;).grid(row=4, column=1, sticky=W)\nLabel(master, text=&quot;&quot;, textvariable=publisher,\n  bg=&quot;light grey&quot;).grid(row=5, column=1, sticky=W)\nLabel(master, text=&quot;&quot;, textvariable=uninstall_string,\n  bg=&quot;light grey&quot;).grid(row=6, column=1, sticky=W)\n\n\ne = Entry(master, width=30)\ne.grid(row=0, column=1)\n\n# creating a button using the widget\nb = Button(master, text=&quot;Show&quot;, command=app, bg=&quot;Blue&quot;)\nb.grid(row=0, column=2, columnspan=2, rowspan=2, padx=5, pady=5,)\n\nmainloop()<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>winapps is a Python library that enables us to manage installed applications on Windows operating system. So, in this tutorial, we will use Python winapps module to create an app that allows us to search installed apps on a computer. code.py<\/p>\n","protected":false},"author":1,"featured_media":2256,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-2254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App<\/title>\n<meta name=\"description\" content=\"winapps is a Python library that enables us to manage installed applications on Windows operating system. So, in this tutorial, we will use Python winapps\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App\" \/>\n<meta property=\"og:description\" content=\"winapps is a Python library that enables us to manage installed applications on Windows operating system. So, in this tutorial, we will use Python winapps\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/\" \/>\n<meta property=\"og:site_name\" content=\"Edopedia\" \/>\n<meta property=\"article:author\" content=\"trulyfurqan\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-08T08:50:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-18T15:27:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/07\/scrnli_7_8_2022_1-46-37-PM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"741\" \/>\n\t<meta property=\"og:image:height\" content=\"403\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Furqan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Furqan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App","description":"winapps is a Python library that enables us to manage installed applications on Windows operating system. So, in this tutorial, we will use Python winapps","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:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/","og_locale":"en_US","og_type":"article","og_title":"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App","og_description":"winapps is a Python library that enables us to manage installed applications on Windows operating system. So, in this tutorial, we will use Python winapps","og_url":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/","og_site_name":"Edopedia","article_author":"trulyfurqan","article_published_time":"2022-07-08T08:50:22+00:00","article_modified_time":"2022-07-18T15:27:15+00:00","og_image":[{"width":741,"height":403,"url":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/07\/scrnli_7_8_2022_1-46-37-PM.png","type":"image\/png"}],"author":"Furqan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Furqan","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#article","isPartOf":{"@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/"},"author":{"name":"Furqan","@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/person\/3951cb19e3aa56df09e408c98aa02339"},"headline":"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App","datePublished":"2022-07-08T08:50:22+00:00","dateModified":"2022-07-18T15:27:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/"},"wordCount":57,"commentCount":0,"publisher":{"@id":"https:\/\/www.edopedia.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#primaryimage"},"thumbnailUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/07\/scrnli_7_8_2022_1-46-37-PM.png","articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/","url":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/","name":"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App","isPartOf":{"@id":"https:\/\/www.edopedia.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#primaryimage"},"image":{"@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#primaryimage"},"thumbnailUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/07\/scrnli_7_8_2022_1-46-37-PM.png","datePublished":"2022-07-08T08:50:22+00:00","dateModified":"2022-07-18T15:27:15+00:00","description":"winapps is a Python library that enables us to manage installed applications on Windows operating system. So, in this tutorial, we will use Python winapps","breadcrumb":{"@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#primaryimage","url":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/07\/scrnli_7_8_2022_1-46-37-PM.png","contentUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2022\/07\/scrnli_7_8_2022_1-46-37-PM.png","width":741,"height":403,"caption":"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App"},{"@type":"BreadcrumbList","@id":"https:\/\/www.edopedia.com\/blog\/python3-tkinter-code-to-search-installed-apps-on-computer-using-winapps-module-gui-desktop-app\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.edopedia.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python 3 Tkinter Code to Search Installed Apps on Computer Using winapps Module GUI Desktop App"}]},{"@type":"WebSite","@id":"https:\/\/www.edopedia.com\/blog\/#website","url":"https:\/\/www.edopedia.com\/blog\/","name":"Edopedia","description":"Coding\/Programming Blog","publisher":{"@id":"https:\/\/www.edopedia.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.edopedia.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.edopedia.com\/blog\/#organization","name":"Edopedia","url":"https:\/\/www.edopedia.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2017\/10\/edopedia_icon_text_10.jpg","contentUrl":"https:\/\/www.edopedia.com\/blog\/wp-content\/uploads\/2017\/10\/edopedia_icon_text_10.jpg","width":400,"height":100,"caption":"Edopedia"},"image":{"@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/person\/3951cb19e3aa56df09e408c98aa02339","name":"Furqan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.edopedia.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e5e68aef3ad8f0b83d56f4953c512c8e57bd2e6dc64daec33b5d0495d9058f51?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e5e68aef3ad8f0b83d56f4953c512c8e57bd2e6dc64daec33b5d0495d9058f51?s=96&d=mm&r=g","caption":"Furqan"},"description":"Well. I've been working for the past three years as a web designer and developer. I have successfully created websites for small to medium sized companies as part of my freelance career. During that time I've also completed my bachelor's in Information Technology.","sameAs":["http:\/\/www.edopedia.com\/blog\/","trulyfurqan"],"url":"https:\/\/www.edopedia.com\/blog\/author\/furqan\/"}]}},"_links":{"self":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/posts\/2254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/comments?post=2254"}],"version-history":[{"count":0,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/posts\/2254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/media\/2256"}],"wp:attachment":[{"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/media?parent=2254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/categories?post=2254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edopedia.com\/blog\/wp-json\/wp\/v2\/tags?post=2254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}