M
M
Millerish2016-06-19 12:43:08
linux
Millerish, 2016-06-19 12:43:08

Python: how to make a GUI and compile under Win?

Good afternoon!
I'm learning python, sorry if this is a stupid question or worded incorrectly.
I wrote a script for python 2.7, now I use it under Ubuntu. Now I want to attach a graphical interface to it and somehow assemble it under win, so that it would be an exe or something in which it cannot be viewed.
Prompt:
1) Is it generally possible to do this? Perhaps I misunderstand the structure of such a development?
2) What should be the optimal scheme of work? Perhaps you should immediately try to write to win?
3) What is the simplest GUI library? I have tried pyQT, maybe there is something easier for a newbie?
4) How to compile or build an application under win so that it cannot be viewed? If this is an exe, then you need to write everything in python in one file, or can you split your code into modules?
5) How will such an application work if the user on win does not have a python?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Neyury, 2016-06-19
@Neyury

I'm learning python, version 3.x
I can answer two questions.
There is a Tkinter module in the standard library that allows you to create interfaces. (cross-platform graphics library)
The interpreter is embedded in the exe

V
Vladislav, 2016-06-19
@Hateman31

Try Kivy .
The assembly must be done under windows through Pyinstaller

E
Egor11111111, 2019-10-18
@Egor11111111

and then there will be a question ala why it doesn’t work, because kivy cannot be analyzed by Pytinstaller

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question