在python中为数据分析制作一个可执行的Gui

2024-06-16 10:05:04 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个数据集,想写一个python代码来分析这些数据并用GUI(比如glueviz)表示图表(主要是直方图)。 在最后一步中,我想将GUI和代码合并到一个文件夹中的可执行文件中,这样最终用户就不需要任何python了。你知道吗

在R的情况下,我会使用shiny来解决这样的问题,但是不能轻易地将shiny和R发布/部署到一个可执行的独立文件中!你知道吗

对于python,我可以使用哪个GUI?GUI可能看起来像shinyglueviz。 最后,如何从本地运行的计算引擎和GUI生成可执行文件(在Windows中)?
GUI+计算引擎(python)->;一个_文件.exe

请注意,我知道python中的plot包。python中也有几个GUI包。然而,问题是

有吗 GUI(可以显示图形)+计算引擎(python),两者相互集成?你知道吗


Tags: 文件数据代码引擎文件夹可执行文件windows部署
1条回答
网友
1楼 · 发布于 2024-06-16 10:05:04

您可能需要查看Rinnofound on CRAN。你知道吗

有关入门的信息可在author's webpage上找到,简而言之:

install.packages("RInno")
require(RInno)
RInno::install_inno()

We put a simple example Shiny app in the package:

example_app(app_dir = "app") 

A minimal installation can be created using the package defaults with two lines of code:

create_app(app_name = "myapp", app_dir = "app")
compile_iss()

Now, there should be a new directory, app/RInno_installer, in your working directory. Double-click the .exe to see how that example app can be installed on your computer.

相关问题 更多 >