Blog

How to create a simple flask API in Python

How to create a simple flask API in Python

REST stands for REpresentational State Transfer and is an architectural style used in modern web development. It defines a set or rules/constraints for a web application to send and receive data. In this article, we will build a REST API in Python using the Flask framework. Flask is a popular micro framework for building web applications. Since it is a micro-framework, it is very easy to use and lacks most of the advanced functionality which is found in a full-fledged framework. Therefore, building a REST API in Flask is very simple. There are two ways of creating a REST API…
Read More
7 Mobile App Testing Ideas That Will Speed Up Your Releases.

7 Mobile App Testing Ideas That Will Speed Up Your Releases.

When it comes to apps, it's not just about the app itself. You need a platform that enables you to deliver an app that will delight your users and bring in revenue. Adhering to best practices is essential even if you're a one-person shop, so you can avoid any mishaps on launch day. Here are 7 mobile app testing ideas for your next release that will help smooth out every step of the process. 1. Automated App Testing One of the quickest and easiest ways to speed up your mobile app releases is to use automated testing tools. These tools…
Read More
How to resolve:- requested state cache element does not exist for key

How to resolve:- requested state cache element does not exist for key

S: RSSDK:400 Requested state cache element does not exist for key 1 Issue Description: While extracting data from SQL server(Source system) to BW System we might face this issue. Even when the RFC connection is fine. Reason- When the data is sent back to BW from the SQL source system, the JDBC connector gets confused between systems, and either the load fails or gets the wrong number of records every time in BW. Solution Go to transaction SM59 and compare the parameters supplied there with the ones found in Visual Administrator. The destination should be listed under TCP/IP connections. The…
Read More
How do you count repeated words in a list in Python?

How do you count repeated words in a list in Python?

In this post, we will talk about how to count repeated words in python list. It can be done in many ways. Using collections.Counter() # Importing counter function. from collections import Counter words = ["a", "b", "a", "c", "c", "a", "c"] duplicate_dict = Counter(words) print(duplicate_dict)#to get occurence of each of the element. print(duplicate_dict['a'])# to get occurence of specific element. Output: Counter({'a': 3, 'c': 3, 'b': 1}) 3 Using count() letter = ["b", "a", "a", "c", "b", "a", "c",'a'] counting=letter.count('a') print(counting) Output: > 4 Hope this helps! Important Notice for college students If you’re a college student and have skills in programming languages,…
Read More
What is Digital image processing in simple terms?

What is Digital image processing in simple terms?

Before we dive deeper into digital image processing, we need to understand what an image actually is, A digital image is a representation of a two-dimensional image as a finite set of digital values, called picture elements or pixels. Why do we process? If you what to make a cup of tea we do need to follow some processing steps, in the same way, if you have pictorial data in the form of image or video generated by a device or sensor cameras. And then you want to make something else as per your requirement as examples beautify, compress, crop, sharpen, enlarge,…
Read More
How do I solve tough programming problems in HackerRank?

How do I solve tough programming problems in HackerRank?

If you are a beginner then go with easy problems first, try to solve as much you can for getting confidence. If, you are not able to solve easy problems then spend some time on that try to think harder, even you can't solve the problem go for editorial read the approach, don't read the code and try to solve your own spend time and practice gives you high return for sure. If you think you can solve easy problems go for a medium one. Go with the same approach as you have done with easy problems…even giving more time…
Read More
Create a digital clock using Python-Turtle

Create a digital clock using Python-Turtle

Prerequisites: Turtle in programming Python. Turtle is a special feature of Python. Using Turtle, we can easily draw on a drawing board. First, we import the turtle module. Then create a window, next we create a turtle object and using the turtle methods we can draw on the drawing board. In this blog we'll be creating a digital clock using turtle and python. Installation:  To install this module type the below command in the terminal. pip install turtle Note: To create a clock we will use the ‘time’ and ‘DateTime’ module of Python also, To install time use the following command:…
Read More
How to create a voice recorder in Python

How to create a voice recorder in Python

Python can be used to perform a variety of tasks. One of them is creating a voice recorder. We can use python’s sounddevice module to record and play audio. This module along with the wavio or the scipy module provides the way to save recorded audio. Installation sounddevice: This module provides functions to play and record NumPy arrays containing audio signals. Let’s install it by running the following command: $ pip3 install sounddevice We can use either wavio and scipy to save the recorded audio in file format. We will see both of them here.To install wavio: $ pip3 install wavio To install scipy: $ pip3 install scipy Now, we are done with installing the…
Read More
How to create Movie Recommendation System

How to create Movie Recommendation System

In this notebook, I will try to use a few recommendation algorithms (content-based, popular-based and shared filters) and try to build a collection of these models to come up with our final movie recommendation system. For us, we have two MovieLens data sets. Full Data Set: Contains 26,000,000 ratings and 750,000 tag requests applied to 45,000 movies by 270,000 users. Includes genome tag data with 12 million affiliate scores on 1,100 tags.Small Data Set: Includes 100,000 ratings and 1,300 tag applications applied to 9,000 movies by 700 users.I will create a Simple Recommendation using movies from the Full Database while…
Read More