0% found this document useful (0 votes)
22 views4 pages

Final Project Screenshots for Flask AI App

This document outlines three hands-on Python projects focused on automation, web scraping, and web development using Flask, each with a detailed week-wise plan and deliverables. The projects include a File Organizer script, a Product Price Tracker, and a Flask To-Do App, with specific tasks and reviews scheduled throughout the development process. Final deliverables for each project consist of working scripts, documentation, and user guides.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views4 pages

Final Project Screenshots for Flask AI App

This document outlines three hands-on Python projects focused on automation, web scraping, and web development using Flask, each with a detailed week-wise plan and deliverables. The projects include a File Organizer script, a Product Price Tracker, and a Flask To-Do App, with specific tasks and reviews scheduled throughout the development process. Final deliverables for each project consist of working scripts, documentation, and user guides.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PROJECT DOCUMENT – PYTHON

DEVELOPMENT
Overview
This document outlines three hands-on Python projects aimed at building skills in automation, web
scraping, and web development using Flask. Each project includes a structured week-wise plan, mid and
final reviews, and well-defined deliverables.

Project 1: Automation Script – File Organizer


Problem Statement:
Develop a Python script that automatically organizes files in a target directory based on file types (e.g.,
Documents, Images, Videos, Others).

Week-wise Plan

Week Tasks

- Learn Python basics: syntax, file handling with os and shutil.


Week 1 - Design folder structure by categories (Documents, Images, Videos,
Others).

- Implement script to scan and classify files based on extensions.


Week 2
- Dynamically create folders and move files accordingly.

Mid Project Review Script correctly identifies and classifies file types.
(Sunday) Folders are created and files organized successfully.

- Add exception handling (try-except) and logging for errors and activity.
Week 3
- Optimize script performance.

- Test the script on multiple sample directories.


Week 4
- Finalize project report and create a user guide with screenshots.

Final Project Review Working script demonstrated.


(Sunday) Documentation and guide submitted.

Deliverables

• file_organizer.py (fully working script)


• [Link] (project description and usage)
• User Guide with screenshots

Project 2: Web Scraping – Product Price Tracker


Problem Statement:
Create a Python script to scrape product prices from e-commerce websites and send an alert when the
price drops below a predefined threshold.

Week-wise Plan

Week Tasks

- Learn web scraping fundamentals using requests and BeautifulSoup.


Week 1
- Identify target product elements (title, price, URL).

- Build scraper to extract and clean data.


Week 2
- Save data in CSV/JSON format.

Scraper fetches correct product data.


Mid Project Review (Sunday)
Data stored successfully.

- Add email alert feature (SMTP or Gmail API).


Week 3 - Set user-defined price threshold.
- Schedule script execution with schedule or cron.

- Add error handling and recovery for failed scrapes.


Week 4
- Finalize code and write complete documentation.

Script functional with live alerts.


Final Project Review (Sunday)
Proper documentation and usage guide submitted.

Deliverables

• price_tracker.py (fully working script)


• [Link] or .env file for email and threshold settings
• [Link] and user guide

Project 3: Mini Web Application – Flask To-Do App


Problem Statement:
Build a simple task management web application using Flask, allowing users to add, delete, and mark
tasks as completed.

Week-wise Plan

Week Tasks

- Understand Flask fundamentals: routing, templates, and rendering.


Week 1
- Create HTML form to add tasks.

- Implement Add/Delete/Complete functionalities.


Week 2
- Store tasks temporarily in memory.

Core To-Do functionality in place.


Mid Project Review (Sunday)
UI updates task list in real time.

- Connect app to SQLite for persistent task storage.


Week 3
- Improve UI with Bootstrap styling.

- Finalize features and perform testing.


Week 4 - (Optional) Deploy on Render/Heroku.
- Write detailed documentation and usage guide.

Functional Flask app with optional deployment link.


Final Project Review (Sunday)
Complete documentation and screenshots.

Deliverables
• Full Flask project folder
• [Link] with installation and run instructions
• Screenshots and optional live demo link

Final Deliverables Summary

Project Deliverables

File Organizer Python script, README, user guide

Price Tracker Script, alert setup, CSV/JSON data, README

Flask To-Do App Complete Flask app, SQLite integration, README, optional deployment

Tools & Libraries Used


Category Tools/Libraries

Core Language Python

Web Scraping BeautifulSoup, Requests

Web Development Flask

Database SQLite

Automation schedule, cron

Deployment Render, Heroku (optional)

Collaboration Git, GitHub

Common questions

Powered by AI

The primary objective of the Python File Organizer automation script is to automatically organize files in a target directory by classifying them into categories based on their file types, such as Documents, Images, Videos, and Others .

Project reviews are crucial as they serve as checkpoints to assess progress, validate deliverables against requirements, and make necessary adjustments. In the document, mid and final reviews are integral parts of each project, ensuring that the development is on track and resulting deliverables meet the expected objectives .

The final deliverable of the Product Price Tracker ensures user engagement and utility by allowing users to set a predefined price threshold, after which an email alert is sent. This feature is scheduled to execute the script at intervals using schedule or cron, making it useful and engaging for users who wish to monitor price changes without recurrent manual checks .

User experience in the web applications is prioritized by implementing user-friendly interfaces through Bootstrap styling, real-time updates to task lists, and optional deployment for easier access. These features enhance interaction, usability, and accessibility, as seen in the Flask To-Do app .

The File Organizer project plan incorporates error handling and feedback by including the integration of exception handling (using try-except blocks) and logging mechanisms in the third week of the plan. These tools are aimed at capturing errors and providing feedback on the script's activity to the user .

Schedule or cron plays a pivotal role in the Product Price Tracker by enabling automated and periodic execution of the script. This ensures continuous monitoring of product prices without needing manual intervention, thereby making the tracker a powerful tool for proactive price monitoring and timely alerts .

SQLite contributes to the functionality of the Flask To-Do app by providing persistent storage for tasks. This means tasks are not lost after the application is closed, and users can return to find their previously added tasks, enhancing usability and the app's practicality .

The key components and technologies used in building the Flask To-Do app include the Flask framework for developing the web application, HTML forms for adding tasks, Bootstrap for styling the UI, and SQLite for persistent task storage. Additionally, optional deployment tools like Render or Heroku may be used .

Exception handling and logging enhance the success of the File Organizer project by ensuring that errors don't interrupt the program's execution and that there is a record of actions and issues that occur during runtime. This allows for easier debugging and reliability of the script in various scenarios .

The Product Price Tracker project plan includes adding error handling and recovery mechanisms for failed scrapes. This likely involves retry logic, logging errors for debugging, and ensuring the scraper can proceed with subsequent tasks despite encountering issues .

You might also like