Skip to content

Simple example using QWebEngine with QWebChannels to send a message back and forth between python and a locally served website

License

Notifications You must be signed in to change notification settings

marty0678/iFrame-Prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iFrame-Prototype

No this isn't an iFrame, that's just what this prototype intended to replicate.

Very basic example of serving a local HTML/JS file from QWebEngine, and using QWebChannel to communicate back and forth between JS and python.

Built with Python 3.10 and PySide6.

Quick Start

  1. Create venv
python -m venv ./venv
  1. Update pip
python -m pip install --upgrade pip
  1. Install requirements
pip install -r .\requirements.txt
  1. Launch the application
python .\main.py

Alternatively there is a VsCode launch.json configured, so you can start debugging with F5 as well.

About

Simple example using QWebEngine with QWebChannels to send a message back and forth between python and a locally served website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published