Pular para o conteúdo principal
Academind
Todos os cursos

Curso do Academind Pro

Python - The Practical Guide

Learn Python from the ground up and use Python to build a hands-on project from scratch!

  • 13 seções · 241 aulas
  • 17 h e 32 min no total
Python - The Practical Guide

Sobre este curso

You’ve watched a few Python videos, maybe copied some snippets, and still feel like you couldn’t build something real without step-by-step hand-holding. Or you’re curious about Python because it’s everywhere, but you don’t know what to learn first—or how it all fits together.

In this course, you don’t learn Python in isolation. You learn it “on the job” by building an actual course project, so every new concept immediately has a purpose. The pace is beginner-friendly, but the work stays practical and motivating instead of turning into endless toy examples.

By the end, you’ll have the confidence to start advanced Python courses, tackle your own projects, and use Python as a launchpad into areas like web development or data science. You’ll also walk away understanding what a blockchain really is—because you built one yourself, along with a cryptocurrency.

O que você vai aprender

You’ll build Python fundamentals around a working blockchain + cryptocurrency project, then extend into web basics with Flask and real-world programming workflows.

  1. 01

    Write core Python code

    Use variables, operators, functions, and control flow to implement complete program logic—so you can move from small snippets to code that actually does a job end-to-end.

  2. 02

    Control program flow

    Build robust logic with loops and conditional statements, so your programs can make decisions, repeat work, and handle real input instead of fixed, one-off runs.

  3. 03

    Use Python data structures

    Work confidently with tuples and dictionaries to model and manage structured data—so you can store, update, and query the information your programs need.

  4. 04

    Work with files & strings

    Manipulate strings and read/write files to persist data and process text—so your scripts can interact with real data instead of living only in memory.

  5. 05

    Debug and handle errors

    Apply debugging techniques and error handling to find issues faster and keep programs from crashing unexpectedly when something goes wrong.

  6. 06

    Build OOP and web basics

    Use classes and inheritance, organize code with internal/external modules (packages), and spin up an HTTP server with Flask to send and receive HTTP requests.

Pré-requisitos

  • No prior programming experience is required.

  • Any operating system works: macOS, Linux, or Windows.

  • Very basic knowledge of how a computer works helps, but you can pick it up while you go.

Para quem é este curso

  • Complete beginners

    You want a first programming language that’s approachable, but you also want to build something meaningful—not just tiny exercises that don’t translate to real work.

  • Curious web developers

    You already code in another context and want to broaden your horizon with Python, including a taste of web development without switching your entire career overnight.

  • Blockchain explorers

    You keep hearing about blockchain and cryptocurrency and want to understand what’s actually happening under the hood by implementing the core ideas yourself.

Conteúdo do curso

