Python Articles

Sorted By: Most Recent
Rakia Ben Sassi Rakia Ben Sassi
Updated on April 29, 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
Yuval Erez Yuval Erez
Updated on April 25, 2024

How to Keep Your IT Job in an Age of Automation

Develop new skills and learn the latest tech to stay relevant.

Image: Shutterstock / Built In
Juan Ramirez Juan Ramirez
Updated on April 15, 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
Yang Zhou Yang Zhou
Updated on March 07, 2024

Python: 5 Ways 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
Stephen Adesina Stephen Adesina
Updated on March 04, 2024

Python Circular Import Error Solved

Python circular import is an error that occurs when two or more modules mutually depending on each other try to import before fully loading. Here’s how to solve it.

Image: Shutterstock / Built In
Giorgos Myrianthous Giorgos Myrianthous
Updated on February 22, 2024

How To Fix ModuleNotFoundError: No Module Named ‘Sklearn’

ModuleNotFoundError: No module named ‘sklearn’ is a Python error that can occur when importing the package to the source code. Here’s how to solve it.

Image: Shutterstock / Built In
Giorgos Myrianthous Giorgos Myrianthous
Updated on February 21, 2024

What Does “If __name__ == ‘__main__’” Do in Python?

__name__ is a special variable in Python. “If __name__== ‘__main__’” is a conditional statement that tells the Python interpreter under what conditions the main method should be executed.  

Image: Shutterstock / Built In
Seyma Tas Seyma Tas
Updated on February 21, 2024

Garbage Collection and Memory Management in Python

Garbage collection in Python is an automated memory management process that deletes objects when they’re no longer in use. Learn how it works.

Image: Shutterstock / Built In
Yancy Dennis Yancy Dennis
Updated on February 16, 2024

A Guide to HowDoI in Python

HowDoI is a command line utility in Python that allows you to search the internet for answers to programming questions. Here’s how to use it.

Image: Shutterstock / Built In
Juan Ramirez Juan Ramirez
Updated on February 13, 2024

6 Reasons to Learn Julia in 2024‍

Julia is gaining popularity due to its speed, user-friendly syntax and utility in scientific computing.

Image: Shutterstock / Built In