Python abs() Function

Python’s built-in abs(x) function returns the absolute value of the argument x that can be an integer, float, or object implementing the __abs__() function. For a complex number, the function returns its magnitude. The absolute value of any numerical input argument -x or +x is the corresponding positive value +x. Argument x int, float, complex, … Read more

Web Scraping With BeautifulSoup In Python

Summary: Web scraping is the process of extracting data from the internet. It is also known as web harvesting or web data extraction. Python allows us to perform web scraping using automated techniques. BeautifulSoup is a Python library used to parse data (structured data) from HTML and XML documents. The internet is an enormous wealth … Read more

Python Built-In Functions

Python comes with many built-in functions you can use without importing a library. The following table goes over all built-in functions in alphabetical order. If you click on any of the provided links, you’ll find an in-depth article with a short explainer video on the Finxter blog to help you improve your skills. Just follow … Read more

Python Regex Multiple Repeat Error

Just like me an hour ago, you’re probably sitting in front of your regular expression code, puzzled by a strange error message: Why is it raised? Where does it come from? And, most importantly, how can you get rid of it? This article gives you answers to all of those questions. Alternatively, you can also … Read more

Exponential Fit with SciPy’s curve_fit()

In this article, you’ll explore how to generate exponential fits by exploiting the curve_fit() function from the Scipy library. SciPy’s curve_fit() allows building custom fit functions with which we can describe data points that follow an exponential trend. In the first part of the article, the curve_fit() function is used to fit the exponential trend … Read more

Christian Mayer

Chris is the founder of the programming education company FINXTER, author of the Coffee Break Python series of self-published books, the popular programming book Python One-Liners (NoStarch 2020), a doctorate computer scientist, and owner of one of the top 10 Python blogs worldwide. His research interests include graph theory and distributed systems. You can join … Read more

Law of Demeter

This tutorial gives you a short explanation of the law of Demeter. It’s based on a rough chapter draft for my upcoming book “From One to Zero” to appear with NoStarch in 2021. You’ve already learned that one of the most important reasons for code complexity is interdependency. To write clean code, you must minimize … Read more

Freelance Developer – How to Code From Home and Earn Six Figures [Industry Report]

Six Figure Coder

What keeps you going day after day? Your motivation is the most important building block of your success. In the following, Iā€™d like to give you some fact-based motivation why creating your coding business online can easily be the most rewarding decision in your life.Ā  Yet, motivation is not everything. If you want to make … Read more

Python BeautifulSoup Examples

Introduction In this tutorial, we will explore numerous examples of using the BeautifulSoup library in Python. For a better understanding let us follow a few guidelines/steps that will help us to simplify things and produce an efficient code. Please have a look at the framework/steps that we are going to follow in all the examples … Read more