Skip to content
onsuggest
Log in
Article en

Quiz: LBYL vs EAFP: Preventing or Handling Errors in Python

Source: Real Python ·

Test your grasp of Python's LBYL and EAFP coding styles, and learn when to prevent errors and when to handle them in your code.

What is Quiz: LBYL vs EAFP: Preventing or Handling Errors in Python?

Quiz: LBYL vs EAFP: Preventing or Handling Errors in Python is a article discovery curated from Real Python. Test your grasp of Python's LBYL and EAFP coding styles, and learn when to prevent errors and when to handle them in your code.

How can I access or experience this?

You can experience this content directly on its original host (Real Python) by clicking the "Open Original" button.

Where does this content come from?

Curated from Real Python by the OnSuggest team to surface the most interesting and serendipitous content on the web.

Article · Technology

Tesserae turns e-paper displays into easily customisable dashboards

Les Pounder writing on the Pimoroni blog covers Tesserae, a project from Melbourne developer Kayden D’Mello. Kayden describes it as “an ecosystem for e-ink displays. You design a dashboard in your browser, and Tesserae renders it and sends it to whatever panels you own.” The dashboard is designed once in a browser, with widgets placed […]

Adafruit Blog View Details →
Article · Technology

The PASTA/80 Pascal cross-compiler reaches version 1.00

pleumann has released version 1.00 of PASTA/80, a Pascal cross-compiler for Z80 systems, published on GitHub. The project took six years and 1000 commits. A cross-compiler runs on a modern machine and makes code for an older one. PASTA/80 is highly compatible with Turbo Pascal 3 for CP/M, so old source usually recompiles with few […]

Adafruit Blog View Details →

Keyboard shortcuts

Previous discovery
←P
Next discovery
→N
Like
L
Not for me
X
Save
S
Show this help
?
Close
Esc

Shortcuts work on the discovery page.