Skip to content

Python Automation Scripts Repository! This repository contains a collection of Python scripts for automating various tasks and processes. These scripts are designed to simplify repetitive tasks and improve productivity.

Notifications You must be signed in to change notification settings

AhmedManan/Python_Automation

Repository files navigation

Automation in Python

Welcome to the Python Automation Scripts Repository! This repository contains a collection of Python scripts for automating various tasks and processes. These scripts are designed to simplify repetitive tasks and improve productivity.

Table of Contents

Getting Started

Prerequisites

To run the Python scripts in this repository, you need to have the following installed:

Installation

  1. Clone or copy this repository to your local machine.
  2. Install all the Prerequisites libraries

Scripts

ExtractWebsiteTable.py

This Python script utilizes the Pandas library to read HTML data from the Wikipedia page titled "List of Game of the Year awards." It extracts a specific table (index 1) from the webpage and saves it as a CSV file named "GameList.csv." The script is designed to automate the extraction and storage of game-related award data from the Wikipedia page in a structured and easily accessible format.

AutomateNewsAljazeera.py

The provided Python script automates web scraping of news titles and links from the Al Jazeera website. It utilizes the Selenium library to interact with the chrome web browser and fetches the most-read news articles from the Al Jazeera homepage. The scraped data is then organized into a Pandas DataFrame and exported to a CSV file named "AutomateNewsAljazeera.csv."

To use the script, ensure you have installed the necessary libraries: Selenium and Pandas. Also, make sure to provide the correct path to the chromedriver.exe (required for Chrome browser automation) or adjust the WebDriver according to your preferred browser.

AutomateNewsBackground.py

This Python script demonstrates web scraping of news titles and links from the Al Jazeera website in headless mode using Selenium. The script uses the Chrome WebDriver to fetch the most-read news articles from the Al Jazeera homepage in headless mode.

In headless mode, the web browser runs in the background without displaying a visible window, making the automation process faster and less intrusive.

The scraped data, consisting of article titles and corresponding links, is organized into a Pandas DataFrame and exported to a CSV file named "AutomateNewsAljazeera.csv."

AutoExtractionApplication.py

This Python script utilizes the Selenium library for web scraping and automation. It extracts the most-read news titles and links from the Al Jazeera website and stores the data in a CSV file. The script uses the Chrome web driver from the Selenium WebDriver library and employs the Pandas library to organize the extracted data into a DataFrame. The script runs in headless mode (without displaying the browser window) using Chrome options. It is designed to be a self-contained application for automated news extraction from Al Jazeera's website.

About

Python Automation Scripts Repository! This repository contains a collection of Python scripts for automating various tasks and processes. These scripts are designed to simplify repetitive tasks and improve productivity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages