python 嵌入式介绍,安装相关环境

介绍

https://blog.csdn.net/m0_52475295/article/details/127411707

安装 tkinter

https://blog.csdn.net/superxgl/article/details/124441270

放置自己的程序

将自己的程序按照下图放置程序

share_screen 目录

该目录放的是主程序,如下图:

按照下面方式引入模块:

from . import local_ip

main.py

from share_screen import window

if __name__ == '__main__':
    window.showWindow()

启动.bat

start pythonw main.py

原文出处:https://malaoshi.top/show_1IX6BwgoKSjU.html