Simple AI Chat Application using ChatGPT API

This code sets up a chatbot using OpenAI’s ChatGPT API to respond to user input. Here’s a brief overview of what the code does: Note that the code is designed to run continuously until it is interrupted (e.g., by pressing Ctrl+C on the keyboard). This is because the loop condition while True: will always be … Read more

Setting up Python Virtual Environment on Ubuntu

This guide helps to set up a python virtual environment on Ubuntu. First, I will check the current version of python on my ubuntu machine $ python3 -V Now install the python3-venv package that provides the venv module $ sudo apt update$ sudo apt install python3-venv Creating virtual environment once, you install the python3-venv package. … Read more

Google map scraper using Selenium

In the last post, I have shown you how to scrape google “People also ask”. Here is the code to scrape the Google Map using Selenium. Please leave the suggestions, and comments below or in our Facebook group You, Me, and Automation.

Web scraping using Scrapy – Part 1

This article is about scrapy for web scraping. I will tell you how to set up and scrape with examples. Step1: Python Installation First, you download & install python on your machine using this link What is python? Python is a high-level, interpreted, general-purpose programming language. Its design philosophy emphasizes code readability with the … Read more

Python and MySql Quick Overview

In order to connect python with MySql, I need to install the MySQL driver package. Remember if you want to install MySQL connector in the virtual environment, enable or activate the environment and then install the driver using PIP. MySql connection This will print nothing if the connection is successful else return an error. Create … Read more