Question: FINAL PYTHON PROJECT GOAL Your topic may be on anything you choose, providing it is technical, ie. No sport statistics or shopping carts. For example,

FINAL

PYTHON PROJECT

GOAL

Your topic may be on anything you choose, providing it is technical, ie. No sport statistics or shopping

carts. For example, Linux backup, security, processes (signal handling), IPs , data testing, boot up

routines, using mail server.

- Create an input (data) file from running system with at least two columns

- Filter information from input file and save it to an output file

The idea is to have a configuration (config) file that is read when your script is run. The config file

contains valuable information pertaining to how your script will run. The config file can then be easily

modified and widely distributed without having to alter the main script. The output can be then sent

from the individual system to a central server for evaluation (not required).

Your main script should be very versatile with little hard coded information so that it can be successfully

ran on any machine. The config file should also contain default generic paths.

File Names:

- projectini

- projectdata

- projectoutput

- projectscript

Running script:

1. Start script

2. Script reads a configuration file that contains:

a. Path and name of input file

b. Path and name of output file

c. Filter option (sort by value, and maximum number of output values to be written)

d. Constants pertaining to actions of the script

3. Menu appears with instructions:

Main Menu (Loop until Enter is pressed with no value)

1. Create Input/Data file) (Error handling required)

- Show message with total number of entries written

2. Generate Output file (Error handling required)

- Show message to show how much data was written - File requirement:

o Heading: needs to list who ran the script to create file

o Heading: Date (formatted)

o Filtered data (formatted)

3. Read and Print to screen content of Output file (Error handling required)

GENERAL CODING REQUIREMENTS (25)

1. Menu Functionality and prompting (4)

2. Code readability/implementation (4)

3. Date parsed out month, day, year ONLY (2)

4. Include at LEAST 3 modules (but as many as required) (3)

5. Log file of transactions (2)

6. Error checking (5)

a. Error checking when opening and writing to files

b. Proper closing of files

c. Menu input

d. Display issue

7. Sorting implemented (3)

8. Counter - may be incremental or evaluative (1)

9. Regex (2)

10. Dictionary (4)

a. Create and apply a useful dictionary

11. Message boxes (2)

12. Use of two Linux commands integrated into the code (2)

FUNCTIONS (10)

13. Star (or something like that) function create (1)

14. Call star function (1)

15. Create function (2)

16. Call create function (2)

17. Outfile function (2)

18. Call outfile function (2)

19. Another function (1)

20. Call for other function (1)

DECISION STATEMENTS (5)

21. if statements (5)

22. case statement (2)

LOOPS (5)

23. Looping mechanism (5)

ARRAYS (10)

24. Array (3)

25. Use of array index (2)

26. Print data from array (3)

27. Split or join (3)

28. ONE array method, such as append, extend, delete, pop, len (5) (May be used with a string)

INPUT FILE (10)

29. Contains the correct system information (10)

OUTPUT (10)

30. Correct output (5)

31. Formatting and visual presentation of finished product (5)

MISCELLANEOUS

32. Code not referenced - ZERO FOR ENTIRE PROJECT - does not need to be IEEE, but you must give

me the URL for ANY code you found on the internet, and the name of the book author, publisher, and

page numbers for code found in a book. If you had assistance from a person for a SMALL piece of code

- you must give them credit.

DELIVERABLES:

1. LOGIC/PSEUDOCODE (Can use flow charts) (10%)

2. Justification Document specifying how your code fulfilled the requirement (5%)

3. Demo Video: (10%)

Needs to show the following:

- Explain the purpose of the script

- Logic

- Demo script proving that everything works

4. CODE (75%)

5. Files: Config file, input raw data file, output file (-10% for each missing)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!