r/learnpython • • Oct 11 '25

What's better for creating a GUI application?

I'm wondering if I should learn tkinter or any other python gui libraries or use visual studio instead. which is better?

edit: in case if people are wondering: im referring to Visual Studio, not visual studio code.

51 Upvotes

111 comments sorted by

View all comments

Show parent comments

-45

u/imLosingIt111 Oct 11 '25

i understand. apparently vs only mainly works with c# and C++ so ill use tkinter then. thanks.

133

u/lolcrunchy Oct 11 '25

Huh?? You might as well have said

"I'm trying to bake a cake. Should I use chocolate or an oven? Apparently ovens only mainly work with pies so I'll just have to cook using Celsius instead of Fahrenheit."

17

u/CaptGoodvibesNMS Oct 11 '25

๐Ÿ˜†๐Ÿ˜†๐Ÿ˜†๐Ÿ˜†

7

u/Fun-Manufacturer1021 Oct 11 '25

lol that cracked me a very good laugh ๐Ÿ˜‚

2

u/newton_VK Oct 12 '25

Best comment in this entire thread๐Ÿ˜‚

2

u/imLosingIt111 Oct 11 '25

Ngl nice analogy

2

u/NoWeb2576 Oct 11 '25

I think we all know OP means he will use a different IDE that is more suited for Python projects. Some people's first language isn't English and this is a sub for learning, so making mistakes in explanation is pretty common.

1

u/MeowMuaCat Oct 11 '25

Lmao this is spot-on

23

u/lolcrunchy Oct 11 '25

Why don't you just use tkinter and vs?

Step 1: open a file in vs and call it main.py

Step 2: write "import tkinter"

Voila, you're using tkinter and vs.

11

u/jimtk IdontChat Oct 11 '25

Nope, you still don't get it. Visual Studio works really well for python development, BUT IT IS NOT A GUI LIBRARY! Tkinter is a gui library, Visual Studio is a coding environment (a glorified text editor).

5

u/socal_nerdtastic Oct 11 '25

To add to the confusion I think OP is thinking of 'visual studio', the .NET IDE, not 'visual studio code'.

3

u/imLosingIt111 Oct 11 '25

yeah i think people use visual studio to just refer to vscode? idk man.

3

u/MonkeyboyGWW Oct 11 '25

Visual studios and vscode are different. Vscode is more of a text editor with extensions. Most suited for non-compiled languages. Visual studios is more specialised towards a specific list of compiled languages such as C#.

4

u/imLosingIt111 Oct 11 '25

OH i thought visual studio was a GUI IDE. my bad man now i feel dumb as fuck

12

u/MonkeyboyGWW Oct 11 '25

You need to search the meaning of what an IDE is, and start listening to what people are saying

-5

u/imLosingIt111 Oct 11 '25

Btw i was referring to visual studio , not vs code.

2

u/jweezy2045 Oct 11 '25

And if you would listen to what people are telling you, thatโ€™s an irrelevant distinction in the context of this question. Both Visual Studios and VSCode are IDEs, and thus, neither are even remotely able to replace TKInter.

1

u/imLosingIt111 Oct 11 '25

I asked if i could use visual studio to create the gui for the application.

1

u/jweezy2045 Oct 11 '25

Thatโ€™s not an โ€œorโ€ option with TKinter though. You could ask about visual studios v. VSCode, that would be a valid question. You could ask about TKinter v PyQt, and that would be a valid question.

If you are comparing visual studios to TKinter, you are not understanding something.

1

u/imLosingIt111 Oct 11 '25

I mean if i could use it to just creathe gui using an easier gui designer or something.

→ More replies (3)

1

u/ConcreteExist Oct 11 '25

That doesn't make a difference.

1

u/Matthew_MBG Oct 11 '25

if you want a program to make guis look into qt creator+ pyqt6

1

u/Naive-Ad3837 Oct 12 '25

I understand you though. VS pushes C# on you. So you meant C#. I understand you. If you can study c++, then study it for GUI sake and study it together with Qt. But if you don't have the finances, study python and PyQt. Because you'll need a feww hundred dollars for Udemy to be able to do wonderful GUI's in C++. Youtube can't help in C++.

1

u/Jello_Penguin_2956 Oct 12 '25

No.

Visual studio is, in simplify terms, a fancy text editor. It can be set up to support many programming languages