Sign in

Python has many great packages to scrape pages on the internet. One of them is instaloader. But instaloader is specially useful to extract data like videos, images, profil pictures, posts and comments from Instagram Application.

Instaloader is a Python package to download pictures or videos along with their captions and other metadata like comments, like count, posts… from Instagram. Instaloader reveals its internally used methods and structures as a Python module and also allowing to further customize obtaining media and metadata from Instagram Application.

With Instaloader Module we can;

  • downloads public and private profiles, hashtags, user stories, feeds and saved…

With this article I try to explain some libraries to exract Texts and Images from Word, Pdf and PowerPoint Files using Python. Several libraries exist that can be used to read and write Word, Pdf and PowerPoint Files in Python. These libaries are Apache Tika, Docx2txt, Python-docx, PyPdf2 and PyMuPDF

1) Apache Tika

The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful for search engine indexing, content analysis, translation, and much more. You can…

1- Python Crash Course, 2Nd Edition: A Hands-On, Project-Based Introduction To Programming

If you never coded a single line of Python in your life this book is exactly for you.

Advantages

  • Good for beginner
  • It’s very well written and easy to understand.
  • Easy to Understand / Follow
  • Very enjoyable read
  • Super helpful and effective format &tips!
  • Customer Reviews: 4.7 out of 5 stars 5,024 ratings

Disadvantages

  • Does not go too far or deep
  • The pace is incredibly slow, like it was written for little children. The exercises are a joke — they don’t make you *think*, they are very simplistic.
  • There are no clear instructions for how to install pygame.
  • The book binding is…

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
{
"query"…
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]
print(my_list)
#[1, 2, 3, 4, 5, 6, 7]
my_list = [1, 2, 3, 4, 5, 6, 7]
print(my_list[::])
#[1, 2, 3, 4, 5, 6, 7]

3) Show the value of the…

HKN MZ

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