How to return a JSON response from a Flask API ?
Flask is one of the most widely used python micro-frameworks to design a REST API. In this article, we are going to learn how to create a simple REST API that returns a simple JSON object, with the help of a flask....
read more
How to connect ReactJS with flask API ?
Reactjs is one of the best frontend libraries for building frontend single-page applications. It is been developed and maintained by Facebook with a large community....
read more
How to Run JavaScript from Python ?
In this article, we’ll discuss how to run a javascript file with Python. For this, we’ll use the JS2PY(Javascript Runtime in Pure Python) Python module. JS2PY works by translating JavaScript directly into Python. It indicates that you may run JS directly from Python code without installing large external engines like V8....
read more
How to click a button on webpage using Selenium?
This article is all about how to click any button using Selenium on a webpage and many more concepts related to the same which are discussed below....
read more
How to Create and Use Signals in Django ?
In this article, we’ll dive into the powerful world of Django signals, exploring how to create and use them effectively to streamline communication and event handling in your web applications....
read more
Handling 404 Error in Flask
Prerequisite: Creating simple application in Flask...
read more
How to get current_url using Selenium in Python?
While doing work with selenium many URL get opened and redirected in order to keeping track of URL current_url method is used. The current_url method is used to retrieve the URL of the webpage the user is currently accessing. It gives the URL of the current webpage loaded by the driver in selenium....
read more
Website Blocker Using Python
This is real world program which blocks certain distracting website like Facebook, Youtube etc during your work hours....
read more
Profile Application using Python Flask and MySQL
A framework is a code library that makes a developer’s life easier when building web applications by providing reusable code for common operations. There are a number of frameworks for Python, including Flask, Tornado, Pyramid, and Django. Flask is a lightweight web application framework. It is classified as a micro-framework because it does not require particular tools or libraries. Side tabs are used for single-page web applications or to display different contents....
read more
How to get title of a webpage using Selenium in Python?
The title method is used to retrieve the title of the webpage the user is currently working on. It gives the title of the current webpage loaded by the driver in selenium, if webpage has no title a null string will be returned....
read more
How to download Google Images using Python
Python is a multi-purpose language and widely used for scripting. We can write Python scripts to automate day-to-day things. Let’s say we want to download google images with multiple search queries. Instead of doing it manually we can automate the process. How to install needed Module :...
read more
Django URL patterns | Python
...
read more