Article
Matching strings or string patterns can be a real struggle. In the most common cases, you'll need these to validate emails, user inputs, file names, or most kinds of input strings. While there are many pattern-matching libraries and approaches - a time-tested approach is using Regular Expressions to define a...
Lazar Ristic
When we build large-scale distributed clusters of applications, we utilize all our efforts to break the monoliths into small containerized workloads that communicate among themselves and share information to perform various actions. We do not spend much time designing a messaging system. Messaging is typically treated as the central nervous...
Arpendu Kumar Garai
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....
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...
© 2013-2025 Stack Abuse. All rights reserved.