Atharva Shah

Atharva Shah

60 Articles Published

Articles by Atharva Shah

60 articles

Flight-price checker using Python and Selenium

Atharva Shah
Atharva Shah
Updated on 27-Feb-2025 931 Views

Web scraping has been a useful technique for extracting data from websites for various purposes, including price checking for airline tickets. In this article, we will explore how to build a flight price checker using Selenium, a popular web testing automation tool. By leveraging Selenium's capabilities, we can automate the process of collecting and comparing prices for flights across different airlines, saving time and effort for users. Setup Firefox Executable Download the Firefox browser installer from here Once downloaded, install the browser and an exe file will be placed automatically in C:\Program Files\Mozilla Firefox\firefox.exe. We will be needing it ...

Read More

Ethical Hacking with Python

Atharva Shah
Atharva Shah
Updated on 31-Dec-2024 1K+ Views

Python is an increasingly popular programming language for Ethical Hacking, especially in today's digital world, where security is paramount. With the rise of cybercrime, it's essential to take proactive measures to safeguard our online assets. Ethical Hacking is a critical step in this process, involving the identification and resolution of system vulnerabilities before they can be exploited by malicious hackers. This article will explore how Python is used for Ethical Hacking, including its advantages and best practices. Basics of Ethical Hacking Hacking is broadly classified into three types - Black Hat Hacking, White Hat Hacking, and Grey Hat Hacking. Black ...

Read More

Generate a list using given frequency list

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 434 Views

Generating a list using a given frequency list is a common problem in programming. The task involves creating a list of elements based on the frequency distribution of those elements. This can be useful in many scenarios, such as generating a password with a specific character distribution or generating random sentences with specific word frequencies. In this article, we will explore how to generate a list using a given frequency list in Python. Installation and Syntax Python is a popular programming language for analyzing and modifying data, and it provides the Counter module from the collections package to make a ...

Read More

Generate a Hermite_e series with given roots using NumPy in Python

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 342 Views

Hermite polynomials are a set of orthogonal polynomials that are useful in a variety of mathematical applications. They are commonly used in the solution of differential equations, probability theory, and quantum mechanics. The Hermite_e series is a variation of the Hermite polynomial that is used to represent a function in terms of its roots. In this article, we will discuss how to generate a Hermite_e series with given roots using NumPy in Python. Installation and Syntax NumPy is a Python library that provides support for numerical operations and it can be installed using pip and imported into Python using the ...

Read More

Gauss’s Forward Interpolation

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 2K+ Views

Gauss's Forward Interpolation is a numerical method that enables us to ascertain the value of a function at a certain point within a specific range using a sequence of equally spaced data points. This method of polynomial interpolation uses Newton's Divided Difference Formula to calculate the coefficients of the polynomial. This method is particularly useful for estimating values for several equally spaced locations inside a given range. We'll examine the Python implementation method in this article. Installation To use Gauss' Forward Interpolation method, the numpy library can be installed via this command since we will be performing complex mathematical calculations. ...

Read More

Gauge Chart in pygal

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 797 Views

Gauge charts are a type of chart used to represent a value or a range of values in a circular format. These charts are similar to speedometer gauges in cars, where a needle points to a particular value on the gauge. Gauge charts can be useful for visualizing data related to performance indicators, such as completion rates or progress towards a goal. In this blog post, we will explore how to create gauge charts using the pygal library in Python. Installation and Syntax To use pygal, you first need to install it using Package Manager PIP. pip install pygal ...

Read More

Gantt Chart in plotly

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 2K+ Views

A Gantt chart is a popular way of representing a project schedule. It is a type of bar chart that illustrates a project schedule, including the start and end dates of tasks and the dependencies between tasks. Gantt charts are widely used in project management to visually represent project plans and schedules.In this technical blog, we will explore how to create a Gantt chart in Python using the Plotly library. Installation and Syntax Before we start creating Gantt charts using Plotly, we need to install the Plotly library in our Python environment. We can install Plotly using pip, which is ...

Read More

G-Fact 19 (Logical and Bitwise Not Operators on Boolean)

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 437 Views

Boolean operators are the foundation of logic in computer science. They are used to perform logical and bitwise operations on binary data. In Python, the logical not operator is used to negate a boolean expression while the bitwise not operator is used to invert the bits in a number. In this blog post, we will explore the logical and bitwise not operators on booleans in Python. Operands and Truth Table The Boolean operators in Python are "and, " "or, " and "not." The "and" operator gives a result of True if both operands are True and False otherwise. The "or" ...

Read More

Functors and their use in Python

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 1K+ Views

Functional programming uses the idea of functors to help programmers create more modular, reusable, and reasonable code. They are a means to enclose a value or a function in an object and then manipulate that object without altering the original object. Functors are a potent tool for writing modular, reusable code in Python and may be implemented using classes. Syntax As Python functors are implemented using classes, a key component of the language, there is no special installation needed. Just build a class with an init method that accepts the original value or function as a parameter and a call ...

Read More

Functions that accept variable length key value pair as arguments

Atharva Shah
Atharva Shah
Updated on 22-Aug-2023 596 Views

Functions that take parameters in the form of variable-length key-value pairs can be defined in Python. This enables more dynamic and versatile functions that can handle a variety of inputs. When a function has to be able to handle arbitrary or optional parameters, this feature is frequently employed. Learn how to use the **kwargs and ** syntax to send a function a variable number of arguments in this technical article. Syntax The **kwargs syntax indicates that the function accepts an arbitrary number of keyword arguments, which are passed in as a dictionary. def function_name(**kwargs): # code block ...

Read More
Showing 1–10 of 60 articles
« Prev 1 2 3 4 5 6 Next »
Advertisements