Об'єктно-орієнтований підхід до створення графічного інтерфейсу користувача в Python із використанням модуля Tkinter
The article analyzes the application of the object-oriented approach in the development of programs with a graphical user interface using the Python programming language and its standard Tkinter module. The focus of the research is on approaches to GUI application development in the context of teach...
Uložené v:
| Vydané v: | Математика, інформатика, фізика: наука та освіта Ročník 2; číslo 1; s. 169 - 175 |
|---|---|
| Hlavní autori: | , , |
| Médium: | Journal Article |
| Jazyk: | English Ukrainian |
| Vydavateľské údaje: |
Vinnytsia Mykhailo Kotsiubynskyi State Pedagogical University
21.05.2025
|
| Predmet: | |
| ISSN: | 3041-1955, 3041-1955 |
| On-line prístup: | Získať plný text |
| Tagy: |
Pridať tag
Žiadne tagy, Buďte prvý, kto otaguje tento záznam!
|
| Shrnutí: | The article analyzes the application of the object-oriented approach in the development of programs with a graphical user interface using the Python programming language and its standard Tkinter module. The focus of the research is on approaches to GUI application development in the context of teaching programming, as well as their methodological significance for the professional training of future mathematics teachers. Based on a comparative analysis of the implementation of a simple calculator in procedural style and using the object-oriented approach, the advantages of the latter are demonstrated in terms of code structuring, reduction of redundancy, and simplification of further functionality extension. The article highlights the key principles of object-oriented programming such as encapsulation, inheritance, and polymorphism, and their implementation in Python. It is emphasized that the use of classes allows isolating the logic of GUI components, improves code maintainability, and facilitates application scalability. Particular attention is given to the educational aspect of the study: the development of GUI applications based on object-oriented programming fosters the development of algorithmic, logical, and object-oriented thinking in students. It is noted that such activities are well aligned with the curricula for training future mathematics teachers, particularly within informatics-related disciplines.
У статті проаналізовано застосування об’єктно-орієнтованого підходу у процесі створення програм з графічним інтерфейсом користувача мовою Python із використанням стандартного модуля Tkinter. Об’єктом дослідження виступають підходи до розробки GUI-додатків у контексті навчання програмуванню, а також їх методичне значення для професійної підготовки майбутніх учителів математики. На основі порівняльного аналізу програмної реалізації простого калькулятора у процедурному стилі та з використанням об’єктно-орієнтованого підходу продемонстровано переваги останнього з точки зору структурованості коду, зменшення дублювання та спрощення подальшого розширення функціональності програмного продукту. У статті акцентується увага на ключових принципах об’єктно-орієнтованого програмування, таких як інкапсуляція, спадкування та поліморфізм, і їхній реалізації у Python. Підкреслено, що використання класів дозволяє ізолювати логіку GUI-компонентів, поліпшує підтримку коду та полегшує масштабування додатків. Окремий акцент зроблено на освітньому аспекті дослідження: створення GUI-додатків на базі об’єктно-орієнтованого програмування сприяє розвитку алгоритмічного, логічного та об’єктного мислення у студентів. Зазначено, що така діяльність гармонійно вписується у навчальні програми підготовки майбутніх учителів математики, зокрема в рамках дисциплін інформатичного спрямування. |
|---|---|
| ISSN: | 3041-1955 3041-1955 |
| DOI: | 10.31652/3041-1955-2025-02-01-05 |