trylineTryline home

What you'll learn on Tryline

A full Python course for complete beginners: 15 Foundation modules (101 lessons), from your first print() to tests and Git, then five tracks: AI agents, automation, data analysis, web and backend, and placement prep. Free during early access.

Start with F1, free →

How deep we teach

  • From zero. No coding experience needed. Every lesson teaches only what the next step needs, and every symbol is explained the first time it shows up.
  • Short lessons, real Python. Each lesson is short and runs real Python in your browser. Nothing to install to start.
  • Practice for every lesson, checked strictly: the exact output, and it must use what the lesson taught.
  • Missions: a business owner reports a bug (“the bill machine charged Rs 22222222222222222222 for 2 cookies”) and you fix the code until every customer's bill is right. Hints point at the problem; they never hand you the answer.
  • A main ticket closes each module: no lessons, no hints, a timer. Pass it and you're promoted: Intern → Junior → Developer → Senior.
  • Projects in bold below: small real programs (a bill splitter, an EMI table, an expense tracker, a chat analyser), ending with a capstone you put on GitHub.
  • Job-ready habits: reading errors, debugging, testing with pytest, Git and GitHub, clean code, and coding with AI wisely.

Foundation: Python from zero

  1. F0 · Your setup Coming

    What you'll build, and what you need · Install Python · VS Code and your first file · The terminal, without fear · Learning with docs and AI · Symbol tour

  2. F1 · First steps Live now

    Your first program · Variables: name tags, not boxes · Comments · Data types · Your first errors · Asking the user: input() + conversion · Maths in Python · Why 0.1 + 0.2 isn't 0.3 · Project: bill-split calculator

  3. F2 · Strings Coming

    Strings and indexing · Slicing · Cleaning text · Splitting and joining · Searching text · f-strings and formatting numbers · Project: contact-list cleaner

  4. F3 · Decisions Coming

    Comparing values · and / or / not · if / else and indentation · elif chains · in, is vs == · Project: loan eligibility checker

  5. F4 · Loops Coming

    for loops and range · while loops · break and continue · Nested loops · enumerate and zip · Project: EMI table, month by month

  6. F5 · Collections Coming

    Lists · List methods · Slicing, sorting and quick totals · Tuples and unpacking · Sets · Dictionaries · Dictionary methods · Nested lists and dictionaries · Choosing the right collection · Project: a shop's order book

  7. F6 · Functions Coming

    Your first function · Parameters and return · Default and keyword arguments · *args and kwargs · Scope · lambda · Type hints and docstrings · Recursion · Project: interest toolkit

  8. F7 · Errors and debugging Coming

    Reading an error message · The 10 most common beginner errors · Debugging · try / except / else / finally · raise and your own exceptions · Project: make the toolkit crash-proof

  9. F8 · Files Coming

    Reading and writing text files, with · Folders and paths: pathlib · CSV files · JSON files · Project: expense tracker that saves to a file

  10. F9 · Modules and packages Coming

    import and your own module · Packages · pip · Virtual environments and requirements.txt

  11. F10 · Classes (OOP) Coming

    Classes and objects · __init__ and self · Class vs instance attributes · @classmethod and @staticmethod · Inheritance and super() · Overriding and polymorphism · Encapsulation and @property · Dataclasses · Project: SafeBank

  12. F11 · Useful built-in tools Coming

    math and random · Dates and times: datetime · Exact money maths: decimal · Counter and defaultdict · Regular expressions 1 · Regular expressions 2 · Project: WhatsApp chat analyser

  13. F12 · Talking to the internet Coming

    What an API is · requests and JSON answers · API keys and .env · Project: live currency converter

  14. F13 · Pythonic and advanced basics Coming

    List comprehensions · Dict and set comprehensions, and when not to use them · Iterators · Generators (yield) · Functions as objects and closures · Decorators

  15. F14 · Working like a professional Coming

    Testing with assert and pytest · Git: save points · GitHub: putting your work online · Clean code · Coding with AI, wisely · Capstone part 1: My Money Tracker · Capstone part 2: summary, tests, GitHub

Track A: build AI agents with Python

