Python Articles

Page 164 of 855

How to add PDF in Tkinter GUI Python?

Manas Gupta
Manas Gupta
Updated on 27-Mar-2026 6K+ Views

This article will teach us how to display PDF files in the Tkinter GUI. We will be using the PyMuPDF library to read the PDF files and convert them into images which will then be displayed using Tkinter. For our task, we will do the following steps ? Read the PDF file Define a transformation matrix to apply on the pages of PDF to get their images Count the total number of pages for error checking Define the screen (the canvas) for our GUI Define a helper function for converting a PDF page to a PIL image ...

Read More

Commands to Get Min, Max, Median, and Mean of a Dataset

Satish Kumar
Satish Kumar
Updated on 27-Mar-2026 2K+ Views

When working with datasets, it's important to understand the characteristics of data. One of the most fundamental aspects of a dataset is its central tendency − the point around which data tends to cluster. This can be quantified in a number of ways, including minimum, maximum, median, and mean. In this article, we'll explore these different measures of central tendency and show you how to calculate them using Python's built-in functions and the statistics module. What is Minimum of a Dataset? The minimum of a dataset is the smallest value in the set. This value is useful ...

Read More

How Can Python Improve Your Digital Marketing?

Radhika Dadhich
Radhika Dadhich
Updated on 27-Mar-2026 766 Views

In today's digital marketing landscape, data-driven decisions are crucial for success. Python has emerged as a powerful tool that can transform how marketers analyze data, automate processes, and optimize campaigns. This versatile programming language offers unique capabilities that can significantly enhance your digital marketing efforts. Python enables marketers to automate repetitive tasks, gain real-time insights, and make more informed decisions. From analyzing customer behavior to optimizing ad campaigns, Python provides endless possibilities for improving your marketing ROI and conversion rates. What is Python? Python is a high-level, interpreted programming language known for its simple syntax ...

Read More

Modelling the Secant Method in Python

Dr Pankaj Dumka
Dr Pankaj Dumka
Updated on 27-Mar-2026 4K+ Views

The Secant method is a powerful numerical technique for finding roots (x-intercepts) of polynomial or transcendental functions. Unlike the Newton-Raphson method, it doesn't require derivatives, making it more practical for complex functions. How the Secant Method Works The method starts by selecting two initial points (x₁, x₂) near the expected root. A secant line connects the corresponding points on the function curve. Where this line intersects the x-axis gives us the next approximation x₃ ? ...

Read More

Modelling the Regula Falsi Method in Python

Dr Pankaj Dumka
Dr Pankaj Dumka
Updated on 27-Mar-2026 2K+ Views

The Regula Falsi Method, also known as the "False Position Method", is a numerical technique for finding roots of equations. It uses linear interpolation between two points that bracket the root to iteratively converge to the solution. ...

Read More

Modelling the Newton Raphson Method in Python

Dr Pankaj Dumka
Dr Pankaj Dumka
Updated on 27-Mar-2026 3K+ Views

In this tutorial, we will explore how to find roots of polynomial or transcendental equations using the Newton-Raphson method. This is an iterative numerical method that starts with an initial guess and converges to the root through successive approximations. x_g, f(x_g) x_n Newton-Raphson Method x f(x) ...

Read More

Modelling the Projectile Motion using Python

Dr Pankaj Dumka
Dr Pankaj Dumka
Updated on 27-Mar-2026 11K+ Views

Projectile motion is the motion of an object thrown into the air under the influence of gravity. Python provides excellent tools for modeling and visualizing this physics concept using mathematical equations and plotting libraries. ...

Read More

Which is Easier to Learn, SQL or Python?

Tushar Sharma
Tushar Sharma
Updated on 27-Mar-2026 1K+ Views

Both SQL and Python are essential skills in today's data-driven world. While SQL is designed specifically for database management, Python offers broader programming capabilities. Understanding their differences helps you choose the right starting point for your learning journey. What is SQL? SQL (Structured Query Language) is a specialized language for managing relational databases. It uses a declarative approach — you specify what you want, and the database handles how to get it. Example A simple SQL query to retrieve customer data ? SELECT name, email FROM customers WHERE age > 25; ...

Read More

What Kinds of Jobs are Available for a Freelance Python Developer?

Tushar Sharma
Tushar Sharma
Updated on 27-Mar-2026 344 Views

Python is a popular programming language used worldwide across various industries. Its versatility and ease of use make it a top choice for projects ranging from scientific research to web development. As Python's adoption grows, so does the demand for skilled Python developers. The rise of remote work opportunities has further increased demand for freelance Python developers. As a freelance Python developer, you can work on diverse projects and collaborate with various clients across multiple industries. Here are the main types of jobs available for freelance Python developers ? Web Development Web development is one of the ...

Read More

What is the Next Big Thing in Python?

Tushar Sharma
Tushar Sharma
Updated on 27-Mar-2026 352 Views

Python continues to evolve rapidly, with exciting developments shaping its future across multiple domains. From performance improvements to enhanced developer experience, several key trends are driving Python's next phase of growth. Performance Enhancements Faster CPython Project The most significant performance boost comes from the Faster CPython project. Python 3.11 introduced substantial speed improvements, with some operations running 10−60% faster than previous versions − import time # Example showing improved performance in newer Python versions start = time.time() result = sum(i * i for i in range(1000000)) end = time.time() print(f"Computed sum: {result}") print(f"Time ...

Read More
Showing 1631–1640 of 8,549 articles
« Prev 1 162 163 164 165 166 855 Next »
Advertisements