Confira a estrutura e o ritmo deste curso antes de começar.

  1. 1Getting Started12 aulas · 37 min
    1. 01Introduction1:51 min
    2. 02What is Python?5:07 min
    3. 03Setting Up Python3:11 min
    4. 04Writing our First Python Code5:05 min
    5. 05Join our Online Learning Community0:00 min
    6. 06What is the Blockchain?6:48 min
    7. 07Course Outline4:41 min
    8. 08Python Alternatives3:58 min
    9. 09Understanding the Python Versions2:22 min
    10. 10How To Get The Most Out Of This Course3:27 min
    11. 11Useful Resources & Links0:00 min
    12. 12The Academind Pro Referral Program0:00 min
  2. 2Diving Into the Basics of Python27 aulas · 1 h e 43 min
    1. 01Module Introduction2:16 min
    2. 02Understanding the REPL and Data Types4:25 min
    3. 03Working with Variables4:46 min
    4. 04Working with Numbers5:36 min
    5. 05Using Operators3:48 min
    6. 06Understanding a "Special" Behaviour when Working with Numbers3:35 min
    7. 07Working with Strings2:18 min
    8. 08Working with Lists5:09 min
    9. 09Adding & Removing List Items3:02 min
    10. 10Preparing the Blockchain - The Theory2:02 min
    11. 11Installing our IDE5:17 min
    12. 12Using Functions to Add List Items6:45 min
    13. 13Accessing the Last List Item3:24 min
    14. 14Adding Arguments to Functions2:36 min
    15. 15Understanding the "return" Keyword3:57 min
    16. 16Using Default Arguments4:06 min
    17. 17Working with Keyword Arguments2:59 min
    18. 18Using the "input" Function3:00 min
    19. 19Avoiding Repetitive Code Execution2:06 min
    20. 20Understanding the Variable Scope6:49 min
    21. 21Exploring the Official Documentation2:25 min
    22. 22Adding Comments and Doc Strings4:20 min
    23. 23Structuring Multi Line Code in Python1:56 min
    24. 24Assignment - Basics (Problem)1:34 min
    25. 25Assignment - Basics (Solution)11:24 min
    26. 26Wrap Up3:28 min
    27. 27Useful Resources & Links0:00 min
  3. 3Working with Loops & Conditionals24 aulas · 1 h e 24 min
    1. 01Module Introduction1:38 min
    2. 02Understanding Loops - Theory2:55 min
    3. 03Creating a "for" Loop3:02 min
    4. 04Creating a "while" Loop3:33 min
    5. 05Closing the REPL0:00 min
    6. 06Understanding Conditionals - Theory2:01 min
    7. 07Adding "if-else" to our Blockchain7:45 min
    8. 08Working with "elif"3:43 min
    9. 09Understanding "break" & "continue"3:31 min
    10. 10Improving our Code with Loops & Conditionals6:39 min
    11. 11Understanding Boolean Operators - "is" & "in"3:37 min
    12. 12The "not" Keyword1:17 min
    13. 13Understanding "and" and "or"2:26 min
    14. 14Grouping Conditionals3:22 min
    15. 15What About "switch" in Python?0:41 min
    16. 16Verifying our Blockchain13:10 min
    17. 17Blockchain Theory: Understanding Blockchain Verification0:00 min
    18. 18Using Conditions inside the "while" Loop1:56 min
    19. 19Using "else" in Loops2:07 min
    20. 20Adding the "range" Function7:09 min
    21. 21Assignment - Loops & Conditionals (Problem)2:50 min
    22. 22Assignment - Loops & Conditionals (Solution)7:52 min
    23. 23Wrap Up2:31 min
    24. 24Useful Resources & Links0:00 min
  4. 4Understanding Complex Data Structures28 aulas · 2 h e 12 min
    1. 01Module Introduction2:50 min
    2. 02Understanding the Required Data Structure for our Blockchain7:03 min
    3. 03Working with Iterables5:01 min
    4. 04Choosing the Right Datastructure2:55 min
    5. 05Transactions with Dictionaries & Tuples7:46 min
    6. 06Blockchain Theory: Understanding Transactions0:00 min
    7. 07Unpacking the Tuple3:20 min
    8. 08Mining Blocks6:16 min
    9. 09Hashing Previous Blocks6:23 min
    10. 10Understanding List Comprehensions5:48 min
    11. 11And What are Dict Comprehensions?1:39 min
    12. 12Combining List Comprehensions & "if"2:53 min
    13. 13Improving the Blockchain Validation Logic8:20 min
    14. 14Managing a List of Participants in the Blockchain3:33 min
    15. 15Calculating Balances7:46 min
    16. 16Rewarding the Miners of our Blockchain3:23 min
    17. 17Verifying Transactions5:45 min
    18. 18Understanding Reference vs Value Copying7:07 min
    19. 19Working with the Range Selector5:42 min
    20. 20Understanding Shallow vs Deep Copies2:42 min
    21. 21Comparing "is" & "=="1:36 min
    22. 22Diving Deeper Into Iterable Methods7:27 min
    23. 23Understanding the "all" & "any" Functions7:35 min
    24. 24Comparing Iterables6:46 min
    25. 25Assignment - Complex Datastructures (Problem)1:27 min
    26. 26Assignment - Complex Datastructures (Solution)7:17 min
    27. 27Wrap Up3:17 min
    28. 28Useful Resources & Links0:00 min
  5. 5Working with Functions & Strings15 aulas · 51 min
    1. 01Module Introduction1:30 min
    2. 02Comparing Strings & Lists3:57 min
    3. 03Understanding the "format" Method8:11 min
    4. 04Escaping Characters1:47 min
    5. 05Formatting Strings Conveniently with "f"1:27 min
    6. 06Adding String Formatting to our Project2:00 min
    7. 07Understanding the "map" Function2:53 min
    8. 08Working with Lambda Functions2:13 min
    9. 09Reducing Lists7:40 min
    10. 10Unpacking Function Arguments6:32 min
    11. 11Assignment - Functions & Strings (Problem)2:13 min
    12. 12Assignment - Functions & Strings (Solution))5:07 min
    13. 13Fixing a Bug4:13 min
    14. 14Wrap Up1:30 min
    15. 15Useful Resources & Links0:00 min
  6. 6Working with the Python Standard Library15 aulas · 56 min
    1. 01Module Introduction1:42 min
    2. 02Exploring the Python Standard Library2:12 min
    3. 03Importing Packages - Theory4:18 min
    4. 04Importing "hashlib" to Create a Unique Hash7:14 min
    5. 05Using Other Import Syntaxes1:47 min
    6. 06The "Proof of Work"6:53 min
    7. 07Blockchain Theory: Understanding the "Proof of Work"0:00 min
    8. 08Adding the Proof of Work to our Blockchain5:48 min
    9. 09Including the Proof of Work in our Mining Function7:49 min
    10. 10Fixing a Hash Order Fault6:22 min
    11. 11Splitting Up our Code4:33 min
    12. 12Assignment -The Standard Library (Problem)1:41 min
    13. 13Assignment -The Standard Library (Solution)3:46 min
    14. 14Wrap Up2:02 min
    15. 15Useful Resources & Links0:00 min
  7. 7Working with Files15 aulas · 1 h e 7 min
    1. 01Module Introduction1:44 min
    2. 02Handling File Access5:44 min
    3. 03Reading Data From a File2:33 min
    4. 04Reading Multi-Line Content5:52 min
    5. 05Using the "with" Block Statement2:57 min
    6. 06Adding File Access to our Blockchain8:39 min
    7. 07Converting Strings Into Python Objects16:01 min
    8. 08Storing Data with Pickle6:05 min
    9. 09Comparing Pickle & JSON1:05 min
    10. 10Changing the Project Back to JSON2:30 min
    11. 11Why we need Proper Error Handling0:46 min
    12. 12Assignment - Working with Files (Problem)1:49 min
    13. 13Assignment - Working with Files (Solution)10:21 min
    14. 14Wrap Up1:17 min
    15. 15Useful Resources & Links0:00 min
  8. 8Handling Errors9 aulas · 20 min
    1. 01Module Introduction0:57 min
    2. 02Finding Logical Errors with the Debugger5:53 min
    3. 03Finding Syntax Errors1:40 min
    4. 04Using "try" to Find Runtime Errors4:33 min
    5. 05Which Errors Should you Handle?3:01 min
    6. 06Adding Error Handlers to our Blockchain2:32 min
    7. 07Handling Empty File Errors0:00 min
    8. 08Wrap Up1:49 min
    9. 09Useful Resources & Links0:00 min
  9. 9Object Oriented Programming28 aulas · 2 h e 25 min
    1. 01Module Introduction1:12 min
    2. 02What is Object Oriented Programming?2:12 min
    3. 03Understanding Classes1:24 min
    4. 04Creating a Class5:09 min
    5. 05Comparing Classes, Instances & Dictionaries2:44 min
    6. 06Understanding Class Attributes3:37 min
    7. 07Constructor & Instance Attributes4:20 min
    8. 08Printing Classes with Special Methods6:04 min
    9. 09Private & Public Attributes4:39 min
    10. 10Understanding Inheritance8:46 min
    11. 11Planning Blockchain Classes1:32 min
    12. 12Adding a "Block" Class to the Blockchain11:06 min
    13. 13An Issue with Default Arguments0:00 min
    14. 14Saving Custom Class Objects via .json4:49 min
    15. 15Adding a "Transaction" Class17:46 min
    16. 16Inheritance in Action5:43 min
    17. 17Adding a "Verification" Helper Class10:03 min
    18. 18Initialising the "Node" Class4:51 min
    19. 19Turning the Blockchain Into a Class7:30 min
    20. 20Adding a "Node" Class11:11 min
    21. 21Understanding "Instance" vs "Class" vs "Static Methods" & "Attributes"3:39 min
    22. 22Using "Static" & "Class" Methods on the "Verification" Class3:44 min
    23. 23Using Private Attributes in the Blockchain3:43 min
    24. 24Properties vs Attributes5:20 min
    25. 25Assignment - Object Oriented Programming (Problem)1:45 min
    26. 26Assignment - Object Oriented Programming (Solution)9:44 min
    27. 27Wrap Up2:15 min
    28. 28Useful Resources & Links0:00 min
  10. 10Modules20 aulas · 1 h e 17 min
    1. 01Module Introduction1:41 min
    2. 02Creating Packages - Module Bundles4:40 min
    3. 03The "pycache" Folder0:43 min
    4. 04Module Docstrings0:51 min
    5. 05Controlling Exports5:36 min
    6. 06Understanding Execution Context & "__name__"4:11 min
    7. 07Why we Need a Private & Public Key Transaction Protection4:25 min
    8. 08Using Anaconda to Install Third Party Packages6:23 min
    9. 09Using Virtual Environments0:00 min
    10. 10Use Pycryptodome instead of PyCrypto0:00 min
    11. 11Generating Keys with a Third Party Package6:21 min
    12. 12Connecting the Node & the Wallet6:15 min
    13. 13Generating Keys on the Node4:06 min
    14. 14Saving & Loading Keys to Files8:24 min
    15. 15Creating Transaction Signatures6:24 min
    16. 16Adding a Signature to our Transactions2:42 min
    17. 17Verifying Signatures6:49 min
    18. 18Improving the Verification Logic5:41 min
    19. 19Wrap Up1:21 min
    20. 20Useful Resources & Links0:00 min
  11. 11Adding HTTP with Flask20 aulas · 1 h e 50 min
    1. 01Module Introduction2:04 min
    2. 02HTTP Requests - The Basics5:40 min
    3. 03Understanding API-Endpoints/ URLs3:32 min
    4. 04Data Formats3:18 min
    5. 05Planning our API2:04 min
    6. 06Setting Up our Environment with Flask10:08 min
    7. 07Adding our First Route10:09 min
    8. 08Installing Postman2:20 min
    9. 09Adding a POST Request7:21 min
    10. 10Setting Up Routes to Manage our Wallet8:23 min
    11. 11Returning Funds5:43 min
    12. 12Adding Transactions11:26 min
    13. 13Fetching Open Transactions3:14 min
    14. 14Testing the Public Key1:46 min
    15. 15Adding a User Interface2:41 min
    16. 16Optional: Configuring our UI - Creating a Wallet13:17 min
    17. 17Optional: Configuring our UI - Loading a Wallet and Adding Mining & Transactions11:58 min
    18. 18Exploring our UI2:45 min
    19. 19Wrap Up1:52 min
    20. 20Useful Resources & Links0:00 min
  12. 12The Node Network20 aulas · 2 h e 22 min
    1. 01Module Introduction1:42 min
    2. 02Adding Node Management Methods to the Blockchain7:18 min
    3. 03Setting Up Routes to Add Nodes7:40 min
    4. 04Adding a Remove Node Route5:17 min
    5. 05Adding "get_Nodes" to get all Nodes1:19 min
    6. 06Attaching a Node User Interface11:07 min
    7. 07Running Multiple Nodes11:19 min
    8. 08Sending Requests from within Python10:36 min
    9. 09Broadcasting Transactions - Adding the Function & Route12:06 min
    10. 10Broadcasting Transactions - Testing & Fixing Errors5:51 min
    11. 11Broadcasting New Blocks: Adding the Function & Route11:12 min
    12. 12Broadcasting New Blocks: Informing the Peer Nodes9:53 min
    13. 13Broadcasting Transactions: Testing3:28 min
    14. 14Solving Conflicts5:32 min
    15. 15Understanding Consensus3:28 min
    16. 16Finding Conflicts9:34 min
    17. 17Implementing a Consensus Algorithm17:20 min
    18. 18Testing Consensus5:49 min
    19. 19Wrap Up1:01 min
    20. 20Useful Resources & Links0:00 min
  13. 13Next Steps and Course Roundup8 aulas · 29 min
    1. 01Module Introduction0:46 min
    2. 02Don't Forget PEP 82:46 min
    3. 03Using PEP 88:29 min
    4. 04Using Comments1:01 min
    5. 05Diving Deeper Into Python5:07 min
    6. 06Improving the Blockchain10:02 min
    7. 07Congratulations0:57 min
    8. 08Further Links0:00 min

