Python Monthly Expense
Python Monthly Expense
SUBMITTED BY
STUDENT NAME :
REG NUMBER :
STUDENT ID :
YEAR / SEM : III / V
SUBJECT CODE / NAME : SB8026 / ROBOTICS PROCESS AUTOMATION (R-2021)
BRANCH : COMPUTER SCIENCE & ENGINEERING
V.R.S. COLLEGE OF ENGINEERING &
TECHNOLOGY, ARASUR.
(Reaccredited by NAAC & an ISO 9001:2008 Recertified Institution)
BONAFIDE CERTIFICATE
NAME : ……………………………………………………………………….
DEPARTMENT :………………………………………………………………………..
ROLL NO :…………………………………………………………………….....
Register No.
Certified that this is the bonafide record of work done by the above Student in the
....................................................................................................................................................................................
Project Description
This project aims to streamline the process of analyzing monthly expenses by integrating a Python
script within a UiPath workflow. The Python script processes a CSV file containing expense data,
calculates the monthly totals, and identifies the category with the highest expense. By combining
Python's data-processing capabilities with UiPath's automation tools, the workflow not only
executes the analysis but also sends an email with the results, ensuring efficient and automated
reporting.
Problem Statement
Organizations and individuals often track monthly expenses manually, which can be time-
consuming and error-prone. While Python scripts can handle data analysis efficiently, they lack
the automation and orchestration capabilities to integrate with other processes, such as
Python Script Execution: Runs a pre-written Python script to analyze the CSV file.
Result Processing: Captures the output of the Python script, specifically the highest
expense category.
2. Steps
Step 1: Input Excel File
The CSV file (MonthlyExpenses.csv) contains columns for expense categories and amounts.
o Load the Python script using the Load Python Script activity.
3. Invoke Python Script:
o Use the Invoke Python Method activity to call the analysis function in the script.
1. Use the Send SMTP Mail Message activity to compose and send the email.
2. Ensure proper authentication for the email service (e.g., Gmail, Outlook).
Conclusion
By integrating Python for data analysis into UiPath, this project successfully automates monthly
automation features.