Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Unable to print to browser window from Python #764

Open

Description

@przem360

Eel version 0.18.1

Describe the bug
When calling Python function inside script tag I expect this function to print output to frontend but it prints to terminal only.

To Reproduce
Steps to reproduce the behavior:

  1. Install Eel inside venv
  2. Clone Eel repo
  3. cd to hello world example
  4. Run python3 hello.py

Expected behavior
Hello from Python World! should be seen in a browser window.

System Information

  • OS: Linux Mint, current
  • Browser: Chrome, current
  • Python Distribution: 3.12.3 preinstalled as part of my Linux distributtion

Screenshots

Image

Additional context
I believe that similar issues were described before, for example issue #188

Activity

  1. non-npc commented on Apr 27, 2025

    @non-npc

    I stopped using Eel a few years ago after discovering pyqt6.
    You can make simple electron type desktop apps using python and pyqt6.
    Here are some example projects:
    https://github.com/non-npc/Desktop-Javascript-Python-GameDemo
    https://github.com/non-npc/Byte-Clicker-Incremental-Game
    https://github.com/non-npc/Javascript-and-python-interfacing-examples
    https://github.com/non-npc/Serverless-Desktop-Python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions