Comments (8)
Pythonnet does not require pywin32 or comtypes. However, if you freeze it both pywin32 and pythonnet libraries will be bundled provided you have them installed.
There is no difference from a developer point of view, which implementation you use, unless you are gonna target a really old Windows version that does not have .net included. Both use MSHTML in the end. The original motivation for the net implementation was Edge support, but as it turned out Edge is supported only in UWP apps. One can hope that Microsoft will backport Edge support to winforms. Comtypes compatibility problems with Python 3.5 until recently, so getting rid of this dependency was another factor for an alternative implementation
The net version is quite recent and is not tested properly. The application icon is missing or freezing with pyinstaller does not work out of the box, for instance. However, given how much easier is development is with .net comparing to win32, I am going to focus on the former. For example currently I have no plans for implementing load_html function for win32
The net implementation uses Windows Forms, not WPF by the way. I see no point in WPF support. UWP would be nice, but it is not possible at the moment.
To summarize all this, you can target either one, but the development of pywebview will be focused around .net in the future. I would love to hear about your experience with the net implementation.
from pywebview.
pythonnet can also target WPF
from pywebview.
Does that make a difference, given that all it does is load MSHTML?
from pywebview.
Oh, then there's another bug: winforms.py
imports a few things from win32.py
and (indirectly) makes use of both pywin32
and comtypes
. This does not look fixed on master.
from pywebview.
True, winforms.py imports a few things from win32.py and win_gen.py, but
they are no dependant on pywin32 or comtypes. What indirect use do you mean?
On 29 Oct 2016 12:53 a.m., "Jamie Bliss" [email protected] wrote:
Oh, then there's another bug: winforms.py imports a few things from win32.py
and (indirectly) makes use of both pywin32 and comtypes. This does not look
fixed on master.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#60 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABelWSWdH9NzCdmVnY590JWQvwO3w-sqks5q4m7ogaJpZM4Kju0x
.
from pywebview.
My bad, I see the bug now. I will refactor the code and get rid of unnecessary dependencies.
from pywebview.
Fixed in master. Winforms should not have any pywin32 or comtypes dependencies now.
from pywebview.
Fixed in 1.3
from pywebview.
Related Issues (20)
- Issue with pywebview Version Upgrade from 4.4.1 to 5.0.5 HOT 2
- Whether to support webgal HOT 4
- how to build android apk HOT 7
- webview tag in pywebview HOT 6
- Support transparency with blurred background. HOT 1
- Drag Area cannot be initialized by a script after page loads. HOT 3
- RangeError: Maximum call stack size exceeded. HOT 7
- Frameless window can not be minimized by clicking its taskbar button HOT 4
- Use window inside of tkinter HOT 4
- iframe cannot call Python HOT 1
- Nuitka support HOT 7
- [WIN] Folder Dialog - New folder is renamed with a delay.
- [Maybe bug] The todos app crashed immediately after I run "buildozer -v android debug deploy run" HOT 13
- google account logout after close the pywebview window HOT 4
- any way to edit the response headers (or somehow disable X-Frame-Options)? HOT 7
- How do I unround the corners of a borderless window?
- [QUESTION] Can pywebview be embedded anywhere? HOT 2
- How can we lift the CORS restrictions in pywebview? HOT 3
- javascript print() not working with pywebview HOT 1
- There's a problem here HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywebview.