kandi background
Explore Kits

PySimpleGUI | actively developed & supported .

 by   PySimpleGUI Python Version: 4.60.4 License: LGPL-3.0

 by   PySimpleGUI Python Version: 4.60.4 License: LGPL-3.0

kandi X-RAY | PySimpleGUI Summary

PySimpleGUI is a Python library typically used in Telecommunications, Media, Media, Entertainment applications. PySimpleGUI has no bugs, it has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has medium support. You can install using 'pip install PySimpleGUI' or download it from GitHub, GitLab, PyPI.
Transforms the tkinter, Qt, WxPython, and Remi (browser-based) GUI frameworks into a simpler interface. The window definition is simplified by using Python core data types understood by beginners (lists and dictionaries). Further simplification happens by changing event handling from a callback-based model to a message passing one. Your code is not required to have an object oriented architecture which makes the package usable by a larger audience. While the architecture is simple to understand, it does not necessarily limit you to only simple problems. Some programs are not well-suited for PySimpleGUI however. By definition, PySimpleGUI implements a subset of the underlying GUI frameworks' capabilities. It's difficult to define exactly which programs are well suited for PySimpleGUI and which are not. It depends on the details of your program. Duplicating Excel in every detail is an example of something not well suited for PySimpleGUI. I could use a coffee! It fuels consultants, editors, domain registration and so many other things required for PySimpleGUI to be a thriving project. Every donation helps, and help is needed and appreciated.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • PySimpleGUI has a medium active ecosystem.
  • It has 11160 star(s) with 1660 fork(s). There are 217 watchers for this library.
  • There were 1 major release(s) in the last 6 months.
  • There are 684 open issues and 2489 have been closed. On average issues are closed in 104 days. There are no pull requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of PySimpleGUI is 4.60.4
PySimpleGUI Support
Best in #Python
Average in #Python
PySimpleGUI Support
Best in #Python
Average in #Python

quality kandi Quality

  • PySimpleGUI has 0 bugs and 0 code smells.
PySimpleGUI Quality
Best in #Python
Average in #Python
PySimpleGUI Quality
Best in #Python
Average in #Python

securitySecurity

  • PySimpleGUI has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • PySimpleGUI code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
PySimpleGUI Security
Best in #Python
Average in #Python
PySimpleGUI Security
Best in #Python
Average in #Python

license License

  • PySimpleGUI is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
  • Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.
PySimpleGUI License
Best in #Python
Average in #Python
PySimpleGUI License
Best in #Python
Average in #Python

buildReuse

  • PySimpleGUI releases are available to install and integrate.
  • Deployable package is available in PyPI.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
PySimpleGUI Reuse
Best in #Python
Average in #Python
PySimpleGUI Reuse
Best in #Python
Average in #Python
Top functions reviewed by kandi - BETA