Pronto para começar?

Compre este curso no Academind Pro ou tenha todos os cursos com o All Access no Academind Infinite.

Black Friday: um ano de All Access por US$ 249 US$ 249 · só até Aproveite a oferta
  • Este curso no Academind Pro

    US$ 69pagamento único

    Impostos incluídos · Garantia de reembolso de 30 dias

    • Acesso vitalício a este curso
    • Todas as futuras atualizações deste curso
    • Materiais para download, código e um certificado
    Comprar Python
  • All Access no Academind Infinite

    US$ 25por mês

    ou US$ 249 US$ 249 por anoEconomize 17%

    • Todos os cursos, com todos os recursos
    • Cursos novos assim que saem
    • Seu tutor, com todos os recursos
    Assinar o All Access

O All Access também inclui todos os cursos do Academind Pro.

Academind Pro e Academind Infinite

Duas plataformas separadas, cada uma com seus próprios cursos e seu próprio login.

Academind Pro

Nossa plataforma de cursos original, em pro.academind.com. Sua assinatura do Pro e os cursos que você comprou lá continuam no Pro.

Entrar no Academind Pro

Academind Infinite

Nossa nova plataforma pensada para IA. Membros do Pro entram com a conta do Pro, e o Pro All Access inclui o Infinite: todos os cursos ficam liberados.

Entrar no Academind Infinite

Tinha uma conta no Pro ou comprou um curso no Pro?

Nem todo curso do Pro foi para o Infinite, só estes. Escolha o seu para vê-lo no Infinite.