Start.dev

Posts tagged python

Browse related articles from the Start.dev team and instructors.

Wrap an LLM call in your own FastAPI endpoint: validate input with Pydantic, require an API key header, shape the response, and turn model failures into clear errors.
Ariel Weinberger
Ariel Weinberger · 6 min read
Calling a language model from Python is a normal API request: POST some JSON, read the nested reply, and handle timeouts and rate limits with try/except.
Ariel Weinberger
Ariel Weinberger · 6 min read
Under every AI feature is ordinary Python: HTTP requests, nested JSON, error handling, validation and saving data. Here are the skills that matter and how to learn them.
Ariel Weinberger
Ariel Weinberger · 7 min read
Learn Python try/except with real examples: catch specific errors, use else and finally, raise your own errors, and avoid the habits that hide bugs.
Ariel Weinberger
Ariel Weinberger · 5 min read
Learn Python for loops step by step: loop over lists, strings and dictionaries, count with range(), use enumerate, break and continue, and avoid common mistakes.
Ariel Weinberger
Ariel Weinberger · 6 min read
Python f-strings put values straight into text. Learn decimals, thousands separators, percentages, column alignment and the {value=} debug trick.
Ariel Weinberger
Ariel Weinberger · 4 min read
A Python lambda is a small function written as one expression. See the syntax, how it powers sorted(), max() and min(), and when def is clearer.
Ariel Weinberger
Ariel Weinberger · 5 min read
A one-hour coding practice you can repeat on a weeknight: recall, one exercise you write, a short note, and a start line for tomorrow.
Ariel Weinberger
Ariel Weinberger · 7 min read
Python input() always returns a string. Learn to convert it, catch bad answers, ask again in a loop, and reuse that in a function.
Ariel Weinberger
Ariel Weinberger · 6 min read
Interactive platforms where you can write and run Python in the browser in 2026, with nothing to install, and who each one suits.
Ariel Weinberger
Ariel Weinberger · 9 min read
Turn a for loop that builds a new list into one line. You will curve scores, keep the ones that pass, and fix the syntax error beginners hit.
Ariel Weinberger
Ariel Weinberger · 8 min read
Intermediate Python and Building APIs with FastAPI are live. See who each course is for, and how Python for Beginners, SQL, and Git fit beside them.
Ariel Weinberger
Ariel Weinberger · 4 min read
Python or JavaScript as your first language? See the same program written both ways, where each trips beginners up, and why JavaScript takes you furthest.
Ariel Weinberger
Ariel Weinberger · 9 min read
Python lists, tuples and dictionaries compared with simple examples: how each one works, how they differ, and a quick rule for picking the right one.
Ariel Weinberger
Ariel Weinberger · 4 min read
A day-by-day Python roadmap for your first 30 days: what to learn, what to build each week, and the mistakes that stall most beginners.
Ariel Weinberger
Ariel Weinberger · 7 min read