Sample code for: Cursor vs Windsurf: Which AI Code Editor Is Best for Python?#766
Merged
stephengruppetta merged 5 commits intomasterfrom May 8, 2026
Merged
Sample code for: Cursor vs Windsurf: Which AI Code Editor Is Best for Python?#766stephengruppetta merged 5 commits intomasterfrom
stephengruppetta merged 5 commits intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the documentation artifacts referenced by the Real Python tutorial “Cursor vs Windsurf: Which AI Code Editor Is Best for Python?” so readers can copy/paste prompts and editor rule files directly from the repo.
Changes:
- Added a Windsurf rules file for Python HTTP client conventions.
- Added a Cursor rules file for the same conventions.
- Added a prompts compendium plus a short README for the tutorial folder.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| cursor-vs-windsurf-python/windsurf/http-client-conventions.md | Windsurf rules file (YAML front matter + instruction list) targeting **/*.py. |
| cursor-vs-windsurf-python/cursor/http-client-conventions.mdc | Cursor rules file defining HTTP client and style conventions for Python files. |
| cursor-vs-windsurf-python/prompts.md | Copy-paste prompt sequence used throughout the tutorial. |
| cursor-vs-windsurf-python/README.md | Top-level pointer to the tutorial and purpose of the folder. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
Author
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Both changes from that review thread have been applied:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code examples for the Cursor vs Windsurf: Which AI Code Editor Is Best for Python? tutorial.
The tutorial is mostly a tool comparison driven by prompts, so the runnable artifacts are limited. This folder ships:
cursor/http-client-conventions.mdc— the Cursor rules file shown in the tutorialwindsurf/http-client-conventions.md— the Windsurf rules file shown in the tutorialprompts.md— every prompt the tutorial asks the reader to send, in order, for easy copy-paste