Aprendendo Python¶
Iniciante¶
O Tutorial Python¶
Este é o tutorial oficial. Ele cobre toda a parte básica e oferece um tour da linguagem e da biblioteca principal. Recomendado para aqueles que necessitam de um guia de iniciação rápida para a linguagem.
Real Python¶
Real Python is a repository of free and in-depth Python tutorials created by a diverse team of professional Python developers. At Real Python you can learn all things Python from the ground up. Everything from the absolute basics of Python, to web development and web scraping, to data visualization, and beyond.
Python Basics¶
pythonbasics.org is an introductory tutorial for beginners. The tutorial includes exercises. It covers the basics and there are also in-depth lessons like object oriented programming and regular expressions.
Python para iniciantes¶
thepythonguru.com is a tutorial focused on beginner programmers. It covers many Python concepts in depth. It also teaches you some advanced constructs of Python like lambda expressions and regular expressions. And last it finishes off with the tutorial “How to access MySQL db using Python”
Tutorial Interativo Learn Python¶
Learnpython.org is an easy non-intimidating way to get introduced to Python. The website takes the same approach used on the popular Try Ruby website. It has an interactive Python interpreter built into the site that allows you to go through the lessons without having to install Python locally.
Python for You and Me¶
Se você quer um livro mais tradicional, Python For You and Me é um excelente recurso para aprender todos os aspectos da linguagem.
Learn Python Step by Step¶
Techbeamers.com provides step-by-step tutorials to teach Python. Each tutorial is supplemented with logically added coding snippets and equips with a follow-up quiz on the subject learned. There is a section for Python interview questions to help job seekers. You can also read essential Python tips and learn best coding practices for writing quality code. Here, you’ll get the right platform to learn Python quickly.
Python Tutor Online¶
Online Python Tutor gives you a visual step-by-step representation of how your program runs. Python Tutor helps people overcome a fundamental barrier to learning programming by understanding what happens as the computer executes each line of a program’s source code.
Invente Seus Próprios Jogos de Computador com Python¶
Esse livro de iniciantes é para aqueles sem nenhuma experiência com programação. Cada capítulo possui o código fonte de um pequeno jogo, utilizando esses programas de exemplo para demonstrar conceitos de programação, dando ao leitor uma ideia do que um programa “parece”.
Hackeando Cifras Secretas com Python¶
Este livro ensina programação em Python e criptografia básica para iniciantes completos. Os capítulos disponibilizam o código fonte de várias cifras, assim como os programas que podem quebrá-las.
Aprenda Python da Maneira Mais Difícil¶
Esse é um excelente guia de programação para iniciantes em Python. Ele cobre o “hello world” do console até a web.
Mergulhando em Python¶
Também conhecido como Python para Programadores com 3 horas, esse guia dá a desenvolvedores experientes com outras linguagens um curso intensivo de Python.
Mergulhando em Python 3¶
Mergulhando em Python 3 é um bom livro para aqueles prontos para pular pra dentro do Python 3. É uma boa leitura se você está mudando de Python 2 para 3 ou se você já tem alguma experiência em programação com outra linguagem.
Pense Python: Como Pensar como um Cientista da Computação¶
Think Python attempts to give an introduction to basic concepts in computer science through the use of the Python language. The focus was to create a book with plenty of exercises, minimal jargon, and a section in each chapter devoted to the subject of debugging.
Enquanto explora as várias características disponíveis na linguagem Python, o autor entrelaça vários padrões de projeto e boas práticas.
The book also includes several case studies which have the reader explore the topics discussed in the book in greater detail by applying those topics to real-world examples. Case studies include assignments in GUI programming and Markov Analysis.
Python Koans¶
Python Koans is a port of Edgecase’s Ruby Koans. It uses a test-driven approach to provide an interactive tutorial teaching basic Python concepts. By fixing assertion statements that fail in a test script, this provides sequential steps to learning Python.
Para aqueles acostumados a linguagens e a descobrir puzzles por conta própria, pode ser uma opção atrativa e divertida. Para aqueles novos em Python e em programação, ter um recurso ou referência adicional será útil.
Mais informações sobre desenvolvimento orientado a testes podem ser encontrados nesses recursos:
Um Byte de Python¶
Um livro grátis introdutório que ensina Python em um nível iniciante, sem que nenhuma experiência anterior em programação seja necessária.
Computer Science Path on Codecademy¶
A Codecademy course for the absolute Python beginner. This free and interactive course provides and teaches the basics (and beyond) of Python programming while testing the user’s knowledge in between progress. This course also features a built-in interpreter for receiving instant feedback on your learning.
Code the blocks¶
Code the blocks provides free and interactive Python tutorials for beginners. It combines Python programming with a 3D environment where you “place blocks” and construct structures. The tutorials teach you how to use Python to create progressively more elaborate 3D structures, making the process of learning Python fun and engaging.
Intermediário¶
Python Tricks: The Book¶
Discover Python’s best practices with simple examples and start writing even more beautiful + Pythonic code. Python Tricks: The Book shows you exactly how.
You’ll master intermediate and advanced-level features in Python with practical examples and a clear narrative.
Python Efetivo¶
This book contains 59 specific ways to improve writing Pythonic code. At 227 pages, it is a very brief overview of some of the most common adaptations programmers need to make to become efficient intermediate level Python programmers.
Avançado¶
Pro Python¶
Esse livro é indicado para programadores em Python intermediários ou avançados, que estão procurando entender como e porque Python funciona da maneira que funciona, e como levar seus códigos para um proximo nível.
Programação em Python Expert¶
Programação em Python Expert lida com melhores práticas de programação em Python e tem seu foco no público mais avançado.
It starts with topics like decorators (with caching, proxy, and context manager case studies), method resolution order, using super() and meta-programming, and general PEP 8 best practices.
It has a detailed, multi-chapter case study on writing and releasing a package and eventually an application, including a chapter on using zc.buildout. Later chapters detail best practices such as writing documentation, test-driven development, version control, optimization, and profiling.
Um Guia para os Métodos Mágicos de Python¶
Essa é uma coleção de posts de blog escrita por Rafe Kettler que explicam os “métodos mágicos” em Python. Métodos mágicos são acompanhados de dois underlines (ex: __init__) e podem fazer classes e objetos se comportarem de maneira mágica.
Nota
Rafekettler.com is currently down; you can go to their GitHub version directly. Here you can find a PDF version: A Guide to Python’s Magic Methods (repo on GitHub)
Para engenheiros e cientistas¶
A Primer on Scientific Programming with Python¶
A Primer on Scientific Programming with Python*, escrita por Hans Petter Langtangen, cobre majoritariamente a utilização de Python no meio científico. No livro, exemplos são escolhidos das ciências naturais e exatas.
Numerical Methods in Engineering with Python¶
Numerical Methods in Engineering with Python*, escrito por Jaan Klusalaas, enfatiza nos métodos numéricos e em como implementa-los no Python.
Miscellaneous Topics¶
Problem Solving with Algorithms and Data Structures¶
Problem Solving with Algorithms and Data Structures* cobre uma gama de estruturas de dados e algorítimos. Todos os conceitos são ilustrados com código Python, utilizando exemplos interativos que podem ser executados diretamente do navegador.
Programming Collective Intelligence¶
Programming Collective Intelligence introduz a uma ampla lista de métodos de aprendizado de máquina e mineração de dados. A exposição não é muito matemáticamente formal, mas no entanto foca em explicar a intuição subjacente e mostra como implementar os algoritmos em python.
Transformando código em Python belo e idiomático¶
Transforming Code into Beautiful, Idiomatic Python is a video by Raymond Hettinger. Learn to take better advantage of Python’s best features and improve existing code through a series of code transformations: “When you see this, do that instead.”
Fullstack Python¶
Fullstack Python offers a complete top-to-bottom resource for web development using Python.
From setting up the web server, to designing the front-end, choosing a database, optimizing/scaling, etc.
As the name suggests, it covers everything you need to build and run a complete web app from scratch.
PythonistaCafe¶
PythonistaCafe is an invite-only, online community of Python and software development enthusiasts helping each other succeed and grow. Think of it as a club of mutual improvement for Pythonistas where a broad range of programming questions, career advice, and other topics are discussed every day.
Referências¶
Python in a Nutshell¶
Python in a Nutshell, written by Alex Martelli, covers most cross-platform Python usage, from its syntax to built-in libraries to advanced topics such as writing C extensions.
A Referência da Linguagem Python¶
This is Python’s reference manual. It covers the syntax and the core semantics of the language.
Python Essential Reference¶
Python Essential Reference, escrito por David Beazley, é a referência definitiva para Python. Ele explica de forma concisa tanto o básico da linguagem quanto partes essenciais da biblioteca padrão. Ele cobre Python nas versões 3 e 2.6.
Python Pocket Reference¶
Python Pocket Reference, written by Mark Lutz, is an easy to use reference to the core language, with descriptions of commonly used modules and toolkits. It covers Python 3 and 2.6 versions.
Python Cookbook¶
Python Cookbook, written by David Beazley and Brian K. Jones, is packed with practical recipes. This book covers the core Python language as well as tasks common to a wide variety of application domains.
Writing Idiomatic Python¶
Writing Idiomatic Python, written by Jeff Knupp, contains the most common and important Python idioms in a format that maximizes identification and understanding. Each idiom is presented as a recommendation of a way to write some commonly used piece of code, followed by an explanation of why the idiom is important. It also contains two code samples for each idiom: the “Harmful” way to write it and the “Idiomatic” way.