Home » Python

Tag Archives: Python

Python Ternary Operator

Hello in this tutorial, we will understand the ternary operator in python programming. 1. Introduction The ternary operator is used in programming languages to return output based on a binary condition. It is similar to the if-else condition block just a little neat. In python, it is represented by the below syntax – Syntax value_if_true if condition else value_if_false 1.1 ...

Read More »

Top 6 Benefits of Using Django For Web App Development

Web developers face quite a few challenges while building a website, from creating a scalable product to balancing features with simplicity, from managing panels to ensuring app security, and so on. Fortunately, frameworks alleviate much of the load by providing ready-made components. One such web application framework – Django, is free, open-source, and was essentially created with front-end developers in ...

Read More »

Selenium WebDriver with Python for Web Automation Testing: Getting Started

In the agile environment, developers need to run relevant cross-browser tests to push any front-end changes quickly. While small projects use manual testing, larger projects need automation because of the increasing number of web browsers. How is this done using Selenium WebDriver and Python? Selenium is one of the most popular open-source web automation testing tools available today. Python on ...

Read More »

Python join() method Tutorial

Hello in this tutorial, we will understand the join() method in python programming. 1. Introduction The join() method in python programming joins different elements and return a combined string. This method takes the iterable as an argument. This method returns the TypeError exception if the iterable contains any non-string values. It is represented by the following syntax – Method syntax ...

Read More »

Python Set intersection Method

Hello in this tutorial, we will explain how to set the intersection method in python programming. 1. Introduction The intersection() method in python programming returns a set containing common elements from one or more given sets. Its syntax representation is given as below: set.intersection(set1, set2 ... etc) The parameter set1 is required to search for equal items and set2 . ...

Read More »

Python List vs Tuples

Hello in this tutorial, we will see and understand the differences between List vs Tuples in Python programming. 1. Introduction List and Tuple in python programming are used to store the data. List and Tuple data structures are similar in most cases but still have a few differences and we will understand them in this tutorial. List in python are ...

Read More »

Python Inheritance Tutorial

Hello in this tutorial, we will understand inheritance in python programming. 1. Introduction Inheritance is an important concept in any programming language. It provides code reusability as we can use the existing classes to create new classes instead of creating it from scratch. In this, the child class acquires the properties of the parent class and can access all the ...

Read More »

Where is Apache Spark heading?

I watched (COVID19-era version of “attended”) the latest spark Summit and in one of the keynotes Reynold Xin from Databricks, presented the following two images comparing spark usage on their platform on 2013 vs. 2020: While Databricks’ platform is, of course, not the whole spark community, I would wager that they have enough users to represent the overall trend. Incidentally, ...

Read More »

Python Errors and Built-in Exceptions

Hello in this tutorial, we will understand errors and built-in exceptions in python programming. 1. Introduction 1.1 Error A typing mistake can lead to a fault in the programming language because of the syntax rules while coding is known as an error or popularly known as the syntax error. A syntax error is the most common situation where you break ...

Read More »