Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Python Development Challenge Overview Create a Python application that will read from 3 input files and use the data within to produce 2 output files

Python Development Challenge Overview Create a Python application that will read from 3 input files and use the data within to produce 2 output files

Computer Science

Python Development Challenge
Overview
Create a Python application that will read from 3 input files and use the data within to produce 2 output files. The 5 filenames should be taken as command-line parameters such as the following example:
python report.py -t TeamMap.csv -p ProductMaster.csv -s Sales.csv
--team-report=TeamReport.csv --product-report=ProductReport.csv
Constraints
? Code to be written for Python 2.7 or higher
? Code should only use built-in Python packages (and not use third-party packages such as pandas)
? Deliverable should be a zip file containing project code, related files, and instructions for installing and
executing the application.
? While there is no specific guidance on the code, the resulting application should meet your personal
standards for a production-ready deployment.
Input Files
Team Map
The Team Map file is a comma-separated text file where each line contains two values: an integer
uniquely identifying a team and the string name of the team. The unique id may be assumed to be positive. The
string team name is not quoted and may be assumed not to contain commas or non-ASCII characters. The file
does contain a header with the field names. An example file is as follows:
TeamId,Name
1,Fluffy Bunnies
2,White Knights
3,Kings and Queens
Product Master
The Product Master file is a comma-separated text file where each line contains information about a
unique product. The fields of the file are as follows:
? ProductId – an integer uniquely identifying the Product
? Name – a string name of the Product
? Price – a floating point price at which the Product is sold (per unit, not per lot)
? LotSize – an integer representing the number of products sold in a single lot
The numerical fields may be assumed to be positive. The string fields are not quoted and may be assumed to
not contain commas or non-ASCII characters. The file does not contain a header. An example file is as follows:
1,Minor Widget,0.25,250
2,Critical Widget,5.00,10
3,Complete System (Basic),500,1
4,Complete System (Deluxe),625,1

Option 1

Low Cost Option
Download this past answer in few clicks

26.99 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE