About 600,000 results
Open links in new tab
  1. python - windows system tray icon as a service - Stack Overflow

    Oct 14, 2019 · I have created a python application that runs as a service and has a system tray icon (for Windows). I am using wxPython as the wrapper program that calls the main program as a thread. The problem is

  2. Embed icon in python script - Stack Overflow

    Mar 29, 2012 · Import base64 and add this right after root = Tk() in the main script: My versions: python3.4, pyinstaller3.1.1. For me, the solution was to use relative path for path_to_your.ico instead of absolute path and it's working like a charm. …

  3. Creating a system tray icon — pystray 0.19.5 documentation

    In order to create a system tray icon, the class pystray.Icon is used: The call to pystray.Icon.run() is blocking, and it must be performed from the main thread of the application.

  4. simpleicons - PyPI

    Nov 28, 2022 · Use a wide-range of icons derived from the simple-icons repo in python. Go to their website for a full list of icons. The slug version must be used for the icon_name. The icons folder that accompanies the package has all the files. The package uses the latest verison of Simple Icons. It does not depend on the filesystem.

  5. Create a Responsive System Tray Icon using Python PyStray

    Dec 21, 2022 · In this article, we will see how we can make System Tray icons and make them responsive using the PyStray module of Python. Here, we will understand the concept using the proper steps. What is PyStray? You are able to make a system tray icon using the PyStray library.

  6. python - How can I package and use an icon within a tkinter app ...

    Mar 23, 2020 · To load my icon I have tried different approaches described here: pkgutil, importlib.resources. Unfortunately none of them worked for me. I may do something wrong. Here is code which I ended up with: return 'img/icon.gif' return res.resource_path('.', 'icon.gif') root = tk.Tk() icon_path = get_path_after_install()

  7. sachinraja/simple-icons-py: python wrapper for simple-icons - GitHub

    Alternatively you can import the needed icons individually, where [ICON SLUG] is replaced by a slug: # For example: from simpleicons. icons import si_simpleicons. Lastly, the icons object is also enumerable. This is useful if you want to do a computation on every icon: # do stuff .

  8. Python service Packagepython-service 0.6.0 documentation

    The package is built around the python-daemon module, which provides the means for creating well-behaved daemon processes. The service package adds a control infrastructure for easily starting, stopping, querying and killing the background process from a foreground application.

    Missing:

    • Icon

    Must include:

  9. How to Add Icons to Your Python Application - PowerShell.Site

    Jun 16, 2024 · To add an icon to your wxPython application, you can use the 'SetIcon' method. Here's a sample code snippet: def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title) self.SetIcon(wx.Icon('path/to/your/icon.jpg')) app = wx.App() frame = MyFrame(None, -1, 'Icon Example') frame.Show() app.MainLoop()

  10. Getting Started With the ICON Python SDK - ICON Documentation

    Nov 11, 2022 · How to Import ICON SDK. In order to use the ICON SDK, we need to import it into our project. To do this, let’s add the code below to the top of main.py: {{< highlight python >}} from iconsdk.icon_service import IconService from iconsdk.providers.http_provider import HTTPProvider {{< /highlight >}} Initialize IconService Object

  11. Some results have been removed
Refresh