Python Assignment
reddygs17Instructions:
NOTE: Make sure to fully read the instructions before starting
With this file you will find a handful of files ending in .txt containing the following data:
schedule.txt:
A table containing applications, command line flags, start times, stop times, whether the application is enabled,
and the days of the week the application runs. Days of the week are read as follows:
1,4-7 = Sunday, Wednesday, Thursday, Friday, Saturday
* = Every day of the week
apps#.txt:
A date to consider and an unsorted list of application names
example.txt:
Example output for apps1.txt
Create a Python 3 program that does the following:
1. Takes the path to a schedule file, the path to an app file, and the path to an output file as command line arguments
2. Writes a csv of the applications that would run on the date in the app file as well as their options,
start times, and stop times
For example, executing the following should result in a file similar to example.txt:
python3 script.py schedule.txt apps1.txt example.txt
You can assume the apps files will never contain an application that is not present in the schedule file and that
neither input will contain malformed or invalid data
- 3 years ago
- 20
- For Essay Guru Only - Do Not Disturb
- CJA 474 Week 2 Individual Assignment Motivation and Control Thanks for Nothing Paper (1)
- Mineral and Water Function Essay
- Homework assignment
- The geography of a place is unique and relevant in determining the life style of people. Discuss this in the light of the people of Nigeria
- CIS 319 Week 4 Individual Assignment - Memorandum
- Emergency Management Response
- Home work question #1
- Research Paper on intrusion detection
- MHA690 Healthcare Capstone