After the Foundation: call AI models from Python, tool calling, agents from scratch, RAG, MCP, LangGraph, testing AI, safety, and shipping it.

  1. A0 · Setup and money Coming

    Free AI keys: Groq, Gemini, and the paid options · Keeping keys safe, limits and spending caps · Optional: a free AI on your own laptop with Ollama

  2. A1 · How LLMs work, for builders Coming

    Tokens, context window and price · Temperature, and why models make things up · Choosing a model: quality, speed, cost

  3. A2 · Talking to a model from Python Coming

    Your first API call · System prompts and conversation history · Streaming answers · Errors, retries, rate limits · Project: command-line chatbot

  4. A3 · Prompts in code and structured output Coming

    Prompt templates and examples · Getting JSON back · Checking it with Pydantic · When the JSON comes back broken · Project: CV parser

  5. A4 · Tool calling Coming

    What a tool is · The tool-call cycle · Several tools and tool choice · When the model calls a tool wrong · Project: weather + currency assistant

  6. A5 · Build an agent from scratch Coming

    The agent loop · Stop conditions, max steps, cost limits · Planning (ReAct style) · Short-term memory · Project: research agent

  7. A6 · RAG Coming

    Why AI doesn't know your files · Chunking documents · Embeddings: meaning as coordinates · A vector database (Chroma) · Retrieval and citations · When RAG fails, and how to spot it · Project: Study Buddy

  8. A7 · Memory Coming

    Summarising long conversations · Long-term memory, and what never to store

  9. A8 · MCP Coming

    What MCP is · Using MCP servers from your agent · Building your own MCP server · Testing your MCP server · Project: your own MCP server

  10. A9 · LangGraph Coming

    Why a framework, after building one by hand · State, nodes and edges · Rebuilding your agent in LangGraph · Human-in-the-loop pauses · Other frameworks: what's different

  11. A10 · Multi-agent Coming

    Handoffs and manager/worker agents · When more agents makes it worse · Project: writer + checker agents · Why "it worked once" isn't testing · Golden test sets · Checking tool calls separately · AI as judge, and how it gets fooled · Testing RAG answers against sources · Regression tests · Project: a test suite for Study Buddy

  12. A12 · Safety and security Coming

    Prompt injection · Least privilege: read-only by default · Approval before delete, send or pay · Secrets, personal data and logs · Project: Email Agent with approval

  13. A13 · Shipping it Coming

    A simple UI with Streamlit · An API with FastAPI · Logs, tracing and cost tracking · Deploying for free · Capstone: Job-Hunt Agent, Email Agent or Study Buddy Pro

More tracks after the Foundation

Pick the track that fits the job you want. Each one builds on the Foundation and ends with a capstone project.

Track B: Automation (office work)

Make Python do the boring office work: files, Excel and Google Sheets, PDFs, email, the web, bots, and running it on a schedule.

  1. B0 · The automation mindset Coming

    Finding chores worth automating · How every automation looks: input → steps → output

  2. B1 · Files and folders in bulk Coming

    Renaming hundreds of files · Sorting the Downloads folder by type and date · Copying, moving, zipping, backups · Project: auto-tidy Downloads

  3. B2 · Excel and Google Sheets Coming

    Reading Excel with openpyxl · Writing, formatting and formulas · Charts in Excel from Python · Combining many Excel files into one · Google Sheets from Python · Project: a weekly sales report that builds itself

  4. B3 · PDFs and Word Coming

    Reading and splitting PDFs · Making PDFs: invoices and certificates · Word documents from a template · Project: 100 invoices or certificates from one sheet

  5. B4 · Email Coming

    Sending email from Python · Personalised emails from a sheet · Reading the inbox, saving attachments · Project: auto-send monthly statements

  6. B5 · The web Coming

    How web pages are built (just enough HTML) · Scraping with requests + BeautifulSoup · Browser automation with Playwright · Filling forms and downloading files · API first, scraping last · Project: price tracker with alerts

  7. B6 · Bots and alerts Coming

    A Telegram bot · Alerts to your phone · Project: daily summary bot

  8. B7 · Running it without you Coming

    Scheduling: Task Scheduler (Windows) and cron (Mac/Linux) · Logging, so you know what happened · When it breaks: errors and email alerts · Running in the cloud for free

  9. B8 · Bonus: automation + AI Coming

    Let AI sort emails or documents · AI to summarise PDFs in bulk · Capstone: an "office assistant" that collects files, builds the report and emails it

Track C: Data analysis

