Article
When working in a request-response lifecycle, you want to make sure that a response with the wanted body - or at least an informative response arrives so the client that requested the data stays in the loop. In case of null values, you'll probably want to return a different result....
Lazar Ristic
Python is a flexible language, and there's typically several ways to perform the same, menial task. Choosing an approach can depend on the time or space complexity, or simply on your personal preference. Python's data structures are quite handy and intuitive, and their built-in functionalities are easy to work with....
In this short tutorial, we'll take a look at how to concatenate strings in Python, through a few different approaches. It's worth noting that strings in Python are immutable - a string object in memory cannot be changed once created: newString = "Some new string" If you'd like to...
We commonly need and want to know more about the files and directories that we are working with. Most people know one of the ways, which is simply to Right Click > Properties on the wanted folder or file to view their properties. Though, for the more terminal-savvy, here's how...
Guest Contributor
Software Design Patterns help accelerate the development process by providing a reusable blueprint for your code to solve a particular problem. We follow Design Patterns to write generalized, reusable, and readable code that could be easily understood by others familiar with the patterns we've applied. They encapsulate cumulative experience of...
Sathiya Sarathi Gunasekaran
A DataFrame is a data structure that represents a special kind of two-dimensional array, built on top of multiple Series objects. These are the central data structures of Pandas - an extremely popular and powerful data analysis framework for Python. Advice: If you're not already familiar with DataFrames and how...
Dimitrije Stamenic
In this guide, we'll take a look at how to find the maximum element of a few common data structures in Python, such as a list, dictionary, and tuple. The max() method, built into the Python namespace works wonders here for built-in types. How to Get the Max Element of...
Using a terminal can be a bit of an intimidating experience in the beginning - but after you get used to it, it can boost your productivity in ways you couldn't imagine and can become quite a pleasurable experience. That's probably the most addicting part of using the terminal daily....
Resources on the Web are located under some kind of web-address (even if they're not accessible), oftentimes referred to as a URL (Uniform Resource Locator). These resources are, most of the time, manipulated by an end-user (retrieved, updated, deleted, etc.) using the HTTP protocol through respective HTTP Methods. In this...
© 2013-2025 Stack Abuse. All rights reserved.