GUI programming: Create a Calculator in Python

oferecido por
Coursera Project Network
Neste projeto guiado, você irá:

Develop a Calculator app from scratch

Build the Graphical User Interface using Tkinter

Clock1 hour and 30 mins
IntermediateIntermediário
CloudSem necessidade de download
VideoVídeo em tela dividida
Comment DotsInglês
LaptopApenas em desktop

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 você desenvolverá

  • Software Development
  • Python Programming
  • Tkinter
  • GUI programming

Aprender passo a passo

Em um vídeo reproduzido em uma tela dividida com a área de trabalho, seu instrutor o orientará sobre esses passos:

  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

Como funcionam os projetos guiados

Sua área de trabalho é um espaço em nuvem, acessado diretamente do navegador, sem necessidade de nenhum download

Em um vídeo de tela dividida, seu instrutor te orientará passo a passo

Perguntas Frequentes – FAQ

Perguntas Frequentes – FAQ

Mais dúvidas? Visite o Central de Ajuda ao estudante.