Furqan

Bypass CAPTCHA on Website Using Python 3 & pytesseract OCR

Bypass CAPTCHA on Website Using Python 3 & pytesseract OCR

The below Python 3 code-snippet allows you to bypass text/image CAPTCHA on a Website using the OCR (Optical Character Recognition)…

July 7, 2022

Skip the First Line in a Text File Using Python 3

By using the below Python 3 code snippet, you can easily skip the first line of a text file. code.py…

July 7, 2022

Find Random Lucky Draw Number Using Python 3 & random Module

Today I'll guide you on how to use Python 3 and random module to find Random Lucky Draw Number in…

July 7, 2022

Open Notepad App and Write Text into it Using Python 3, PyAutoGUI & pynput

In this tutorial, I'll use Python 3, PyAutoGUI & pynput to open the Notepad app and write text into it.…

July 7, 2022

Build Port Scanner For Domain Name in Python 3 pyfiglet

In this tutorial, I'll use Python 3 and pyfiglet library to create a port scanner for a given domain name…

July 7, 2022

Python 3 Find IP Address of Domain Name Using Socket Module

code.py import socket hostname = input("Please enter website address:\n") # IP lookup from hostname print(f'The {hostname} IP Address is {socket.gethostbyname(hostname)}')

July 7, 2022

Python 3 Find Domain Name From IP Address Using Socket Module

code.py import socket print(socket.gethostbyaddr("188.166.49.53"))

July 6, 2022

Python 3 Selenium Open URLs in Multiple Tabs inside Browser

main.py # Necessary imports from selenium import webdriver # initially webdriver is empty webdriver.driver = None browserName = input("Enter your…

July 6, 2022

Python 3 Find Difference Between Two Timestamps in Minutes

code.py from datetime import datetime fmt = '%Y-%m-%d %H:%M:%S' tstamp1 = datetime.strptime('2016-04-06 21:26:27', fmt) tstamp2 = datetime.strptime('2016-04-07 09:06:02', fmt) if…

July 6, 2022

Python 3 Find Difference Between Two Timestamps in Days

code.py import datetime min = min/1000 #removing milli seconds max = max/1000 min = datetime.datetime.fromtimestamp(min) max = datetime.datetime.fromtimestamp(max) print("Total Days…

July 6, 2022