Questions tagged [pywebview]

52 questions
1
vote
1 answer

how to close pywebview window from javascript using pywebview api

I was building an application in pywebview with html and flask i decided to make use of fullscreen mode and make custom nice looking buttons for minimize and exit i.e(window.open('','_self').close();) . The normal javascript code that we use for…
Zahid Wadiwale
  • 96
  • 1
  • 10
1
vote
1 answer

Reload/Refresh a webpage using pywebview library in python

It is possible to make a web page reload using the pywebview library? I mean, I have this code: import webview webview.create_window('Woah dude!', 'index.html') webview.start(http_server=True) …and I want to reload the web page every five seconds…
Asibusa
  • 31
  • 3
1
vote
1 answer

Rendering reCaptcha on python Http Requests

I am not really sure how can I use the HTTP Requests 's response to show the widget. The problem is that when I am requesting GET in http link and it returns a html response; but when I try to render the html part of where the widget is, the…
xsephtion
  • 193
  • 1
  • 13
1
vote
1 answer

how to convert python script to executable with pyInstaller

I am trying to make the .exe for this code but i am unable to do that. I am using PyInstaller to make the .exe it make the .exe file but the file prompts an error Invalid file descriptor to ICU data received. This is how my code looks like import…
Huzoor Bux
  • 1,026
  • 4
  • 20
  • 46
1
vote
1 answer

Can a pywebview window be kept always on top?

When using the Python package pywebview, is it possible to create a window and keep it on top, like an always-showing control panel in the corner? The application will mostly be run on Windows, so if there isn't a platform independent solution, I am…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
0
votes
0 answers

pywebview "Save as PNG" unresponsive

I have a project using pywebview to display some data that I charted using Pandas and Altair. When using the interactive window that displays the charts, each chart has an option menu to save the chart as an SVG, PNG, etc... But, none of the buttons…
KJ0797
  • 187
  • 1
  • 2
  • 14
0
votes
0 answers

Dynaconf error when running from executable file

Context I have a flask application that runs locally. It is just a GUI for another program. I made it a desktop app by using pywebview and everything works fine when I run it using my local Python interpreter. Minimal representation of the project…
Davi A. Sampaio
  • 374
  • 2
  • 12
0
votes
1 answer

I got an error when I try to load url what contains a domain with language code at the beginig in pywebview

I am working at a mini web browser in python and I tried to make a refresh button but it don't load the domains what start with www or language code. Is this normal ? Can anyone help me with that ? Code: import webview as wb import webview.menu as…
cat
  • 54
  • 6
0
votes
0 answers

Python GUI enter data to database

I'm trying to create a gui application for python. I came across many bookstores. tkinter, qt and many others. I find Tkinter effective but very ugly on an aesthetic level. Qt I find great but also very complex. So I decided to rely on pywebview,…
0
votes
0 answers

WebView2 initialization failed with exception

I get an error while running pywebview application. [pywebview] Using WinForms / Chromium [1] DEBUG:pywebview:Using WinForms / Chromium [1] [pywebview] WebView2 initialization failed with exception: [1] The system cannot find the file specified.…
Nada Ghanem
  • 451
  • 6
  • 16
0
votes
1 answer

How can I log into a website within a tkinter gui using webview?

I wish to open a url in a tkinter gui. This works fine, however, when I click on the login icon it opens in an external browser. Am I able to log into the site and stay in the same tkinter gui? Thanks # Import tkinter and webview libraries from…
quietplace
  • 471
  • 1
  • 4
  • 14
0
votes
1 answer

Python webview in a maximized window

I am trying to show a local html page in pywebview in a maximized screen by default , I have tried all methods I could find but it didnt work. here is my code : from flask import Flask, send_from_directory import threading import webview import os …
Arad
  • 1
  • 3
0
votes
0 answers

With pywebview how can you have debug enabled but not automatically open the devtools popup window

The below code opens up a url in a pywebview window window = webview.create_window('Unreal Map Bridge', url='https://map.justgeektechs.com', height=height, width=width) window.events.closed += on_closed webview.start(func=custom_logic, args=window,…
dan
  • 2,857
  • 6
  • 34
  • 60
0
votes
0 answers

I want to use pywebview on tkinter. But it doesn't work

I try to implement url to appear in a specific area in tkinter using pywebview, but an error occurs. Source Code. import tkinter as tk import webview import threading def show_website(): # Tkinter 창 생성 root = tk.Tk() # Create a frame…
Jongpyo Jeon
  • 319
  • 1
  • 4
  • 7
0
votes
0 answers

Python PyWebView - Blank page on my Mac when try to loads any external item outside my localhost

I'm trying to execute a PyWebView example from this repo: https://github.com/r0x0r/pywebview I'm using the Flask Example: https://github.com/r0x0r/pywebview/tree/master/examples/flask_app When I try to load or interact with external item out of my…