Remember to enter your actual time in your module docstring. Are you getting better at estimating?...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Remember to enter your actual time in your module docstring. Are you getting better at estimating? Is this exercise too big? Will it take too long? Probably. Not every student can do every task in every subject. Some things are challenging and that's OK. Be systematic, thoughtful, use the patterns you've learned, copy from previous examples.... be efficient. Don't waste time reinventing new/different ways to do "standard" things like menus. Follow the patterns. File: project.py File: project management.py Read the instructions, then enter a time estimate in your module docstring. The instructions for this exercise are intentionally not step-by-step. We want you to use what you've learned about good program and class design, iterative development, version control, clean code, etc. to determine the best approach. Save the projects.txt data file to your prac folder. This file contains the data for this exercise delimited by tabs. The first line is a header, explaining the fields for each project. Write a program in project management.py to load and save a data file and use a list of project objects. Load projects from the data file when the program starts and save them to it when the user quits. Your program should contain a menu with the following options: Load projects (Prompt the user for a filename to load projects from and load them) Save projects (Prompt the user for a filename to save projects to and save them) Display projects (Display two groups: incomplete projects; completed projects, both sorted by priority) Filter projects by date (Ask the user for a date and display only projects that start after that date, sorted by date) Add new project (Ask the user for the inputs and add a new project to memory) Update project (Choose a project, then modify the completion% and/or priority - leave blank to retain existing values) Expectations: Commit your work as you go (iterative development) Some of this could be considered relatively "hard" - do the easy bits first, then add more as you go Use the datetime module for the project start date Write your class such that you are able to sort/compare Project objects based on priority order Think about writing utility/helper methods in your class and main program. Think of our examples like is_vintage for Guitar and what you might use for a Project. Follow good design principles like SRP and DRY. Notice that there's two kinds of loading and write one function to handle both. Same for saving. Write good clean code (no pylint warnings) with good naming and design (as always!) Here are two suggestions to leave until last (iterative development): Error checking. Do no error checking to start with. Date formatting. Just use a string until most everything else works, then, here are some suggestions. The following code reads a string from user input, converts it to a date object (using the strptine method from the datetime type), prints the day of the week (XA) and then prints the date as a string: Remember to enter your actual time in your module docstring. Are you getting better at estimating? Is this exercise too big? Will it take too long? Probably. Not every student can do every task in every subject. Some things are challenging and that's OK. Be systematic, thoughtful, use the patterns you've learned, copy from previous examples.... be efficient. Don't waste time reinventing new/different ways to do "standard" things like menus. Follow the patterns. File: project.py File: project management.py Read the instructions, then enter a time estimate in your module docstring. The instructions for this exercise are intentionally not step-by-step. We want you to use what you've learned about good program and class design, iterative development, version control, clean code, etc. to determine the best approach. Save the projects.txt data file to your prac folder. This file contains the data for this exercise delimited by tabs. The first line is a header, explaining the fields for each project. Write a program in project management.py to load and save a data file and use a list of project objects. Load projects from the data file when the program starts and save them to it when the user quits. Your program should contain a menu with the following options: Load projects (Prompt the user for a filename to load projects from and load them) Save projects (Prompt the user for a filename to save projects to and save them) Display projects (Display two groups: incomplete projects; completed projects, both sorted by priority) Filter projects by date (Ask the user for a date and display only projects that start after that date, sorted by date) Add new project (Ask the user for the inputs and add a new project to memory) Update project (Choose a project, then modify the completion% and/or priority - leave blank to retain existing values) Expectations: Commit your work as you go (iterative development) Some of this could be considered relatively "hard" - do the easy bits first, then add more as you go Use the datetime module for the project start date Write your class such that you are able to sort/compare Project objects based on priority order Think about writing utility/helper methods in your class and main program. Think of our examples like is_vintage for Guitar and what you might use for a Project. Follow good design principles like SRP and DRY. Notice that there's two kinds of loading and write one function to handle both. Same for saving. Write good clean code (no pylint warnings) with good naming and design (as always!) Here are two suggestions to leave until last (iterative development): Error checking. Do no error checking to start with. Date formatting. Just use a string until most everything else works, then, here are some suggestions. The following code reads a string from user input, converts it to a date object (using the strptine method from the datetime type), prints the day of the week (XA) and then prints the date as a string:
Expert Answer:
Related Book For
A Concise Introduction to Logic
ISBN: 978-1305958098
13th edition
Authors: Patrick J. Hurley, Lori Watson
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Write a literature review for your study. See below for an example of a literature review. Your literature review should provide both analysis and synthesis of previous studies as related to the...
-
Christine has three cars that must be overhauled by her ace mechanic, Megan. Given the following data about the cars, use least slack per remaining operation to determine Megans scheduling priority...
-
Mississippi Retailers expects credit sales in the next quarter as follows: April ............................$ 80,000 May ...............................90,000 June...
-
1. How is the growing provision of alternative sources of health services around the world likely to affect the triad-based providers, public and private? 2. Explain the rise of Bumrungrad...
-
Axial dispersion in turbulent flow. Taylor showed that the following expression is suitable for the calculation of the axial dispersion coefficient for turbulent flow in a pipe: \[D_{\mathrm{E}}=10 R...
-
The 2006 AAPA survey of the population of physicians assistants who were working full time reported a mean annual income of $84,396 and standard deviation of $21,975. (Source: Data from 2006 AAPA...
-
. How would a person create and claim value in leadership ability via the use of resource allocation theory and constrained utility maximization?
-
Explain the bending phenomenon of light on the corners.
-
The three stages of transcription are a. initiation, ribosome binding, and termination. b. elongation, ribosome binding, and termination. c. initiation, elongation, and termination. d. initiation,...
-
During the process of XCI, which chromosome expresses the Xist gene and which one expresses the Tsix gene? a. Xist is expressed only by Xa, and Tsix is expressed only by Xi. b. Xist is expressed only...
-
Sigma () factor is needed during which stage(s) of transcription? a. Initiation c. Termination b. Elongation d. All of the above
-
The overall goal of the ENCODE Project is a. to sequence the entire genome from many different people. b. to identify all of the functional elements in the human genome. c. to study the expression of...
-
A key difference between the nucleotides found in DNA and those in RNA is that a. those in DNA have phosphate, and those in RNA do not. b. those in DNA have deoxyribose, and those in RNA have ribose....
-
In the second milestone of your final project, you will complete your pre-opening strategy. You must analyze the cost behaviors and systems of your industry and then conduct the relevant financial...
-
Propose a reasonable mechanism for the following reaction. OH
-
Since Michael is a Pisces, it necessarily follows that he was born in March. Determine whether the following arguments are inductive or deductive. If an argument is inductive, determine whether it is...
-
1. Exporting cigarettes [to Asia] is good business for America; there is no reason we should be prohibited from doing so. Asians have been smoking for decades; we are only offering variety in their...
-
A few guests arrived late. (G, A) Translate the following statements into symbolic form. Avoid negation signs preceding quantifiers. The predicate letters are given in parentheses.
-
At December 31, 2025, the fair value of non-trading securities is 41,300 and the cost is 39,800. At January 1, 2025, there was a credit balance of 900 in the Fair Value Adjustment Non-Trading...
-
On January 1, 2025, Lennon Enterprises acquires 100% of Ono Ltd. for 220,000 in cash. The condensed statements of financial position of the two companies immediately following the acquisition are as...
-
Which of the following will not be reported in the statement of cash flows? a. The net change in plant assets during the year. b. Cash payments for plant assets during the year. c. Cash receipts from...
Study smarter with the SolutionInn App