Salman Bin Mehmood
About Salman Mehmood
Hello! I am Salman Bin Mehmood(Baum), a software developer and I help organizations, address complex problems. My expertise lies within back-end, data science and machine learning. I am a lifelong learner, currently working on metaverse, and enrolled in a course building an AI application with python. I love solving problems and developing bug-free software for people. I write content related to python and hot Technologies.
howto · 2026-09-14
Install and Verify Tkinter on Windows 11 (64-Bit)
Install or repair Tkinter on 64-bit Windows 11, verify the exact Python interpreter, and fix missing-module, Tcl/Tk, PATH, and IDE errors.
howto · 2025-03-13
How to Create Trendline in Matplotlib
Learn how to create a linear trendline in Matplotlib with this step-by-step guide. Discover how to visualize data trends effectively using scatter plots and trendlines. Enhance your data analysis skills with practical examples and customization tips for better insights.
howto · 2025-03-13
How to Create Multiple Axes in Matplotlib
In this article, learn how to create multiple axes in Matplotlib using the add_axes() method. Explore the concept of axes instances, and discover how to customize your visualizations effectively. Enhance your data presentations with clear examples and detailed explanations. Perfect for beginners and experienced data scientists alike, this guide will help you master multiple axes in Matplotlib for better data storytelling.
howto · 2025-03-13
Django OR Filter
This article explores how to execute Django OR filters using individual filters and Q objects. Learn to create flexible queries with practical examples and detailed explanations. Enhance your Django skills and improve data retrieval in your applications with this comprehensive guide.
howto · 2025-03-13
How to Fix NameError: Name Python Is Not Defined
Learn how to fix the NameError: name 'Python' is not defined in your code. This article explores common causes of NameError, including typos and variable scope issues, and provides effective solutions. Understand how to troubleshoot this error with practical examples and improve your Python programming skills.
howto · 2025-03-13
How to Fix Error - NoneType Object Has No Attribute Append in Python
Learn how to fix the NoneType object has no attribute append error in Python. This article explores the causes of this error and provides practical solutions to troubleshoot and resolve it effectively. Whether you're a beginner or an experienced programmer, these tips will enhance your coding skills and improve your programming experience.
howto · 2025-03-13
How to Fix the SyntaxError: Invalid Syntax When Using Pip Install
Learn how to fix the SyntaxError: Invalid Syntax when using pip install in Python. This article provides clear solutions and troubleshooting tips to help you install packages smoothly. Understand the common causes of this error and ensure your Python environment is set up correctly. Avoid common pitfalls and enhance your coding experience with our expert advice.
howto · 2025-03-13
How to Uninstall Python in Ubuntu
This article demonstrates how to delete Python from the Ubuntu Operating System. Learn various methods to uninstall Python, including using terminal commands, purging packages, and cleaning up dependencies. Follow our step-by-step guide to ensure a smooth uninstallation process and verify that Python is completely removed from your system. Perfect for both beginners and experienced users looking to manage their Python installations effectively.
howto · 2025-03-11
Tkinter in macOS
This article provides a comprehensive guide on installing Tkinter on macOS and setting up a virtual environment. Learn the step-by-step process to ensure your GUI development with Tkinter is smooth and efficient. Whether you're a beginner or an experienced developer, this guide will equip you with the necessary tools to manage your Python projects effectively. Dive into the world of GUI programming today!
howto · 2025-03-11
How to Reset Admin Password in Django
Learn how to reset your admin password in Django with this comprehensive guide. We cover methods to change your admin password and username, ensuring secure access to your admin panel. Whether you're a beginner or an experienced developer, these techniques will help you manage your Django application effectively.
howto · 2025-03-11
How to Use the Include Tag in Django
This tutorial provides a comprehensive guide on how to use the include tag in Django. Learn how to modularize your templates effectively, improve maintainability, and streamline your web development process. Explore best practices, code examples, and tips for using the include tag to enhance your Django projects.
howto · 2025-03-11
How to Solve Python: Can't Open File 'setup.py': [Errno 2] No Such File or Directory Error
Learn how to solve the Python error "Can't open file 'setup.py': [Errno 2] No such file or directory." This guide covers essential troubleshooting steps, including checking your current directory, verifying file existence, correcting typos, ensuring proper permissions, and using Git for recovery. With these strategies, you'll quickly overcome this common issue and keep your Python projects running smoothly.
howto · 2025-03-11
How to Fix ImportError: DLL Load Failed in Python
This article explores the ImportError: DLL load failed in Python, detailing its causes and providing effective solutions. Learn how to resolve this issue by checking for missing dependencies, verifying library compatibility, adjusting environment variables, and reinstalling Python and libraries. Whether you're a beginner or an experienced developer, these troubleshooting steps will help you overcome DLL load errors in your Python projects.
howto · 2025-03-11
How to Fix Python Matplotlib Inline Invalid Syntax
Learn how to fix the Python Matplotlib inline invalid syntax error in this informative article. Discover the reasons behind the error, practical solutions, and coding examples to help you navigate through common issues. Whether you're using Jupyter Notebook or a standard Python environment, this guide provides essential tips to ensure smooth data visualization with Matplotlib.
howto · 2025-03-04
How to Implement Median Filter in OpenCV
In this demonstration, we will learn what a median filter is and discuss two types of median filters in OpenCV. Then we will also learn how to remove salt-and-pepper noise from an image with the help of these median filters.
howto · 2025-03-04
How to Detect Face Using the Haar Cascade Classifier in Python OpenCV
In this demonstration, we will learn the basics of face detection with the help of the Haar feature-based Cascade classifiers and how to detect faces from an image and video using OpenCV in Python.
howto · 2025-03-04
How to Read Outlook Email using Python
This article is about how to read emails from the outlook application with the help of win32com.client module. We also go to learn how to filter emails with different properties in Python.
howto · 2025-02-22
How to Use If-Elif-Else in List Comprehension in Python
We will learn with this explanation about what chaining is and in Python how to apply if-elif-else or chaining in the list comprehension.
howto · 2025-02-12
How to Save Pandas Dataframe Table as a PNG
The main aim of this article is to demonstrate how a dataframe can be converted into a table and saved as a PNG image in Pandas. We will also learn what problem we face when we convert Pandas dataframe table into a PNG image.
howto · 2024-02-16
How to Fix ModuleNotFoundError: No Module Named Tensorflow in Python
We will learn how to install TensorFlow, and we will try several ways to install it; then, we will also learn how to install TensorFlow in a separate conda environment in Python.
howto · 2024-02-15
How to Create Multiple Subplots Using Matplotlib
In this tutorial, we will tackle how you can work with the subplot functionality provided with the Matplotlib package to create and display multiple plots in one figure in Python.
howto · 2024-02-15
How to Create Colored Triangle in Matplotlib
in this tutorial we will use Python Matplotlib to draw ourselves a colored triangle and see how to create it with the help of the turtle library in Matplotlib.
howto · 2024-02-15
How to Create Circle Arrow in Matplotlib
In this tutorial we use Python with Matplotlib to draw a circle arrow from scratch with the help of the turtle library.
howto · 2024-02-15
How to Annotate in Matplotlib
In this article we'll look at how to add an annotation to the plot and see the syntax of annotate() method and how it works with Matplotlib in Python.
howto · 2024-02-15
Matplotlib Marker Fill
In this explanation we have a look at how to customize marker style and create a filled marker and we also have a look at how to create a plot with different line styles in Matplotlib.
howto · 2024-02-15
How to Set Width Parameter of Bar Graph in Matplotlib
In this demonstration about Matplotlib, we discuss bar graphs and we have a look at the width parameter of the bar function in Matplotlib.
howto · 2024-02-15
OpenCV Dilate
In this article we go to explain the morphological transformation concepts like erosion and dilation which we use to add and remove pixels from the boundary of a given object in an image in OpenCV.
howto · 2024-02-15
OpenCV Webcam
In this short demonstration we learn how we can access a webcam and display that live feed with the help of Python and OpenCV.
howto · 2024-02-15
How to Blur Filters in OpenCV
This demonstration introduces how to smooth or blur images in OpenCV. We will discuss different types of blur filters and how to use them.
howto · 2024-02-15
How to Run a Flask App
We will learn with this explanation about how we can set up a Flask environment in Visual Studio Code and create a basic application of Flask.
howto · 2024-02-15
How to Create Route in Flask App
We will learn with this explanation about how we can create route in Flask and how we get a response when we call the route in Flask.
howto · 2024-02-15
How to Convert Unicode to ASCII in Python
We will learn with this explanation about how to encode Unicode into bytes, see the different ways to encode system and how to convert Unicode to ASCII in Python.
howto · 2024-02-15
How to Fix Python TypeError: Must Use Keyword Argument for Key Function
This article tackles about how to use simple and powerful ways to sort a list of items and use the lambda function inside the sort() method. We also discuss what are the reasons we get failed to execute sort() method in Python.
howto · 2024-02-15
How to Step Through Python Code
In this article, we will discuss using the Python debugger to step through code. We will explain from scratch about a command-line tool which is called PDB. We will also learn how to step through code with the help of Python IDLE.
howto · 2024-02-15
How to Convert Dictionary to Datacalss in Python
This tutorial demonstrates how to convert a nested dict into a data class.
howto · 2024-02-15
Pandas Fuzzy Match
This tutorial demonstrates how to merge data frames and see how to apply the fuzzy match to compare two pandas' data frames in python.
howto · 2024-02-15
How to Reverse Pandas Dataframe
We will learn how to reverse the rows and columns and see how we can reset the index as well. We will also learn why some beginners get failed when they try to reverse data frames in Pandas.
howto · 2024-02-15
Pandas value_counts Percentage
We will learn how to use the value_counts() function to count values and see how to apply this function on a list of dataframe columns. We will also learn how to convert frequencies into percentages in Python.
howto · 2024-02-15
Python Password Hashing
We will learn about password hashing and how to encrypt a salt and hash password with a third-party library called bcrypt.
howto · 2024-02-15
How to Create Seaborn Histogram Plot
This article will discuss making a histogram with the Seaborn histplot() function. We will also examine why the distplot() function throws an error. We will then learn how to group multiple plots in Seaborn.
howto · 2024-02-15
How to Create Seaborn Count Plot
This article discusses the Seaborn count plot and the difference between the count plot and a bar plot. We will also look at Python options for the countplot() function.
howto · 2024-02-15
How to Synchronize MySQL Database
The aim of this article is to demonstrate how to achieve database synchronization for backup and record-keeping purposes.
howto · 2024-02-15
How to Access MySQL Command Line With XAMPP
We will learn how to run MySQL on command line with the XAMPP server. We will also learn how to create and import a database in an existing database from the command line.
howto · 2024-02-12
Tkinter askdirectory() Method
In this tutorial, we start to talk about graphical user interface with Python specifically with tkinter and then look at how to work the askdirectory() method to open a directory on your pc.
howto · 2024-02-12
How to Increase Heatmap Font Size in Seaborn
We start this article with the basics of the heatmap. We will learn what a heatmap is and how to annotate our heatmap. We will also look at how to change our tick labels font size in a Seaborn heatmap.
howto · 2024-02-12
How to Fix Function Is Not Defined Error in Python
We will learn with this explanation what is the case when a Python program displays an error like a function not defined even though the function is present in the script.
howto · 2024-02-12
How to Mock Raise Exception in Python
This tutorial demonstrates how to raise exceptions when we run the unit test with the help of the mock module.
howto · 2024-02-02
How to Draw Line in Tkinter
In this demonstration, we will explore how it is possible to draw the different types of lines in the Tkinter.
howto · 2024-02-02
How to Create Progress Bar in Tkinter
In this demonstration we learn how to create a progress bar in Tkinter in multiple ways.
howto · 2024-02-02
How to Install Tkinter
In this tutorial we demonstrate how to install Tkinter on multiple platforms. Every platform has individual commands to install Tkinter in Python.
howto · 2024-02-02
How to Create a Tkinter Table
This tutorial shows you how to create a Tkinter table and also discusses an approach related to the Tkinter table in Python.
howto · 2024-02-02
How to Install Tkinter With Conda
In this tutorial we demonstrate why we use conda, how to install Tkinter with conda and how we can specifically use the virtual environment in connection with conda.
howto · 2024-02-02
Tkinter askopenfilename
In this article, we demonstrate to you how to use the file dialog box to open files with the help of the askopenfilename() method from the filedialog class in Tkinter. No matter where the file is on your computer.
howto · 2024-02-02
How to Plot Dates in Matplotlib
This article demonstrates how to work with matplotlib.dates and some basic examples using some dates with a built-in Python module. Then we will see an example using data from a CSV file to plot dates in Matplotlib.
howto · 2024-02-02
How to Create and Change Title Position in Matplotlib
In this tutorial, we explain the title() method that allows us to set a name to the plot as a label and see how to change the title position in Matplotlib.
howto · 2024-02-02
How to Plot 3D Line Plot in Matplotlib
In this demonstration, we demonstrate how to create a 3D plot in Matplotlib and see how to create a 3D plot with multiple colors in Matplotlib.
howto · 2024-02-02
How to Plot Waterfall Plot in Matplotlib
in this tutorial, we explain to you how you can create a waterfall plot or chart with the help of python and the libraries we go to use the Matplotlib and waterfall_chart library for two dimensions and three dimensions waterfall plots.
howto · 2024-02-02
How to Plot Venn Diagram in Matplotlib
In this article, we'll discuss about how you can generate Venn diagrams with the help of Python and Matplotlib library.
howto · 2024-02-02
How to Plot Candlestick in Matplotlib
In this demonstration with us we introduce to a candlestick chart or plot and see how to create an open high low close candlestick chart with the help of the mplfinance module in python.
howto · 2024-02-02
How to Integrate Ajax With Django in Python
The purpose of this article is to demonstrate what is Ajax and how to integrate Ajax with Django and see how to send Ajax get and post requests from a browser and how to handle the data on the Django site in Python.
howto · 2024-02-02
How to Slug in Django
This demonstration aims to define a slug and how we can use the slug field to get a unique post with Django in Python.
howto · 2024-02-02
How to Filter Items From Query Set in Descending Order in Django
In this explanation, learn how to filter out the items of the query set in descending order with the help of the order_by() method in Django.
howto · 2024-02-02
How to Avoid Creating Duplicate Objects in Django
The main purpose of this article is to learn about the get_or_create() method in Django. It is a method used to avoid redundant fields in our query set.
howto · 2024-02-02
How to Plot Contour in Matplotlib
In this demonstration we go to see what is contour plot and how we can obtain contour plots with the help of the contour() method in Matplotlib.
howto · 2024-02-02
How to Use Post Request to Send Data to a Django Server
In this explanation about Django, we have a short introduction about the post and get requests and how to implement the CSRF token with the post in Django.
howto · 2024-02-02
How to Upload Media in Django
In this article, we have a short introduction about the media files and how we can operate media files in the Django project.
howto · 2024-02-02
How to Return JSON in Django
In this discussion with us we have a look at a short introduction to JSON format and we discuss how to return data into JSON format with the help of JsonResponse class in Django.
howto · 2024-02-02
How to Create Objects in Django
The purpose of this article is to explain what is a model and how to create objects using the create() method and see how to work the save() method in Django.
howto · 2024-02-02
How to Create Field for Multiple Choices in Django
In this article, we will look at making a field for multiple choices and show you how to allow users to select multiple choices in Django.
howto · 2024-02-02
How to Check if Object Exists in Django
In this explanation of the common issue you see how to check if an object exists in the model and you also learn how to handle exceptions to show the convenient error to the user.
howto · 2024-02-02
How to Download File in Django
In this article we will learn how to create a website where the admin can upload a file and we also learn how to make the user download a file from a web page in Django.
howto · 2024-02-02
How to Create a Contour Plot in Seaborn
With this discussion, we will see how to create a contour plot with the help of the kdeplot function in Seaborn.
howto · 2024-02-02
How to Set the Legend Outside of the Figure in Seaborn
This article is all about the legend of a figure in Seaborn. We will also share with you several different tips such as how to put the legend outside of the figure and make a horizontal legend in Seaborn.
howto · 2024-02-02
How to Create Linear Regression in Seaborn
The purpose of this article is to learn about linear regression in detail and see how we can create linear regression with the help of the regplot method in Seaborn.
howto · 2024-02-02
How to Create a ClusterMap in Seaborn
In this demonstration about cluster maps, we will learn what a cluster map is and how we can create and use it for multiple options.
howto · 2024-02-02
How to Create Seaborn Boxplot Without Outliers
The purpose of this article is to demonstrate boxplot and outliers and how to create a modified boxplot and see how to utilize five number summary to remove outliers in Seaborn.
howto · 2024-02-02
How to Create Different Color Palette Using Seaborn
In this article, we will explore the different options for the Seaborn color palettes. We will also show you how to create your own custom color palette in Seaborn.
howto · 2024-02-02
How to Create a 3D Plot Using Seaborn and Matplotlib
In this explanation, we will have a look at what a 3D plot is. We also will learn how we can create several different 3D plots with the help of Seaborn and Matplotlib.
howto · 2024-02-02
How to Use OCR to Extract Text From an Image in OpenCV
This article covers everything you need to get started with optical character recognition, also known as OCR. This will guide you to learn how to detect and extract text from images and visualize this extracted text on an image in OpenCV.
howto · 2024-02-02
How to Detect Motion in Python OpenCV
In this article we go to learn how we can create a motion detection project with the help of OpenCV and Python.
howto · 2024-02-02
How to Use jQuery in a Django App
This article discusses a short introduction to jQuery. This also tackles how to connect jQuery with a Django app.
howto · 2024-02-02
How to Redirect in Python Flask
We will learn, with this explanation, how to use the redirect() function to redirect the user and see how we can use it for multiple purposes in Flask.
howto · 2024-02-02
How to Post Request in Python Flask
We will learn with this explanation about two basic HTTP methods (get and post) and we will also learn the differences between both of them and then go through a basic example of how we can send data from a basic form in the Flask.
howto · 2024-02-02
How to Create a Static Folder in Flask
We will learn, with this explanation, how to use static assets or static files inside the static directory, and we will also learn how to import our custom CSS file in Flask.
howto · 2024-02-02
How to Use Dynamic URL Inside the Template in Django
We will learn, with this explanation, how to use the url tag in templates and how to add links inside the templates in Django.
howto · 2024-02-02
How to Return a Valid JSON Response in Flask
We go to learn with this explanation about JSON support in the flask and we also go to learn how to create an api and how to return it in JSON response with the help of jsonify() in the flask.
howto · 2024-02-02
How to Change Password in Django
We will learn with this explanation about how we create a webpage for the user to change the password after login on the webpage in Django.
howto · 2024-02-02
How to Use Different Types of Parameters Inside the URL in Flask
We will learn, with this explanation, about URL converters in the Flask app which means the ability to pass parameters in any URL. We will also learn how to pass different types of parameters inside the URL in the Flask app.
howto · 2024-02-02
How to Manipulate Raw Queries in Django
We will learn, with this explanation, what the raw() method does and how we can manipulate raw queries. We will also learn how to inject SQL within our applications in Django.
howto · 2024-02-02
How to Handle Request Data in JSON Format in Flask
We will learn, with this explanation, what JSON is and how to handle incoming request data in JSON format. We will also learn how to use the Postman Chrome extension to send JSON data.
howto · 2024-02-02
How to Use Flask Debug Mode
We will learn, with this explanation, about a couple of things we get when we use the debug mode in Flask, and we will also learn how to use an extension that provides a debugger toolbar.
howto · 2024-02-02
How to Display an Image in Flask App
We will learn, with this explanation, how we can add an image to a web page and upload or display multiple images in the Flask app.
howto · 2024-02-02
How to Create Dynamic URL Using url_for in Flask
We will learn, with this explanation, what the url_for() function does and how we can create a dynamic URL in Flask. We will also learn how we can use url_for() inside the template.
howto · 2024-02-02
How to Change the Default Port in Flask
We will learn how to change the port when we run our Flask app using different methods.
howto · 2024-02-02
How to Get Query Parameters Using Flask
We will learn, with this explanation, how to get the parameters from the URL with the help of the request query string in Flask.
howto · 2024-02-02
How to Download a File Using Flask
We will learn, with this explanation, how to make a downloadable link to download a file as an attachment with the help of the send_file function in Flask.
howto · 2024-02-02
How to Connect MySQL Database in Flask
We will learn, with this explanation, how to connect a MySQL database in Flask with the help of flask_mysqldb. We will also learn how to set up a database online.
howto · 2024-02-02
How to Log Errors Using Flask
We will learn, with this explanation, about error handling, specifically logging errors. By the end of this article, you should know how to log errors to a file and where to go to check out other ways to log errors in Flask.
howto · 2024-02-02
How to Use a Production WSGI Server to Run a Flask App
We will learn, with this explanation, about the WSGI server and see how it works. We will also learn how to create a WSGI server and run an app inside this server in Flask and Python.
howto · 2024-02-02
How to Update Flask SQLAlchemy
We will learn, with this explanation, how to insert and update a row with the help of the SQLAlchemy database in the Flask app.
howto · 2024-02-02
How to Submit Ajax in Python Flask
We will learn, with this explanation, how to submit an AJAX form with the help of jQuery and Flask, where jQuery handles the AJAX part and Flask accepts the AJAX request.
howto · 2024-02-02
How to Fix Python Error: Object Is Not Callable
We will discuss the type error that is object is not callable and see how the problem occurs and how we can fix it and learn how to use the callable function to check the objects whether it is callable or not in Python.
howto · 2024-02-02
How to Fix TypeError: Cannot Convert the Series to <Class 'Float'> in Python
We will learn, with this explanation, why we get the TypeError: Cannot Convert the Series to Class Float. We will also learn how to fix it and change the data type of a Pandas series in Python.
howto · 2024-02-02
How to Fix the ImportError: Cannot Import Name in Python
We will learn, with this explanation, the cause that we get an error that is ImportError: cannot import name. We will also learn to fix this kind of error in Python.
howto · 2024-02-02
How to Fix Python ValueError: No JSON Object Could Be Decoded
We will discuss the name error, how to encode a Python object into a JSON, and how to decode an adjacent string into a Python object. We also go to learn why we fail to parse JSON data.
howto · 2024-02-02
How to Fix Python Error - Can't Find Main Module
We go to learn in this article about the can't find the main module error and see what causes a problem. We also go to learn how to resolve the problem in Python.
howto · 2024-02-02
How to Fix Python TypeError: Function Object Is Not Subscriptable
We're going to learn in this article about why we get the TypeError: 'function' object is not subscriptable, and how we can fix this error in Python.
howto · 2024-02-02
How to Fix OSError: [WinError 10038] an Operation Was Attempted on Something That Is Not a Socket
With this explanation, we will learn what server and client are and how to use the socket module to create an application with the help of server and client. We will also learn how to avoid errors when making these types of applications in Python.
howto · 2024-02-02
How to Fix NameError: Name 'xrange' Is Not Defined in Python
We will learn why we get an error when we call the xrange function in Python3 and see how we can fix this issue. We will also learn the difference between range and xrange and see how to use the range function in different Python versions.
howto · 2024-02-02
How to Fix TypeError: __str__ Returned Non-String but Printing Output
This tutorial demonstrates how to remove the type error str returned non-string in Python.
howto · 2024-02-02
How to Fix Python ValueError: Unknown Label Type: 'continuous'
The article discusses the valueError that is an unknown label type continuous and the potential solutions to this error and explains why it occurs.
howto · 2024-02-02
How to Define an Infinite Value in Python
We will learn, with this explanation, what is an infinite value in Python and why we use an infinite value. We also go to learn how we can define an infinite value with the help of different ways in Python.
howto · 2024-02-02
How to Match Fuzzy String in Python
This article demonstrates how to use thefuzz library that allows us to do fuzzy string matching in python. We'll also learn how to use the process module that allows us to match or extract strings efficiently with the help of fuzzy string logic.
howto · 2024-02-02
How to Execute Shell Command and Get Output in Python
In this article, we will learn how to execute cmd commands from a Python script with the help of os.system(). We will also learn how we can execute cmd commands from the script in an easier way with the help of the subprocess module in Python.
howto · 2024-02-02
How to Use Log4j With the Help of Logging Library in Python
This article explains log4j, its working, and its importance to use. We will also explore how to use log4j inside the Python programming language with the help of the logging library.
howto · 2024-02-02
Python Regular Expression to Match a Multiline Block of Text
This tutorial demonstrates how to find and match multiple lines of text using regular expressions in Python.
howto · 2024-02-02
How to Use Cookies in Python Requests
This tutorial demonstrates how to use cookies in Python using requests.get() and stay connect using Session() class.
howto · 2024-02-02
How to Mock Class Attribute in Python
This tutorial demonstrates how to mock an attribute/member of a class with a mock module.
howto · 2024-02-02
How to Fix Shared Memory Issues & Lock Shared Resources in Python
This tutorial explains various aspects related to multiprocessing shared memory and demonstrates how to fix issues when we use shared memory. We'll also learn how to use the lock to lock the shared resources in python.
howto · 2024-02-02
How to Wait for the Async Function to Complete in Python
This article demonstrates how to create an asynchronous function and use the await keyword to interrupt a process. We'll also learn how to use tasks instead of threads in Python.
howto · 2024-02-02
How to Peek A Deque in Python
This tutorial demonstrates how to peek an element of a deque without popping the element in Python.
howto · 2024-02-02
How to Compare Multilevel JSON Objects Using JSON Diff in Python
This article aims to demonstrate how we can compare two multilevel JSON objects and determine whether they are the same.
howto · 2024-02-02
How to Install Pandas Using Homebrew
This tutorial demonstrates how to install the Pandas module - a data manipulation and analysis module while using the Homebrew package manager.
howto · 2024-02-02
How to Convert Datetime64 to Datetime.Datetime or Timestamp in NumPy
This article aims to demonstrate how to convert data between numPy.datetim64, datetime.datetime and Timestamp.
howto · 2024-02-02
How to Rank Pandas DataFrame Within Group
This article will discuss how to rank data in ascending and descending order. We will also learn how to rank a group of data with the help of the groupby() function in Pandas.
howto · 2024-02-02
How to Use Axis Argument to Manipulate a NumPy Array in Python
This article explains how to work with NumPy axis arguments and see what an axis is in NumPy. We will also learn how to use an axis argument as a powerful operation to manipulate a NumPy array in Python quickly.
howto · 2024-02-02
How to Replace NA Values in Multiple Columns using Pandas fillna()
This article discusses how to use the fillna() function to replace the NaN values with numeric ones. We will also learn how to replace NaN values from the Pandas dataframe with strings in Python.
howto · 2024-02-02
How to Build Pandas DataFrame Row by Row
This article demonstrates how to build a dataframe row-wise instead of the customarily followed column-wise convention in Pandas.
howto · 2024-02-02
How to Plot Value Counts in Descending Order in Pandas
The main aim of this article is to demonstrate how we can plot values in a graph in descending order with the help of Matplotlib in Python.
howto · 2024-02-02
How to Filter Pandas DataFrame Rows by Regex
In this article, we will learn how to filter our Pandas dataframe with the help of regex expressions and string functions. We will also learn to apply the filter function on a Pandas dataframe in Python.
howto · 2024-02-02
How to Create Nested DataFrames in Pandas
This article will discuss how to create and read a Pandas nested DataFrames. This will also demonstrate how to fix the issues when we read Pandas nested DataFrames in Python.
howto · 2024-02-02
How to Calculate Weighted Average in Pandas
We go to learn with this explanation about how to calculate a weighted average of Pandas DataFrame. We also go to learn how to group weighted average of pandas DataFrame.
howto · 2024-02-02
How to Read CSV Data From String in Pandas
The main aim of this article is to demonstrate how to read csv text data from a string or from package data using Pandas in Python.
howto · 2024-02-02
How to Get Longest Increasing Subsequence in Python
We will learn what is a subsequence and how to calculate the longest increasing subsequence from an array using the n-squared approach and the binary search approach in Python.
howto · 2024-02-02
How to Capture Output in Python Subprocess
The main aim of this article is to demonstrate how can the output of a subprocess be captured, stored and shown in Python.
howto · 2024-02-02
How to Read Stdout While Running in Python Subprocess
The main aim of this article is to demonstrate how to read the stdout of a subprocess being executed in Python.
howto · 2024-02-02
How to Get CPU Temperature using Python
The main aim of this article is to demonstrate how to read and show CPU temperature with the help of the pythonnet library in Python.
howto · 2024-02-02
How to Extract Table From Webpage in Python
The main aim of this article is to demonstrate how tables can be extracted from a webpage using Pandas and lxml in Python.
howto · 2024-02-02
How to Loop Through a JSON File in PowerShell
The main aim of this article is to demonstrate how to loop and iterate through a JSON file in PowerShell scripting.
howto · 2024-02-02
How to Check if a Service Is Running Using PowerShell
This article aims to demonstrate how to see whether a Windows Service is running or not using PowerShell scripting, and if the service is not running, turn the service on.
howto · 2024-02-02
How to Create Cron Job in MySQL
The main aim of this article is to demonstrate how to schedule a query written in MySQL and execute it after a fixed amount of time using Cron Jobs.
howto · 2024-02-02
How to Clear the Screen in MySQL
The main aim of this topic is to demonstrate how to clear the screen of the MySQL console. We also have a look at how to clear console in the different operating systems.
howto · 2024-02-02
How to Check if File Is Empty in Python
We will learn how to check whether files are empty or not. We also have a look at different issues that were raised while checking an empty file in Python.
howto · 2024-02-02
How to Check if the Generator Is Empty in Python
This article discusses how to check if a generator is empty in Python.
howto · 2023-10-10
Django ALLOWED_HOSTS
This article shows how to take your Django website, get it ready for public release, how to set ALLOWED_HOSTS and how to fix expected major issues during web deployment with Django.
howto · 2023-10-10
OpenCV Tracking
The purpose of this demonstration is to learn how to create a very basic and simple motion detection and tracking system with the help of Python and OpenCV. We achieve to track each and every person with a rectangular bounding box at the end of this article.
howto · 2023-10-10
OpenCV cvtColor
The purpose of this article is to learn what the cvtColor() method does and how to use this method to convert the rgb image to an hsv image. We also discuss where exactly the hsv image is useful and why we need to use it.
howto · 2023-10-10
Flask Project Structure
We will learn, with this explanation, how to structure a big Flask application with the help of the Blueprint Approach in Flask and Python.
howto · 2023-10-10
Python Circular Import
We will learn how circular imports commonly arise and the main ways to fix them. We will also learn how to fix a circular import error caused by a type hint in python.
howto · 2023-10-10
Python Selenium Headless: Open Chrome Browser in the Headless Mode
In this tutorial, we will learn how to run our browser in headless mode with Selenium in Python.
howto · 2023-10-10
Python Unittest Discovery
We will learn, with this explanation, the unit test and how to run the unit test for a particular piece of code. We will also learn to use the discover command to automatically recognize the module name and see why this command does not work in Python.
howto · 2023-10-10
Python Custom Iterator
In this article, we will learn what iterators are and how to create a custom iterator with the help of class methods called __iter__ and __next__. We will also learn how to create a custom iterator with the help of a generator in Python.
howto · 2023-10-10
Python Unittest vs Pytest
This tutorial demonstrates the differences between unittest and pytest module in Python.
howto · 2023-10-10
Bitwise XOR of Hex Numbers in Python
The main aim of this article is to demonstrate how to work with XOR numbers in a hexadecimal number system in Python.
howto · 2023-01-30
Byte Array in PowerShell
This article demonstrates how to convert data present in various forms to a Byte Array using PowerShell Scripting API.
howto · 2023-01-30
Pygame clock.tick()
We go to learn with this explanation about clock.tick() method and how it works in the pygame module. We also go to learn what is difference between ticks and fps.
howto · 2023-01-03
Flask WebSockets
We will learn, with this explanation, what WebSocket is and how it works between client and server. We will also learn how to make a real-time chat application with the help of the flask_socketio module in Flask.
howto · 2022-12-21
Color Cycle in Matplotlib
In this demo tutorial, we introduce the color cycle and see how to get and set the color property with the help of the color cycle in Matplotlib.
howto · 2022-11-23
Elastic Search in MySQL
We will learn how to integrate ElasticSearch with MySQL. We will also examine a few key differences between JSON format databases and relational databases.
howto · 2022-11-21
Pygame get_rect Method
The main aim of this article is to demonstrate how to manipulate an image and move it around the screen using the get_rect() method from the Pygame library.
howto · 2022-11-11
PowerShell Copy File and Rename
The main aim of this article is to demonstrate the most basic of IO operation, copying a file and then pasting it into another directory or location with a different name.
howto · 2022-10-05
NumPy Mask 2d Array
We go to learn with this explanation about what is the mask or Boolean array. We also go to learn how to create a 2d mask with Python logical operators and NumPy logical function in Python.
howto · 2022-09-29
No Handles With Labels Found to Put in Legend
This article demonstrates how we can solve the warning (No handles with labels found to put in legend) when trying to plot something with Matplotlib.
howto · 2022-07-27
Flask send_file()
We will learn, with this explanation, how to upload files to the SQLAlchemy database and then download those files from the database in Flask.
howto · 2022-07-25
Flask request.args.get
We will learn, with this explanation, how to work with the request.args.get. We will also learn the possible way to get an error when we use the request object and its attribute in Flask.
howto · 2022-07-04
Flask Secret Key
This explanation is about what is a secret key, why we need to use it within the session, how we can generate the secret key using different ways, and how it is useful when we work with debug toolbar in Flask.
howto · 2022-07-04
Flask CORS
This explanation is about an issue that comes when we create API in the Flask app and how to fix an error when we try to access a Flask app from a different domain.
howto · 2022-06-28
Flask Request Form
We will learn, with this explanation, about two things that happen when we submit a form and how we can receive and get the form data with the help of Flask and Python.
howto · 2022-06-09
Django Bootstrap
The main goal of this brief explanation is to learn how to add Bootstrap to the project in Django and we also have a look at some configurations about static asserts.
howto · 2022-04-26
Select_related Method in Django
The article demonstrates what the query set is, how to work these queries and how we can utilize the select_related() method to filter the query of the related model in Django.
howto · 2022-04-26
Magic Function Inline in Matplotlib
In this demonstration we learn what is magic function then we see different magic functions available in Matplotlib after this we discuss the inline function.
howto · 2022-04-07
Tkinter Dialog Box
In this article we'll discuss in the introduction about popup dialog boxes and see how to create different types of dialog boxes for different purposes.
howto · 2022-04-04
Tkinter Create_rectangle Method
In this example discussion we go to introduce the TK canvas widget, how you can place it onto a GUI window, and how to create a rectangle on canvas with the create_rectangle() method in Tkinter.
howto · 2022-04-04
Matplotlib sharex Parameter
In this session we discuss the subplot function and the new concept named sharex. We'll explain how to share axes from multiple subplots with the sharex parameter in Matplotlib.
howto · 2022-04-01
Tkinter Graph
This demonstration will teach how to make charts or graphs using Numpy, Matplotlib, and Tkinter in Python.
howto · 2022-03-29
Tkinter SimpleDialog Module
This demonstration is about the simpledialog box. In this demo, we look at how to create a simpledialog box in tkinter, and then we have a look at how to get multiple values from the user with different methods of the simpledialog box.
howto · 2022-03-29
Tkinter Intvar
In this demonstration we have a look at how IntVar() datatype works and how to validate an Entry widget as an integer in Tkinter.
howto · 2022-03-16
Tkinter Themes
In this tutorial we demonstrate the theme's style which controls what the widget should look like in the Tkinter GUI.
howto · 2022-03-16
Tkinter Tabs
In this article we demonstrate how the Notebook widget for the ttk module is used to create a tab with a tab in Tkinter.
howto · 2022-03-11
Tkinter Photoimage
In this article we demonstrate about the photoimage() method and see how to use the photoimage() method in Tkinter.
howto · 2022-03-09
Tkinter Mainloop
In this tutorial, we describe the importance of the mainloop() method and try to understand what happens behind this method.
howto · 2022-03-04
Tkinter Threading
This tutorial shows how to handle single threading and multithreading in Tkinter.
howto · 2022-03-04
Tkinter File Dialog
In this tutorial, we demonstrate how to create the file dialog with the help of filedialog Tkinter class and explore several methods.
howto · 2022-03-04
Tkinter Drag and Drop
In this tutorial we demonstrate how to drag and drop the objects with the help of the TkinterDnD2 library on the Tkinter GUI.
howto · 2022-02-27
Tkinter Rectangle
This demonstration shows how to create a rectangle with the help of canvas method in Tkinter.