kandi has reviewed PySimpleGUI and discovered the below as its top functions. This is intended to give you an instant insight into PySimpleGUI implemented functionality, and help decide if they suit your requirements.

  • Pack a form into a tkinter .
    • Creates a popup color dialog .
      • Chooses a color dialog .
        • Set options .
          • Create a mini - GUI .
            • Initialize the widget .
              • Builds the results for a subform .
                • Set options options .
                  • Displays a file dialog .
                    • Initialize global pysimplegui settings .

                      Get all kandi verified functions for this library.

                      Get all kandi verified functions for this library.

                      PySimpleGUI Key Features

                      Having fun

                      Your success

                      PySimpleGUI Examples and Code Snippets

                      See all related Code Snippets

                      Community Discussions

                      Trending Discussions on PySimpleGUI
                      • Specifying folders to be included in pyinstaller exe
                      • hide_row() in pysimplegui work only one time?
                      • Set multiline text from a file online to a text element in pysimplegui
                      • Python window doesn't close after video ended
                      • PySimpleGUI tables - unable to create list of lists
                      • Rendering HTML in PySimpleGUI?
                      • pysimpleGUI - creating a thread on the fly
                      • SimpleGUI displaying mpf.plot in canvas
                      • Pyinstaller opens Stockfish in console
                      • How do I combine my python GUI with my python code
                      Trending Discussions on PySimpleGUI

                      QUESTION

                      Specifying folders to be included in pyinstaller exe

                      Asked 2022-Mar-31 at 13:13

                      So I am writing a test python program with PySimpleGui, and it looks like this:

                      import PySimpleGUI as sg
                      import sys
                      
                      # This bit gets the taskbar icon working properly in Windows
                      if sys.platform.startswith('win'):
                          import ctypes
                          if not sys.argv[0].endswith('.exe'):
                              ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(u'Ethan.FileManager.filemanager.1')
                      
                      sg.theme('DarkAmber')  # Add a touch of color
                      # All the stuff inside your window.
                      layout = [[sg.Text('File Manager')],
                                [sg.Text('Input goes here'), sg.InputText()],
                                [sg.Button('Ok')]]
                      
                      # Create the Window
                      window = sg.Window('File Manager', layout, icon="assets/rickroll.ico")
                      # Event Loop to process "events" and get the "values" of the inputs
                      while True:
                          event, values = window.read()
                          if event == sg.WIN_CLOSED:  # if user closes window or clicks cancel
                              break
                          elif values[0] == "":
                              break
                          print('You entered', values[0])
                          window.close()
                          window = sg.Window('File Manager', [[sg.Text(f'you entered {values[0]}')]], icon="rickroll.ico")
                      
                      window.close()
                      

                      I want to distribute this as an executable once I am finished with it, but I am having trouble including the assets folder in the pyinstaller build. If someone could give me a tip on how to include that folder, or point me somewhere that can, that would be great. the files of interest are main.py, and in the assets folder, a file called rickroll.ico. Thanks!

                      ANSWER

                      Answered 2022-Mar-31 at 13:13

                      So I did try using base64 encoding for the image, but there was a lot of it and it made my code look a bit wacky, so what I ended up doing was using --add-data "files/icon.ico;files" to package the icon with the exe, and this ended up working along with this answer

                      Source https://stackoverflow.com/questions/71654636

                      Community Discussions, Code Snippets contain sources that include Stack Exchange Network

                      Vulnerabilities

                      No vulnerabilities reported

                      Install PySimpleGUI

                      You can install using 'pip install PySimpleGUI' or download it from GitHub, GitLab, PyPI.
                      You can use PySimpleGUI like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

                      Support

                      Your first stop should be the documentation and demo programs. If you still have a question or need help... no problem... help is available to you, at no cost. Simply file an Issue on the PySimpleGUI GitHub repo and you'll get help. Nearly all software companies have a form that accompanies bug reports. It's not a bad trade... fill in the form, get free software support. This information helps get you an answer efficiently. In addition to requesting information such as the version numbers of PySimpleGUI and underlying GUI frameworks, you're also given a checklist of items that may help you solve your problem. Please fill in the form. It may feel pointless to you. It may feel painful, despite it taking just a moment. It helps get you a solution faster. If it wasn't useful and necessary information to help you get a speedy reply and fix, you wouldn't be asked to fill it out. "Help me help you".

                      Find more information at:

                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 650 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      Install
                      • pip install PySimpleGUI

                      Clone
                      • https://github.com/PySimpleGUI/PySimpleGUI.git

                      • gh repo clone PySimpleGUI/PySimpleGUI

                      • git@github.com:PySimpleGUI/PySimpleGUI.git

                      Share this Page

                      share link
                      Consider Popular Python Libraries
                      Try Top Libraries by PySimpleGUI
                      Compare Python Libraries with Highest Support
                      Compare Python Libraries with Highest Quality
                      Compare Python Libraries with Highest Security
                      Compare Python Libraries with Permissive License
                      Compare Python Libraries with Highest Reuse
                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 650 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit