GUI programming: Create a Calculator in Python

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

Develop a Calculator app from scratch

Build the Graphical User Interface using Tkinter

Clock1 hour and 30 mins
IntermediateIntermedio
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

By the end of this guided project, you’ll create a fully functioning Calculator application using python’s popular library Tkinter. You’ll be able to create a Graphical User Interface (GUI) in Python from scratch. Throughout the first 3 tasks you’ll learn how to create and customize the application window, you’ll learn how to create widgets such as buttons and entry boxes, you’ll also learn how to modify the widgets and change their color, size and orientation and finally you’ll learn how to manage the layout of the widgets and how to place them in the window using three different methods. And in the last 3 tasks, you’ll use what you learned to build the graphical user interface of the calculator and get your calculator ready to use. Out of all the GUI methods in Python, Tkinter is the most commonly used method. Python with Tkinter is the fastest and easiest way to create GUI applications. Tkinter widgets can be used to construct buttons, menus, data fields, etc. in a Python application. Once created, these graphical elements can be associated with or interact with features, functionality, methods, data or even other widgets. This guided project is for intermediate programmers who already have general knowledge of Python basics and want to test out their knowledge with a real application and looking forward to developing a software in less than 1 hour. This project can be your portal into software development. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

  • Software Development
  • Python Programming
  • Tkinter
  • GUI programming

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Create the application window

  2. Create buttons and entry boxes

  3. Manage the layout of the window

  4. Build the calculator interface

  5. Add functionality to the buttons

  6. Handle the exception of dividing by zero

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.