atlas news
    
Stack Abuse
25  janvier     19h10
Guide to Strings in Python
Dimitrije Stamenic    A string in Python is a sequence of characters. These characters can be letters, numbers, symbols, or whitespace, and they are enclosed within quotes. Python supports both single ’ ’ and double quotes to define a string, providing flexibility based on the coder’s preference or specific...
14  décembre     19h27
Behind the Scenes: Never Trust User Input
Scott Robinson    This article is the first in a series of posts I’m writing about running various SaaS products and websites for the last years. I’ll be sharing some of the issues I’ve dealt with, lessons I’ve learned, mistakes I’ve made, and maybe a few things that went right. Let me
15  novembre     19h21
Guide to Heaps in Python
Dimitrije Stamenic    Explore the intricacies of heaps, a tree based data structure adept at maintaining order and hierarchy. Dive into Python’s’ heapq module, offering a rich set of functionalities for managing dynamic data sets where priority elements are frequently accessed. Learn how heaps stand out in the world of...
09  novembre     20h19
Guide to Hash Tables in Python
Dimitrije Stamenic    While Python doesn’t have a built in data structure explicitly called a hash table , it provides the dictionary, which is a form of a hash table. Python dictionaries are unordered collections of key value pairs, where the key is unique and holds a corresponding value. Thanks to a process known as...
08  novembre     20h28
Guide to Queues in Python
Dimitrije Stamenic    From storing simple integers to managing complex workflows, data structures lay the groundwork for robust applications. Among them, the queue often emerges as both intriguing and ubiquitous. Think about it a line at the bank, waiting for your turn at a fast food counter, or buffering tasks in a...
02  novembre     15h49
Guide to Stacks in Python
Dimitrije Stamenic    At its core, a stack is a linear data structure that follows the LIFO Last In First Out principle. Think of it as a stack of plates in a cafeteria; you only take the plate that’s on top, and when placing a new plate, it goes to the top of
26  octobre     15h47
Linear Search in Python
Dimitrije Stamenic    Linear Search, also known as Sequential Search, operates by traversing through the dataset, element by element until the desired item is found or the algorithm reaches the end of the collection. Its simplicity and ease of implementation make it a go to choice for small datasets and lists where...
23  octobre     14h12
How to Delete a File or Folder in Python
Scott Robinson    Deleting a file in Python is fairly easy to do. Let’s discuss two methods to accomplish this task using different Python modules. Using the ’os’ Module The os module in Python provides a method called os.remove that can be used to delete a file. Here’s a simple example: import
19  octobre     19h05
Guide to Arrays in Python
Dimitrije Stamenic    An array is a structured way to store multiple items like numbers, characters, or even other arrays in a specific order, and you can quickly access, modify, or remove any item if you know its position index . In this guide, we’ll give you a comprehensive overview of the array data
18  octobre     15h39
Guide to Sets in Python
Dimitrije Stamenic    Introduction At a glance, they might seem similar to lists or dictionaries, but sets come with their own set of properties and capabilities that make them indispensable in certain scenarios. Whether you’re looking to efficiently check for membership, eliminate duplicate entries, or perform...
13  octobre     03h38
Fix: RecursionError: maximum recursion depth exceeded in Python
Scott Robinson    Introduction Python is known for its simplicity and readability. Although, even in Python, you may occasionally stumble upon errors that don’t make a lot of sense at first glance. One of those errors is the RecursionError: maximum recursion depth exceeded. This Byte aims to help you understand what...
12  octobre     02h40
Get Name from an Email Address with JavaScript
Scott Robinson    Introduction Let’s talk about extracting names from email addresses using JavaScript. This can be useful when you’re dealing with bulk data and need to personalize your communication. For instance, you might want to send out a mass email to your users but address each one by their name. Let’s see
11  octobre     18h40
Refreshing a Web Page Using JavaScript or jQuery
Scott Robinson    Introduction Let’s explore a fundamental task in web development: refreshing a web page. But we’re not talking about the classic F or CTRL R here. We’re instead going to be using JavaScript and jQuery to programmatically refresh a page. This is a handy trick for when you need a hard
    16h55
What is export default in JavaScript?
Scott Robinson    Introduction If you’ve been working with JavaScript, you’ve probably come across the term export default and wondered what it is or how it works. This Byte is meant for developers with a basic understanding of JavaScript, who are looking to deepen their knowledge of the language’s intricacies. We...
10  octobre     16h17
Fix ModuleNotFoundError: No module named ’pip’ in Python
Scott Robinson    Introduction As a Python developer, you may have encountered the error ModuleNotFoundError: No module named ’pip’. This error is typically thrown when you attempt to use pip, Python’s package installer, but it’s not available in your system. It’s a common issue, especially for beginners setting up...