What's new

Help Python data structures

Status
Not open for further replies.
Your code is a good start for the task management application, but there are several areas that need to be adjusted to meet the project requirements. I will provide you with feedback and suggest modifications based on the requirements outlined.

1. User Registration and Login:
- Your current implementation for user registration and login seems to be working fine. However, you should store user credentials in a dictionary format in a text file, as mentioned in the requirements. You can store them as JSON for easy retrieval and storage.

2. Task Management:
- You are capturing task details and storing them in a text file, but you need to organize the data more effectively. Each task should be a dictionary, and all tasks for a user should be stored in a list. Make sure to utilize tuples for immutable data, such as task status options ('Complete', 'Incomplete').

3. File Handling:
- You are storing tasks in a text file, but you need to name the file after the user's username (e.g., username_tasks.txt). Additionally, use sets to ensure that task IDs are unique.

4. Super Admin Functionality:
- You need to implement the super admin account functionality. This account should be able to view all users' tasks. Make sure to aggregate tasks from all users' files and display them as required.

5. Search Functionality:
- The search functionality should allow users to find tasks by name, description, or status. You can enhance your search function to include these criteria.

6. Data Structure Usage:
- Ensure that you are effectively using lists, dictionaries, sets, and tuples as specified in the requirements. For example, use a list to store all tasks for a user, a dictionary for each task and user credentials, sets for unique task IDs, and tuples for immutable data.

7. Error Handling:
- Implement error handling for file operations and user inputs, as mentioned in the guidelines. This will improve the robustness of your application.

8. Additional Guidelines:
- Ensure that your code is original, well-commented, and free of duplicates. Provide a detailed user manual with step-by-step instructions on how to use the program, including user registration, task management, search functionality, super admin features, and logging out.

9. Submission Checklist:
- Make sure your submission includes all the required components, such as source code with comments, text files for storing user credentials and tasks, video presentation link, and individual written reports from team members.

By addressing these points and aligning your code with the project requirements, you will have a comprehensive task management application that effectively utilizes Python data structures. If you have any specific questions or need further assistance with modifying your code, feel free to ask!
 
Status
Not open for further replies.
Back
Top