Selecting Inheritance or Composition in Python

Selecting Inheritance or Composition in Python

When considering an object-oriented programming problem, should you prefer inheritance or composition? Why wouldn't it just be simpler to use functions? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.

Avsnitt(272)

Questions for New Dependencies & Comparing Python Game Libraries

Questions for New Dependencies & Comparing Python Game Libraries

What are the differences between the various Python game frameworks? Would it help to see a couple of game examples across several libraries to understand the distinctions? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

27 Maj 202251min

Advantages of Protobuf for Serialization in Python

Advantages of Protobuf for Serialization in Python

Would you like a way to send structured serialized data between different platforms and languages? What if the data was self-documenting, could automatically generate Python code, and would validate itself? This week on the show, Liran Haimovitch talks about protocol buffers and communicating with microservices through Remote Procedure Calls (RPC).

20 Maj 202258min

Start Testing Your Python with doctest & Pagination in Django

Start Testing Your Python with doctest & Pagination in Django

Did you know you can add testing to your Python code while simultaneously documenting it? Using docstrings, you can create examples of how your functions should interact in a Python REPL and test them with the built-in doctest module. This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

13 Maj 202256min

Run Python in a Browser With Pyodide & The Power of f-Strings

Run Python in a Browser With Pyodide & The Power of f-Strings

Have you heard about the projects working toward getting Python to run in the browser? Maybe you would like to try it out for yourself, by building an interactive Python REPL with Pyodide and WebAssembly (WASM). This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

6 Maj 202256min

Type-Safe ORM With Prisma Client & Real Python at PyCon US 2022

Type-Safe ORM With Prisma Client & Real Python at PyCon US 2022

Are you using an Object-Relational Mapper (ORM) for your Python projects? What if it could work with SQL or No-SQL databases and be fully type-safe? This week on the show, Robert Craigie talks about Prisma Client Python.

22 Apr 202258min

Class Constructors & Pythonic Image Processing

Class Constructors & Pythonic Image Processing

Do you know the difference between creating a class instance and initializing it? Would you like an interactive tour of the Python Pillow library? This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

15 Apr 202258min

Creating Better Error Messages for Python 3.10 & 3.11

Creating Better Error Messages for Python 3.10 & 3.11

What goes into creating those enhanced error messages in the latest versions of Python? How does the new PEG parser help to pinpoint where errors have occurred? This week on the show, Pablo Galindo Salgado talks about the work that goes into creating these improvements.

8 Apr 20221h 21min

Building a Hash Table in Python and Thoughtful REST API Design

Building a Hash Table in Python and Thoughtful REST API Design

Do you understand how a hash table works? What if you could learn about building one while practicing test-driven development? What are best practices when designing a REST API? This week on the show, Christopher Trudeau is here, and he's brought another batch of PyCoder's Weekly articles and projects.

1 Apr 202253min

Populärt inom Teknik

uppgang-och-fall
elbilsveckan
bilar-med-sladd
market-makers
skogsforum-podcast
rss-racevecka
rss-elektrikerpodden
developers-mer-an-bara-kod
natets-morka-sida
rss-technokratin
rss-laddstationen-med-elbilen-i-sverige
mediepodden
ai-sweden-podcast
rss-uppgang-och-fall
solcellskollens-podcast
hej-bruksbil
rss-it-sakerhetspodden
har-vi-akt-till-mars-an
teknikveckan
rss-badfluence