Python Articles

Sorted By: Most Recent
Giorgos Myrianthous Giorgos Myrianthous
Updated on August 28, 2024

Understanding Duck Typing in Python

Duck typing in Python is a term used to illustrate that code will execute an action based on the types of built-in objects being processed. Here’s what to know.  

Image: Shutterstock / Built In
Reza Lavarian Reza Lavarian
Updated on August 14, 2024

How to Fix TypeError: 'Str' Object Is Not Callable in Python

TypeError: 'str' object is not callable occurs when an string value is called as a function and can be solved by renaming the str value. Here’s how.

Image: Shutterstock / Built In
Reza Lavarian Reza Lavarian
Updated on August 14, 2024

How to Fix TypeError: ‘Int’ Object Is Not Callable in Python

TypeError: ‘int’ object is not callable occurs in Python when an integer is called as if it were a function. Here’s how to fix it. 

Image: Shutterstock / Built In
Ankit Malik Ankit Malik
Updated on August 09, 2024

Pascal Case vs. Camel Case Explained

Pascal case and camel case are two different casing styles used in programming for naming variables, class and type names. Learn the differences and other casing styles. 

Image: Shutterstock / Built In
Reza Lavarian Reza Lavarian
Updated on July 11, 2024

How to Fix TypeError: ‘List’ Object Is Not Callable in Python

TypeError: ‘list’ object is not callable is an error in Python that’s caused when a list is thrown as if it was a function. Here’s how to fix it.

Image: Shutterstock / Built In
Nick Hodges Nick Hodges
Updated on June 11, 2024

Dependency Injection: Everything You Need to Know

Dependency injection is a technique in which you make the interactions between objects as minimal as possible through specific dependencies. Here’s what to know.  

Image: Shutterstock / Built In
Benedict Neo Benedict Neo
Updated on June 05, 2024

Timing Function in Python: A Guide

You can time Python functions to measure how long it takes for your Python code to run or evaluate the performance of different approaches using time.perf)counter(), time.time() and more. Here’s how.

Image: Shutterstock / Built In
Juan Ramirez Juan Ramirez
Updated on June 04, 2024

What Is LangChain? Why Should Developers Care?

LangChain simplifies the creation of generative AI application interfaces, essential for building advanced NLP apps.

Image: Shutterstock / Built In
Andy McDonald Andy McDonald
Updated on May 08, 2024

Seaborn Pairplot: A Guide

Seaborn Pairplot is a Python data visualization library that allows you to plot pairwise relationships between variables within a data set. Here’s how to use it.

Image: Shutterstock / Built In
Dinesh Kumar K.B. Dinesh Kumar K.B.
Updated on May 07, 2024

JWT Decoded: A Guide

JSON web token (JWT) is an open standard used to safely share encrypted information between a client and a server. Learn how to decode JWT using Python.

Image: Shutterstock / Built In