From the course: Hands-On AI: Vibe Coding in Python with Cursor
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Generating code with AI
From the course: Hands-On AI: Vibe Coding in Python with Cursor
Generating code with AI
- [Instructor] Now that we understand vibe coding principles and best practices, we'll explore the core code generation feature that make Cursor such a powerful AI pair programmer. To demonstrate Cursor effectively, I've created a starter project called Task Analytics System. This is a command line application written in Python for analyzing productivity patterns. You can find the starter code in your exercise files. You're welcome to sit back and watch the demo, or if you want to follow along, simply download the files, and open up the folder in your Cursor app. To open this project, go to File, Open Folder, and select our task_analytics directory. You see we have several Python files in the folder: models.py with our data structures, analytics.py for analysis logic, utils.py with helper functions, and main.py as our entry point. Notice we also have a project_context.md file, like we discussed in the previous module. This gives Cursor context about our project goals. We're building a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.