T
T
Tyrion Lannister2017-02-03 23:27:19
Python
Tyrion Lannister, 2017-02-03 23:27:19

Is it possible to write a GUI program without libraries in Python?

I mean without Tkinter, PyQt, wxWidgets, but in pure python. And if so, how?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
Jacob E, 2017-02-03
@Zifix

You can, first we write our own binding over the graphical API of our OS, we get a window and the ability to draw on it. Then we draw buttons and process events with our hands, why not?

V
Vladislav Tikhonov, 2017-02-04
@wolterx

And actually why? For interest? And if for development, then I don’t know why PyQt isn’t the same ... Perhaps you were killed by installing packages and you have already decided to do it without a lib. There is an installation or sometimes completely discourages the desire to do anything. Especially when you're still a beginner... Or perhaps you think that it's not cool to use anything... Well then, I just want to say one thing - "Don't reinvent the wheel!"
And if everything is due to the installation of a lib, then I can help you.
Write to VK:
Tyts

N
NaName, 2017-02-04
@NaName

You can't, because python partially consists of C libraries and you can't throw them out without breaking the interpreter? The answer is just for variety)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question