As we kick off 2020, I wanted to start getting back to some of my favorite content: Python “how to” content. Today, we’ll be looking at how to comment code in Python—a skill we should all have. To summarize, there are three main ways to make comments in Python. To make inline comments, use the hash mark, #. To make ...
Read More »8 Coolest Python Programming Language Features
After writing nearly 20 articles just about Python, I’ve decided to take some time to reflect on what I’ve learned. For instance, I recently wrote a compilation article which includes 70+ Python code snippets. Now, I’ve put together a list of some of the coolest Python programming language features. Coolest Python Features List And without further ado, let’s take a ...
Read More »How to Check if a String Contains a Substring in Python: In, Index, and More
One concept that threw me for a loop when I first picked up Python was checking if a string contains a substring. After all, in my first language, Java, the task involved calling a method like indexOf() or contains(). Luckily, Python has an even cleaner syntax, and we’ll cover that today. To summarize, we can check if a string contains ...
Read More »How to Add an Item to a List in Python: Append, Slice Assignment, and More
Lately, I’ve been thinking about new Python topics to write about, so I took to Google. When I searched “Python how to”, “Python how to add to a list” popped up first. Since this must be a popular search term, I decided it was worth an article. In other words, today we’ll learn how to add an item to a ...
Read More »How to Perform a Reverse Dictionary Lookup in Python: Generator Expressions and More
Welcome to yet another Python tutorial. Today, we’re taking a look at dictionaries and how we can perform a reverse dictionary lookup. In words, how do we get a key from a dictionary given a value? As it turns out, there are three main solutions. First, we could try explicitly looping over the dictionary using something like my_dict.items(). Alternatively, we could ...
Read More »71 Python Code Snippets for Everyday Problems
If you’ve been following me for any amount of time, you know that I regularly publish Python code snippets for everyday problems. Well, I figured I’d finally aggregate all those responses in one massive article with links to all those resources. Everyday Problems In this section, we’ll take a look at various common scenarios that arise and how to solve ...
Read More »What Are The Benefits Of Website Testing On The Cloud?
The development of web applications is becoming more and more dynamic. Big and small enterprises are rolling out web applications and upgraded versions in very short intervals. The faster your release cycles are, the more important it becomes to thoroughly your web applications. To support agile methodology, professionals are constantly striving to discover assets beneficial to the QA teams. One ...
Read More »CSS Preprocessors – Sass vs LESS vs Stylus (With Examples)
It has been a while since the concept of CSS Preprocessor made its debut into the mainstay of front-end web development workflow and changed the way we code CSS. To say that its impact in pushing the limits of what CSS can achieve has been nothing short of revolutionary, would be a grave understatement. To all the front-end developers actively ...
Read More »CSS Grid Layout vs CSS Frameworks: When To Use What?
“CSS Grid or CSS Framework? What should I use for my next project?” It is a question often asked by web developers, specifically new ones after they are introduced to the CSS Grid layout. CSS Grid layouts allows developers to build custom complex layouts with absolute control only by using Native CSS properties without relying on any frameworks which are ...
Read More »