mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
More typo, grammar, and style fixes
This commit is contained in:
@@ -35,14 +35,14 @@ pydoc
|
||||
:program:`pydoc` is a utility that is installed when you install Python.
|
||||
It allows you to quickly retrieve and search for documentation from your
|
||||
shell. For example, if you needed a quick refresher on the
|
||||
:mod:`time` module, pulling up documentation would be as simple as
|
||||
:mod:`time` module, pulling up documentation would be as simple as:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ pydoc time
|
||||
|
||||
The above command is essentially equivalent to opening the Python REPL
|
||||
and running
|
||||
and running:
|
||||
|
||||
.. code-block:: pycon
|
||||
|
||||
|
||||
+24
-22
@@ -37,24 +37,26 @@ pythonbasics.org is an introductiory tutorial for beginners. The tutorial includ
|
||||
Python for Beginners
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
thepythonguru.com is a tutorial focuses on beginner programmers. It covers many python concepts
|
||||
in depth. It also teaches you some advance constructs of python like lambda expression, regular expression.
|
||||
At last it finishes off with tutorial "How to access MySQL db using python"
|
||||
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"
|
||||
|
||||
|
||||
`Python for beginners <http://thepythonguru.com/>`_
|
||||
`Python for Beginners <http://thepythonguru.com/>`_
|
||||
|
||||
Learn Python Interactive Tutorial
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
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 <http://tryruby.org/>`_ website, it has an interactive Python
|
||||
`Try Ruby <http://tryruby.org/>`_ 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.
|
||||
|
||||
`Learn Python <http://www.learnpython.org/>`_
|
||||
|
||||
Python for You and Me
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If you want a more traditional book, *Python For You and Me* is an excellent
|
||||
resource for learning all aspects of the language.
|
||||
|
||||
@@ -71,7 +73,7 @@ Techbeamers.com provides step-by-step tutorials to teach Python. Each tutorial i
|
||||
Online Python Tutor
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Online Python Tutor gives you a visual step by step
|
||||
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
|
||||
@@ -133,7 +135,7 @@ Think Python: How to Think Like a Computer Scientist
|
||||
|
||||
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
|
||||
with plenty of exercises, minimal jargon, and a section in each chapter devoted
|
||||
to the subject of debugging.
|
||||
|
||||
While exploring the various features available in the Python language the
|
||||
@@ -141,7 +143,7 @@ author weaves in various design patterns and best practices.
|
||||
|
||||
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 and Markov
|
||||
real-world examples. Case studies include assignments in GUI programming and Markov
|
||||
Analysis.
|
||||
|
||||
`Think Python <http://greenteapress.com/thinkpython/html/index.html>`_
|
||||
@@ -191,7 +193,7 @@ 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 elaborate 3D structures,
|
||||
how to use Python to create progressively more elaborate 3D structures,
|
||||
making the process of learning Python fun and engaging.
|
||||
|
||||
`Code the blocks <https://codetheblocks.com/tutorials/introduction>`_
|
||||
@@ -204,9 +206,9 @@ Intermediate
|
||||
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.
|
||||
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:
|
||||
You’ll master intermediate and advanced-level features in Python with practical examples and a clear narrative.
|
||||
|
||||
`Python Tricks: The Book <https://realpython.com/products/python-tricks-book/>`_
|
||||
|
||||
@@ -214,7 +216,7 @@ Effective Python
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
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 commons adapations
|
||||
pages, it is a very brief overview of some of the most common adapations
|
||||
programmers need to make to become efficient intermediate level Python
|
||||
programmers.
|
||||
|
||||
@@ -241,13 +243,13 @@ Expert Python Programming deals with best practices in programming Python and
|
||||
is focused on the more advanced crowd.
|
||||
|
||||
It starts with topics like decorators (with caching, proxy, and context manager
|
||||
case-studies), method resolution order, using super() and meta-programming, and
|
||||
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.
|
||||
development, version control, optimization, and profiling.
|
||||
|
||||
`Expert Python Programming <http://www.packtpub.com/expert-python-programming/book>`_
|
||||
|
||||
@@ -261,7 +263,7 @@ and can make classes and objects behave in different and magical ways.
|
||||
|
||||
`A Guide to Python's Magic Methods <http://www.rafekettler.com/magicmethods.html>`_
|
||||
|
||||
.. note:: The Rafekettler.com is currently down, you can go to their Github version directly. Here you can find a PDF version:
|
||||
.. note:: 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) <https://github.com/RafeKettler/magicmethods/blob/master/magicmethods.pdf>`_
|
||||
|
||||
|
||||
@@ -317,7 +319,7 @@ Transforming Code into Beautiful, Idiomatic Python
|
||||
|
||||
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."
|
||||
through a series of code transformations: "When you see this, do that instead."
|
||||
|
||||
`Transforming Code into Beautiful, Idiomatic Python <https://www.youtube.com/watch?v=OSGv2VnC0go>`_
|
||||
|
||||
@@ -328,7 +330,7 @@ Fullstack Python
|
||||
Fullstack Python offers a complete top-to-bottom resource for web development
|
||||
using Python.
|
||||
|
||||
From setting up the webserver, to designing the front-end, choosing a database,
|
||||
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
|
||||
@@ -353,7 +355,7 @@ Python in a Nutshell
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Python in a Nutshell, written by Alex Martelli, covers most cross-platform
|
||||
Python's usage, from its syntax to built-in libraries to advanced topics such
|
||||
Python usage, from its syntax to built-in libraries to advanced topics such
|
||||
as writing C extensions.
|
||||
|
||||
`Python in a Nutshell <http://shop.oreilly.com/product/9780596001889.do>`_
|
||||
@@ -361,7 +363,7 @@ as writing C extensions.
|
||||
The Python Language Reference
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
This is Python's reference manual, it covers the syntax and the core semantics
|
||||
This is Python's reference manual. It covers the syntax and the core semantics
|
||||
of the language.
|
||||
|
||||
`The Python Language Reference <http://docs.python.org/reference/index.html>`_
|
||||
@@ -388,7 +390,7 @@ 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
|
||||
practical recipes. This book covers the core Python language as well as tasks
|
||||
common to a wide variety of application domains.
|
||||
|
||||
`Python Cookbook <http://shop.oreilly.com/product/0636920027072.do>`_
|
||||
@@ -396,7 +398,7 @@ common to a wide variety of application domains.
|
||||
Writing Idiomatic Python
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
"Writing Idiomatic Python", written by Jeff Knupp, contains the most common and
|
||||
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
|
||||
|
||||
+2
-2
@@ -87,7 +87,7 @@ Python News is the news section in the official Python web site
|
||||
Import Python Weekly
|
||||
********************
|
||||
|
||||
Weekly Python Newsletter containing Python Articles, Projects, Videos, Tweets
|
||||
Weekly Python Newsletter containing Python Articles, Projects, Videos, and Tweets
|
||||
delivered in your inbox. Keep Your Python Programming Skills Updated.
|
||||
|
||||
`Import Python Weekly Newsletter <http://www.importpython.com/newsletter/>`_
|
||||
@@ -97,6 +97,6 @@ delivered in your inbox. Keep Your Python Programming Skills Updated.
|
||||
Awesome Python Newsletter
|
||||
*************************
|
||||
|
||||
A weekly overview of the most popular Python news, articles and packages.
|
||||
A weekly overview of the most popular Python news, articles, and packages.
|
||||
|
||||
`Awesome Python Newsletter <https://python.libhunt.com/newsletter>`_
|
||||
|
||||
Reference in New Issue
Block a user