1. Medcursor Handheld Percussion Massage Gun

  • Powerful Professional Massage Gun: This massage gun is designed with a high-torque brushless motor that gives a unique quiet feature with the minimum noise of 35dB only.
  • Easy to Operate: No complicated buttons to deal with. With one button you can turn it on/off and choose your desired massage strength.
  • Long-Lasting Battery: Equipped with a high quality 3400mAh rechargeable Lithium battery. .
  • 6 Replaceable Massage Heads: This Medcursor Massage Gun comes with 6 interchangeable massage heads: cone, fork, round, flat, and 2 stainless steel heads, fully customizable to fit your diverse needs.

2. Portable…

Dictionaries are used to store data values in key:value pairs.Key value is provided in the dictionary to make it more optimized. Dictionaries are written with curly brackets, and have keys and values. Dictionaries are mutable. We can add new items or change the value of existing items.

Create an Dictionary elements

# empty dictionary
my_dict = {}
# dictionary with integer keys
my_dict = {1: 'apple', 2: 'banana', 5: [2, 4, 3] }
# dictionary with string keys
my_dict = {'apple': 3, 'banana': 5, 'list': [2, 4, 3] }
# dictionary with mixed keys
my_dict = {'name': 'John', 1: 'banana'…

In this article we are going to explain simple Socket Programming using Python Programming Language. Client will send basic Math operation and Server will send the result after basic Math operations.

We will create two python files. One of them called Server.py other called Client.py.

  • Client: will send a request to Server like 2#+#5 or 43#-#10 data.
  • Server: got a request and then immediately split by # character
  • Server: recognition the basic operation between ## characters.
  • Server: make basic operation and send the result to client.

Here is the Server.py

Code Explanation

line1: import socket module
line2: Creates a socket…

Sometimes I can’t remember some kind of Elasticsearch Queries. That is why I write this article. With this article I can find all kind of EIasticsearch Queries.

Returns search hits that match the query defined in the request.

GET indexname/_search

The following search returns documents where the Id field by ascending sort

GET  indexname/_search
"sort": {
"Id": { "order": "asc" }

The following search returns documents by ascending order of tweettime

GET indexname/_search
"sort": [
{ "tweettime": "asc" }

The following search returns documents where the Id field is 5

GET indexname/_search

Photo by Pankaj Patel on Unsplash

Hi everyone, In this article, we will see all the Git commands. Firstly, let me explain what Git is.

Git is a software for tracking changes in your projects and an open-source distributed version control system. It is also a free software. Git was created by Linus Torvalds in 2005 for development of the Linux kernel.

Here are all Git Commands

1) Starting a project

Initialize a new git repository:
git init [project name]
Download your existing project from Github/Gitlab...
git clone [url]
Example of Download repository from Github
git clone https://github.com/user/RepositoryName.git

2) Git Configuration

Set configuration values for your…

Hi Pythoneers, So many times we have many Pdf files including soo many Images and Texts data. But sometimes we have to extract Images and Text from Pdf files But extracting Images and Texts from Pdf files using Copy and Past It can be torture. That is Why Python is Everywhere :)

And then I searched on google and I find a great package is called PyPDF2 to extract Images from Pdf files. Here is github link. And I find a great toolkit is called Tika to extract Texts from Pdf files.

PyPDF2 is a pure-python PDF library capable of…

Hi Pythoneers! In this article, I am going to get all my notes for Python Lists.

So what are lists? Lists are used to store multiple items in a single variable and also to store collections of data.

Let’s start looking at my list notes.

1) Create an empty list

my_list = []

2) Show all values of the list

my_list = [1, 2, 3, 4, 5, 6, 7]
#[1, 2, 3, 4, 5, 6, 7]
my_list = [1, 2, 3, 4, 5, 6, 7]
#[1, 2, 3, 4, 5, 6, 7]

3) Show the value of the…

Virtualenv is a tool for creating isolated virtual python environments. Here is the virtualenv pypi link and here is the virtualenv github link. My operating system is Windows that is why all commands are suitable for windows.

1) Install Virtualenv Package

Execute the following pip command in your terminal to download the virtualenvmodule as shown below:

python -m pip install --user virtualenv
#install virtualenv in your project

2) Create Virtual Environment

Execute the following virtualenv command in your terminal to create an virtual python environment called env.

virtualenv env 
#create an virtual python environment called env

3) Activate Virtual Environment

Be carefull your created virtual environment name. On the above we created…

Beautiful Soup is a Python package for getting data out of HTML ,XML documents and other markup languages. We can use this package for getting data from java script or dynamically loading pages. It only fetches the contents of the URL that you give and then stops.

Beautiful Soup installation is so easy for your Python environment. Just type pip install bs4 .

pip install bs4

Beautiful Soup supports the HTML parser included in Python’s standard library, but it also supports a number of third-party Python parsers. One of them is lxml parser. If you want to use it you…

image source

Selenium is an open-source web-based automation tool to test your web application. We will examine Selenium down to the finest details with some projects.


Before writing a single line of Python, youe need a Selenium Driver for your favorite web browser. The download links for the drivers are available here: Chrome, Edge, Firefox, and Safari. Follow the link for the browser of your choice and download the driver for the compatible version. We will use the Chromedriver. You can find for chrome compatible version is here chrome://settings/help

You have to install Selenium on a your Python environment. Easiest way using…


I am an computer engineer. I am interested technology since 2010.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store