Python Forum
How to create multiple widget in GUI? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: How to create multiple widget in GUI? (/thread-27079.html)



How to create multiple widget in GUI? - luthfidali - May-25-2020

Halo,

My name is luthfidali, currently Im learning about python GUI. I would like to create multiple widgets with numpy library but I do not know how to create that. I really need your help.

I really hope you can help me creating multiple widgets in python.

Thankyou!


RE: How to create multiple widget in GUI? - Larz60+ - May-25-2020

Based on your post, I gather you are just starting.
you could just start a project and jump off the boat before learning to swim, but I suggest:
  • There are many GUI packages, see: https://wiki.python.org/moin/GuiProgramming
  • NumPy is a numerical computing package, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions. It is not dependant on any one GUI package, it is commonly used in conjunction with Matplotlib which is a plotting language
  • Matplotlib is used for embedding plots into applications using general-purpose GUI toolkits like Tkinter, wxPython, Qt, or GTK+
  • SciPy builds on the NumPy array object and is part of the NumPy stack which includes tools like Matplotlib, pandas and SymPy, and an expanding set of scientific computing libraries.

My suggestion is to choose a GUI, the link above is a good place to evaluate which one you'd like to use. This may change based on the project at hand. I recommend wxpython, Kivy or Qt5. Learn how to use this first, there are many tutorials available for each package.

Then start playing around with NumPy, SciPy and Matplotlib then pandas and SymPy.

There's a lot of learning here, it makes more sense to learn GUI separately, than the others in combination.

Most of all have fun!