- Python Scripting Project
This project implements an automation system that performs the following tasks:
- Scans a specified folder for Java and Golang files.
- Creates corresponding folders for each programming language (Java and Golang) in a designated destination.
- Copies the identified files into their respective language folders.
- Compiles the source code files using language-specific compilation commands.
- Python 3.x
- Operating System: Linux/Unix. Windows, or Mac
-
Clone the repository:
git clone https://github.com/Belal-Mohsen/python_scripting_project.git
-
Navigate to the project directory:
cd python_scripting_project
-
Install the required Python packages:
pip install -r requirements.txt
Run the script from the command line with the following syntax:
python3 python_scripting_project.py source_directory destination_directory
source_directory
: The path to the directory containing Java and Golang files.destination_directory
: The path where the project will create language-specific folders and compile the files.
python3 python_scripting_project.py Apps CompiledApps