Python Articles

Sorted By: Most Recent
Rakia Ben Sassi Rakia Ben Sassi
Updated on September 10, 2024

Compiler vs. Interpreter in Programming

Compilers and interpreters are used to convert a high-level language into machine code. However, there are differences between how and when they work.

Image: Shutterstock / Built In
Yang Zhou Yang Zhou
Updated on September 09, 2024

Python: How to List Files in Directory

In this tutorial, you will learn 5 ways in Python to list all files in a specific directory. Methods include os.listdir(), os.walk(), the glob module and more.

Image: Shutterstock / Built In
Harshil Patel Harshil Patel
Updated on September 04, 2024

Quicksort Algorithm: An Overview

Quicksort is a sorting algorithm that uses a divide-and-conquer strategy to split and sort an array. It has a time complexity of O nlogn.

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 D. Ramirez Juan D. 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