Skip to content

crmpicco/pcpp1

Repository files navigation

PCPP1™ – Certified Professional Python Programmer Level 1

(Exam PCPP-32-10x)

PCPP1-Badge

pycodestyle

Notes and small sample applications for the Python PCPP1 course and exam

Tkinter

Rangers tkinter app

Installation

brew install [email protected] # Install Tkinter on macOS

Widgets

  • Label - not clickable, no command attribute or callback functionality
  • Button - has a command attribute that is a callback function
  • Entry
  • Text
  • Frame - not clickable, no command attribute or callback functionality
  • Canvas

Geometry Managers

  • pack - simple "box" layout. Stacks widgets vertically or horizontally. Good for simple layouts. Uses side='top', side='bottom' etc...
  • grid - uses rows and columns, like a table. Best for forms and structured layouts. Uses row=x, column=y etc...
  • place - places widgets at exact x and y coordinates. Not recommended for responsive UIs. Uses .place(x=X, y=Y).

Events

  • bind / event handlers
  • unbind

Other

  • StringVar / IntVar
  • Command binding
  • messagebox
  • PhotoImage
  • destroy
  • config method

Resources

Data is retrieved from the free APIs at https://www.api-football.com/

About

Notes for the Python PCPP1 course and exam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages