58 questions
0 votes
0 answers
62 views
pywebview: error maximum recursion depth exceeded before pressing button when passing pandas/model objects in js_api
I’m embedding a small UI with pywebview and want Python to JS live updates. I created a GPSSpoofingDetector class that loads a pickled sklearn model and a pandas test CSV. I want a JavaScript “Start” ...
1 vote
2 answers
198 views
Getting two titles in pywebview on macOS
I'm using pywebview to display a web page on a Mac - and for some reason I am getting two titles: The code I'm using to run the pywebview server and create the window is: webview.create_window( ...
0 votes
0 answers
88 views
How do i compile a python code that uses pywebview into a single-file using nuitka
When i compile my code using Nuika using this command: nuitka --onefile --enable-plugin=tk-inter --windows-console-mode=disable ^ --include-data-files=bg.jpg=bg.jpg ^ --include-data-files=credentials....
0 votes
0 answers
92 views
Python pywebview restoring minimized windows gives blank screen
Description of the Issue I am working on a Python-based application that uses pywebview for rendering the UI and win32gui to manage the window. My application ensures that only a single instance can ...
0 votes
0 answers
189 views
CustomTkinter + pywebview
I was wondering if there is a way how to implement the rendered "webview" into customTkinter frame? import customtkinter import webview from customtkinter import CTk, CTkFrame def ...
0 votes
0 answers
214 views
Using CEF in webview
im building an App which i deploy as two exe's which i generate with pyinstaller. The first exe creates a PyWebio-GUI, the second exe opens a webview-window to look at the GUI. I am restricted to use ...
1 vote
0 answers
375 views
How to use pywebview loading screen example
The pywebview docs have a lovely example of an HTML loading screen that can be found at https://pywebview.flowrl.com/examples/loading_animation.html. I was hoping to use this as the loading screen ...
2 votes
0 answers
298 views
How to properly close pywebview window from a button?
How to properly close pywebview window from a button? I put together this demo of a Python Code Editor using pywebview and codemirror. It runs fine; However, when I use a button to close the window ...
0 votes
0 answers
133 views
Why does my tkinter app resize after running a pywebview window?
I have a simple tkinter app with 2 buttons. I'm using 1 button to open a pywebview window to a website. Initially, the 2nd button was to close this window, however I kept getting a problem where the ...
1 vote
0 answers
79 views
How to Implement Consistent State Management in a Python GUI Framework Similar to Flutter?
I'm working on a custom GUI framework in Python that aims to mimic the behavior and experience of Flutter. The framework uses HTML and CSS for rendering the GUI inside a PyWebView window, targeting ...
0 votes
1 answer
153 views
How to serve a nuxt 3 webapp with unix socket instead of http
Is it possible to build a Nuxt 3 App so that it will use a unix socket instead of serving on a local tcp port? I am intending to make an app with pywebview and nuxt3. I want the pywebview to display ...
0 votes
0 answers
48 views
Callbacks Not Being Registered Correctly in Custom Python GUI Framework Using PyWebView
Question: I'm building a custom GUI framework in Python using PyWebView. The framework allows defining widgets and handling callbacks for button presses. However, I'm facing issues with registering ...
0 votes
1 answer
47 views
Flask One Dictory Pyinstaller App on Windows showing internall
I want to build and run a one-directory py installer Flask app on Windows and leverage preview for rendering. The data should all come from the One directory folder with the app next to it. When I ...
0 votes
1 answer
364 views
How to save session in pywebview?
I have a simple python program that opens a website, made in pywebview. I want that if I log in to the site, the next time I start it I won’t have to log in again. import webview # WINDOW window = ...
0 votes
1 answer
190 views
When creating basic pywebview application on RASPI, frameless=True does not remove the frame from the window but running same program on windows does
I am running a basic webview application on a raspberry pi that when running frameless=True it is not making the window frameless like it should and the same code is working fine on windows machine. ...