
Jun 24, 2022 56m
Have you ever heard about PyScript? The brand-new framework has the neighborhood enthusiastic about constructing interactive Python functions that run fully inside the consumer’s browser. Would you prefer to dig into the main points past the “Hi there World” examples? This week on the present, Christopher Trudeau is right here, bringing one other batch of PyCoder’s Weekly articles and tasks.
Episode Sponsor:
We discuss a Actual Python tutorial from Bartosz Zaczyński about PyScript. The article gives an preliminary have a look at the framework after which takes you deep into the intricacies. We additionally share further assets to assist familiarize you with the mission.
Christopher talks about one other Actual Python article, this one on methods to strategy managing errors in Python. The tutorial “LBYL vs EAFP: Stopping or Dealing with Errors in Python” is from frequent contributor Leodanis Pozo Ramos.
We cowl a number of different articles and tasks from the Python neighborhood, together with discussing the PSF’s Python Builders Survey 2021 Outcomes, Django static information and templates, methods to profile Python code, a launcher for penetration testing, and a mission for confirming Python variations by means of syntax errors.
Course Highlight: Building a Django User Management System
On this video course, you’ll discover ways to lengthen your Django software with a consumer administration system, full with e mail sending and third-party authentication.
Subjects:
- 00:00:00 – Introduction
- 00:02:32 – LBYL vs EAFP: Stopping or Dealing with Errors in Python
- 00:08:38 – How To Profile Python Code
- 00:18:52 – Sponsor: CData Software program
- 00:19:35 – Django Static Recordsdata and Templates
- 00:26:35 – A First Take a look at PyScript: Python within the Net Browser
- 00:38:20 – Video Course Highlight
- 00:39:39 – Python Builders Survey 2021 Outcomes
- 00:48:19 – python-syntax-errors: Model-Particular No-Ops
- 00:50:03 – arsenal: Stock Launcher for Penetration Testing
- 00:55:03 – Thanks and goodbye
Subjects Hyperlinks:
- LBYL vs EAFP: Preventing or Handling Errors in Python – On this tutorial, you’ll find out about two in style coding kinds in Python: look earlier than you leap (LBYL) and simpler to ask forgiveness than permission (EAFP). You need to use these kinds to take care of errors and distinctive conditions in your code. You’ll dive into the LBYL vs EAFP dialogue in Python.
- How To Profile Python Code – Regardless of how good you’re, typically your code simply runs slowly. Studying methods to correctly profile your software program to establish and repair bottlenecks is a helpful talent. This text talks about what it is advisable know to measure your code’s efficiency and methods to use the cProfile,
profile
, andtimeit
libraries, together with others. - Django Static Files and Templates – “Static information like CSS, JavaScript, and fonts are a core piece of any trendy internet software. They’re additionally usually complicated for Django newcomers since Django gives great flexibility round how these information are used. This tutorial will exhibit present finest practices for configuring static information in each native growth and manufacturing.”
- A First Look at PyScript: Python in the Web Browser – On this tutorial, you’ll find out about PyScript, a brand new framework that enables for working Python within the internet browser with few or no code modifications and glorious efficiency. You’ll leverage browser APIs and JavaScript libraries to construct wealthy, extremely interactive internet functions with Python.
Dialogue:
Initiatives:
Extra Hyperlinks:
Tweet
Share
Share
Email
class=”h4″>