Daniel Roy Greenfeld: TIL: Autoreload for Jupyter notebooks

How to skip having to restart your notebook on code changes. » https://daniel.feldroy.com | daniel.feldroy.com

26 de diciembre de 2024 · 1 min · 15 palabras · Nacho Cano

The Ultimate Guide to Python Operators with Examples

This guide covers arithmetic, comparison, logical, assignment, bitwise, membership, and identity operators with examples. » Ravi Saive | tecmint.com

18 de diciembre de 2024 · 1 min · 19 palabras · Nacho Cano

How to Use PyTest for Unit Testing in Python

In this article, we will learn how to write and run effective unit tests in Python using PyTest, one of the most popular testing frameworks for Python. » Ravi Saive | tecmint.com

18 de diciembre de 2024 · 1 min · 32 palabras · Nacho Cano

Expression vs Statement in Python: What's the Difference?

In this tutorial, you’ll explore the differences between an expression and a statement in Python. You’ll learn how expressions evaluate to values, while statements can cause side effects. You’ll also explore the gray areas between them, which will enhance your Python programming… » Real Python | realpython.com

4 de diciembre de 2024 · 1 min · 47 palabras · Nacho Cano

Quiz: Python Dictionary Comprehensions: How and When to Use Them

In this quiz, you’ll test your understanding of Python dictionary comprehensions. Dictionary comprehensions are a concise and quick way to create, transform, and filter dictionaries in Python, and can significantly enhance your code’s conciseness and readability. » Real Python | realpython.com

26 de noviembre de 2024 · 1 min · 41 palabras · Nacho Cano

10 Best Python Libraries Every Data Analyst Should Learn

This article covers 10 essential Python libraries for data analysts, explained simply with examples to help you solve data analysis problems efficiently. » Ravi Saive | tecmint.com

21 de noviembre de 2024 · 1 min · 27 palabras · Nacho Cano

Michael Foord: Python Metaclasses in Eight Words

Python metaclasses, considered advanced programming and Python “black magick” (*) explained in eight words: The type of a class is a class. Here’s what knowledge of Object Oriented theory and type systems permit you to deduce from this: Using the word “class”, instead of “the… » Agile Abstractions: Michael Foord | agileabstractions.com

8 de noviembre de 2024 · 1 min · 52 palabras · Nacho Cano

Real Python: Quiz: Using .__repr__() vs .__str__() in Python

In this quiz, you’ll test your understanding of Python’s dunder repr and dunder str special methods. These methods allow you to control how a program displays an object, making your classes more readable and easier to debug and maintain. » Real Python | realpython.com

1 de noviembre de 2024 · 1 min · 44 palabras · Nacho Cano

Python's Magic Methods in Classes

In this video course, you’ll learn what magic methods are in Python, how they work, and how to use them in your custom classes to support powerful features in your object-oriented code. » Real Python | realpython.com

29 de octubre de 2024 · 1 min · 37 palabras · Nacho Cano

Talk Python to Me: #482: Pre-commit Hooks for Python Devs

Do you struggle to make sure your code is always correct before you check it in? What about your team members » Michael Kennedy (@mkennedy) | talkpython.fm

25 de octubre de 2024 · 1 min · 27 palabras · Nacho Cano