reportwriter's Introduction
# Final Project Description This project is designed to take an expense file (.txt) and output a text file report. The expenseData.txt is a text file, tab delimited. This file contains raw data to be parsed by the program. The ExpenseFile class has multiple methods that can be called to extract data from the report and return meaningful analysis for decision makers in an organization. One of the functions also outputs a tabulated table of data that groups by the expense categories and sums the amount for each. There are two other functions in the program. One of the functions timestamps when the program was run and the other writes human readable analysis output to a text file. ## Requirements In order to run this program, one must have Python 3.8+ installed. The Python libraries of datetime, Pandas and Tabulate must also be installed to your environment. Pip is the package installer for Python so I highly recommend using this tool. I use a pipenv virtual environment and run the [python3] [pip3] ## Installation [pip3 install -r requirements.txt] ## Running the program Make sure that you have saved the supplied expenseData.txt file saved in your working directory. The program checks the directory for a specific file name so it is imperative to have both the final.py file and expenseData.txt file saved in the same directory. When you are ready to execute the program, open the command line and navigate to the directory and run: [python3 final.py]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.