Article
Working with datetimes can be challenging, and handling datetime in Python is no exception. Python's built-in datetime module introduced us to several classes - date, datetime, time, timezone and timedelta, and several external libraries have spawned to address the issues present in the official module, such as Arrow. In this...
Geoffery, Joseph
The Portable Document Format (PDF) is not a WYSIWYG (What You See is What You Get) format. It was developed to be platform-agnostic, independent of the underlying operating system and rendering engines. To achieve this, PDF was constructed to be interacted with via something more like a programming language, and...
Joris Schellekens
By definition, a factorial is the product of a positive integer and all the positive integers that are less than or equal to the given number. In other words, getting a factorial of a number means to multiply all whole numbers from that number, down to 1. 0! equals 1...
Ruslan Hasanov
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....
Lazar Ristic
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...
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...
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.