Pinned Tweet
Win three years of Real Python, plus all four of our Python books.
That's our Black Friday giveaway. Entering is free, you just need a free Real Python account.
Entries close Friday, November 27.
realpython.com/blackfriday?u…
"If AI writes the code, juniors can skip the basics."
Employers disagree. They want both.
This free kit has videos, cheat sheets and quizzes for the fundamentals, plus ways to use AI as a mentor that explains and reviews your code.
realpython.com/kits/junior-d…
5
1,190
Your AI agent keeps guessing how your project works. So it guesses wrong.
Tests, a type checker, a linter and an AGENTS.md file give it answers instead of guesses.
Build that setup from an empty folder:
realpython.com/python-projec…
3
7
1,146
"I don't feel like I've scratched the surface of what I can do with Python."
You know the basics. Now it's libraries, frameworks and best practices.
This page lines up the tutorials and courses for that next step.
realpython.com/intermediate-…
1
7
1,229
CrewAI lets you swap one overloaded LLM prompt for a crew of AI agents in Python. 5 things to know first:
1. Python 3.14 breaks the install
2. OpenAI key errors on Gemini
3. Where the token bill shows
4. One slow task delays the writer
5. When to use another framework
🧵
5. CrewAI agents don't chat with each other. They pass task outputs along, with no built-in way to negotiate or debate.
If your agents need to discuss and revise, Real Python's CrewAI tutorial points to AG2 or Microsoft Agent Framework. For conditional branching, LangGraph.
What's the largest crew you've run before the token bill or the debugging got out of hand?
The tutorial builds a two-agent crew where one agent scrapes python.org.
realpython.com/crewai-python…
Lost the thread halfway through a video lesson?
Mentor AI sits next to Real Python's video courses. Ask what the instructor just said, chase a side question, then quiz yourself before the next lesson.
realpython.com/mentor/?utm_s…
4
1,356
Your app saves to CSV and JSON files that keep getting harder to query.
SQLite keeps it all in one file with no database server. SQLAlchemy lets you treat the rows as Python objects.
realpython.com/python-sqlite…
This pandas function loops with iterrows() to keep rows with humidity ≥ 0.90. The Spyder IDE's Profiler timed it at 3.73 s.
5 things to know:
1. The one-line fix: 905 µs
2. Why local time said 62 ms
3. Comparing runs
4. Edits your CSV never sees
5. When to skip Spyder
🧵

ALT Python code: a function find_humidity_rows(df, target) builds an empty list, loops over the DataFrame with df.iterrows(), appends each row whose Humidity is at least target, and turns the list into a new DataFrame. The iterrows loop, the append and the DataFrame call are highlighted in red. It's called on weather data read from data/weatherHistory.csv with a target of 0.90.
5. Spyder is built for data science and scientific work in Python.
For a full software project, the Spyder tutorial points to VS Code. If you mix languages, Spyder won't fit.
It handles notebooks only through a plugin, so for heavy notebook use, try Jupyter or VS Code.
Where do you profile slow pandas code: Spyder, VS Code, Jupyter, or nowhere?
The tutorial also shows the setting that lets you rotate Spyder's 3D plots, plus a cheat sheet.
realpython.com/spyder-ide/?u…
Your code runs, but the answer is wrong, and you can't see why.
Thonny is a free Python editor made for beginners. Its debugger walks through your code one step at a time.
realpython.com/python-thonny…
1
7
1,502
