# Python for AI: Create AI Apps with Flask & OpenAI

Canonical URL: <https://training-nyc.com/courses/ai-python>

## Overview

This course provides a comprehensive introduction to Artificial Intelligence (AI) using Python, aimed at beginners and intermediate Python users. Through a combination of theoretical knowledge and practical exercises, students will gain a solid foundation in AI concepts and their applications using Python. By the end of the course, students will be equipped with the skills to develop and deploy their own AI-powered applications.

By the end of this course, students will have a strong understanding of AI concepts and practical experience with Python libraries used in AI development. They will have completed a project that involves building and deploying an AI application, preparing them for real-world AI challenges.

## What you'll learn

- Learn how AI and Python go hand-in-hand
- Work with Python's major AI libraries
- Build & deploy your own AI app

## Prerequisites

This course requires a basic to intermediate understanding of Python programming. Students without prior experience should first take our [Python for Data Science Bootcamp](/courses/python-data-science-nyc) or [Python Programming Bootcamp](/courses/python-programming-immersive).

## Curriculum

#### Introduction to Flask

- Overview of Flask and its use cases
- Setting up a Flask project
- Creating and running your first Flask app

#### Building the Web Application

- Designing the HTML structure and creating templates
- Styling the app with CSS
- Creating Flask routes for handling requests and rendering templates

#### Integrating the OpenAI API

- Setting up the OpenAI API and acquiring an API key
- Making API calls to perform sentiment analysis
- Parsing and displaying the API's results in your web app

#### Handling User Input

- Building forms in HTML to capture user input
- Processing form submissions in Flask
- Displaying dynamic content based on user input

#### Error Handling & Debugging

- Implementing error handling to catch and manage potential issues
- Debugging common errors and understanding Flask's error messages

#### Deploying & Testing

- Running the Flask app locally and testing its functionality
- Reviewing the complete workflow of submitting a comment and receiving sentiment analysis results

## Schedule
- Aug 24, 2026 – Aug 28, 2026 — NYC
- Oct 7, 2026 – Oct 14, 2026 — NYC
- Nov 30, 2026 – Dec 4, 2026 — NYC

## Pricing

**Tuition:** $1895