SQL properly (what employers test first), then NumPy, Pandas, charts, the statistics you actually need, and sharing results.

  1. C0 · Thinking like an analyst Coming

    What analysts do all day · Asking the right question first

  2. C1 · SQL Coming

    What a database is · SELECT, WHERE, ORDER BY · GROUP BY and aggregates · JOINs · Subqueries and CTEs · Window functions · SQL from Python · Project: answer 10 business questions from a shop database

  3. C2 · NumPy Coming

    Why NumPy (egg tray vs loose eggs) · Arrays, shape, indexing · Filtering and maths on whole arrays · Missing values (nan) and broadcasting

  4. C3 · Pandas Coming

    Series and DataFrames · Reading CSV and Excel · Selecting: loc, iloc · Filtering and sorting · Cleaning: missing values, duplicates, types · Text and dates · groupby and pivot tables · Merging and joining · Project: clean a messy real dataset end to end

  5. C4 · Charts Coming

    Picking the right chart · Matplotlib basics · Seaborn for quick, good-looking charts · Charts that don't mislead

  6. C5 · Statistics you actually need Coming

    Average, median, and why they differ · Spread: range, standard deviation · Correlation isn't causation · Comparing groups (a simple A/B test) · Sampling and bias

  7. C6 · Sharing results Coming

    Jupyter notebooks · A dashboard with Streamlit · Telling the story: 1 slide, 3 points · Extra: Power BI intro

  8. C7 · Projects Coming

    IPL stats analysis · Sales dashboard from messy Excel files · Your bank statement → spending insights · Capstone: a full case study for your portfolio

Track D: Web and backend

How the web works, APIs with FastAPI, databases, users and security, Django, and putting it live.

  1. D0 · How the web works Coming

    Browser → server → database · HTTP: methods, status codes, headers · Just enough HTML to see your results

  2. D1 · FastAPI Coming

    Your first API · Paths, query parameters, request bodies · Pydantic models and validation · Errors and status codes done right · Async in plain words · Auto docs (Swagger) · Project: a to-do API

  3. D2 · Databases Coming

    SQL refresher (or C1 if they did Track C) · PostgreSQL setup · SQLAlchemy ORM · Relationships: users → orders · Migrations (Alembic) · Project: the to-do API with a real database

  4. D3 · Users and security Coming

    Hashing passwords · Login with tokens (JWT) · Permissions: who can do what · Common attacks: SQL injection, leaked secrets · Project: add login to the API

  5. D4 · Django Coming

    Why Django: "batteries included" · Models, migrations, admin panel · Views, URLs, templates · Forms and users · Django REST Framework · FastAPI vs Django: when to pick which · Project: a booking app

  6. D5 · Professional backend Coming

    Testing APIs with pytest · Docker basics · Environment settings and secrets · Logs and monitoring · Background jobs

  7. D6 · Going live Coming

    Deploying for free · Domains, HTTPS, environment variables · Capstone: a booking app with login and database, live online

Track E: Placement prep (DSA in Python)

For campus placements and coding rounds: Big-O, Python for coding rounds, DSA patterns, interview revision, aptitude, and getting the offer.

  1. E0 · How placements work Coming

    The rounds: online test → technical → HR · Service companies vs product companies · A 60-day prep plan

  2. E1 · Speed: Big-O Coming

    Why speed matters: time complexity · Space complexity · Big-O of Python's own operations (list vs set vs dict)

  3. E2 · Python for coding rounds Coming

    Reading input fast, the platform format · collections: deque, Counter, defaultdict · heapq and bisect · Sorting tricks and recursion limits

  4. E3 · DSA patterns Coming

    Arrays and hashing (4 lessons) · Two pointers (2 lessons) · Sliding window (2 lessons) · Prefix sums · Strings: palindromes, anagrams, parsing (2 lessons) · Stacks and queues (3 lessons) · Binary search, including "search on the answer" (3 lessons) · Linked lists (3 lessons) · Recursion and backtracking (3 lessons) · Trees and binary search trees (4 lessons) · Heaps / priority queues (2 lessons) · Graphs: BFS, DFS, shortest path, topological sort (4 lessons) · Greedy and intervals (2 lessons) · Dynamic programming, 1-D then 2-D (5 lessons) · Bit manipulation

  5. E4 · Technical interview revision Coming

    OOP interview questions · DBMS basics: keys, normalisation, transactions · SQL interview questions · Operating systems basics: processes, threads, memory · Computer networks basics: HTTP, TCP/IP, DNS · Git and Linux questions

  6. E5 · Aptitude basics Coming

    Percentages, profit and loss · Ratios, averages, mixtures · Time, speed, distance; time and work · Number system shortcuts · Probability and permutations basics · Logical reasoning: series, coding-decoding, arrangements · Data interpretation · Verbal: reading comprehension and writing

  7. E6 · Getting the offer Coming

    A fresher CV that passes the filter · Explaining your projects in an interview · A mock technical interview (full, recorded) · HR round questions · Company patterns: how to check the current one, and practise it

Coming: Challenges

A separate part of Tryline for anyone who already codes, or wants a quick test: real bugs cut down to a small fix. Fix it in real Python in your browser, with no hints and a timer. A new challenge every week, and the old ones stay open. Leaderboards are split by role (student, intern, junior, senior), so you compare yourself with people at your level.

This roadmap is our plan, and the order or details may change as we build. Live now: F1 “First steps”.