How to download a file from a website link using Python script or, code snippet

In this article, I’m going to demonstrate some code snippets that you can utilize to download files from the Internet using Python. I’m assuming you have a strong basic knowledge of python. I’m going to use some python libraries that are available on the python package index (pip). The codes given in this tutorial is…

Advertisements

How to Check Web page for SEO Using Python

Banner vector created by macrovector - www.freepik.com

Website SEO aka Search Engine Optimization is important for every modern website. However manually validating SEO criteria is quite cumbersome. It is possible to automate most of the SEO checks using python. In this article, I'm going to demonstrate some ideas using basic python code snippets. These scripts will work as a good starting point…

Making a Stand Alone Executable from a Python Script using PyInstaller

There are plenty of tools available for converting python script into executable. For example, check out: PyInstallerpy2exe For Python 2, I used to prefer py2exe. It is a neat tool that does the trick by making a stand alone executable from python script. The one problem I faced was, py2exe used to support only python 2! Then I moved on to…

How to take Password input in Python

Did you know? There is a python module in Python Standard Library called getpass. The purpose of this library is to securely take input from user! The module is very handy for sensitive inputs such as passwords / keys or any kind of credentials. Simplest example of getpass could be this: import getpass password =…