当前位置:   article > 正文

python界面开发webview_pywebview是webview组件的轻量级跨平台原生封装,实现利用Web技术开发GUI应用...

you must have pythonnet installed in order to use pywebview

logo.png

68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f616c6c2f62616467652e7376673f6c6162656c3d66696e616e6369616c2b636f6e7472696275746f727368747470733a2f2f62616467652e667572792e696f2f70792f7079776562766965772e73766768747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f70797765627669657768747470733a2f2f7472617669732d63692e6f72672f72307830722f7079776562766965772e7376673f6272616e63683d6d617374657268747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6e75366d6268766271303377756478642f6272616e63682f6d61737465723f7376673d74727565

pywebview is a lightweight cross-platform wrapper around a webview component that allows to display HTML content in its own native GUI window. It gives you power of web technologies in your desktop application, hiding the fact that GUI is browser based. You can use pywebview either with a lightweight web framework like Flask or Bottle or on its own with a two way bridge between Python and DOM.

pywebview uses native GUI for creating a web component window: WinForms on Windows, Cocoa on macOS and QT or GTK on Linux. If you choose to freeze your application, pywebview does not bundle a heavy GUI toolkit or web renderer with it keeping the executable size small. pywebview is compatible with Python 3.

pywebview is created by Roman Sirokov. Maintained by Roman and Shiva Prasad.

Getting started

Install

pip install pywebview

On Linux you need additional libraries. Refer to the installation page for details.

Hello world

import webview

webview.create_window('Hello world', 'https://pywebview.flowrl.com/hello')

webview.start()

Explore pywebview further by reading documentation, examples or contributing. If React is your thing, get started right away with React boilerplate.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute]. 68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f636f6e7472696275746f72732e7376673f77696474683d38393026627574746f6e3d66616c7365

Financial Contributors

Become a financial contributor and help us sustain our community. More donation options are outlined on the Donating page.

Individuals

68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f696e646976696475616c732e7376673f77696474683d383930

68747470733a2f2f63352e70617472656f6e2e636f6d2f65787465726e616c2f6c6f676f2f6265636f6d655f615f706174726f6e5f627574746f6e2e706e67

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f302f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f312f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f322f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f332f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f342f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f352f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f362f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f372f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f382f6176617461722e73766768747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7079776562766965772f6f7267616e697a6174696f6e2f392f6176617461722e737667

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/206436
推荐阅读
相关标签
  

闽ICP备14008679号