Head First Python, Barry P., 2017

Head First Python, Barry P., 2017.

   Want to learn the Python language without slogging your way through howto manuals? With Head First Python, you’ll quickly grasp Python’s fundamentals, working with the built-in data structures and functions. Then you’ll move on to building your very own webapp, exploring database management, exception handling, and data wrangling. If you’re intrigued by what you can do with context managers, decorators, comprehensions, and generators, it’s all here. This second edition is a complete learning experience that will help you become a Python programmer in no time.

Head First Python, Barry P., 2017


Indentation takes time to get used to.
Don’t worry. Everyone coming to Python from a “curly-braced language” struggles with indentation at first. But it does get better. Alter a day or two of working with Python, you’ll hardly notice you’re indenting your suites.

One problem that some programmers do have with indentation occurs when they mix tabs with spaces. Due to the way the interpreter counts whitespace, this can lead to problems, in that the code “looks fine” but refuses to run. This is frustrating when you're starting out with Python.

Our advice: don’t mix tabs with spaces in your Python code.
In fact, we’d go even further and advise you to configure your editor to replace a tap of the Tab key with four spaces (and while you’re at it, automatically remove any trailing whitespace, too). This is the well-established convention among many Python programmers, and you should follow it, too. We’ll have more to say about dealing with indentation at the end of this chapter.

Contents.
Table of Contents (Summary).
1 The Basics: Getting Started Quickly.
2 List Data: Working with Ordered Data.
3 Structured Data: Working with Structured Data.
4 Code Reuse: Functions and Modules.
5 Building a Webapp: Getting Real.
6 Storing and Manipulating Data: Where to Put Your Data.
7 Using a Database: Putting Python’s DB-API to Use.
8 A Little Bit of Class: Abstracting Behavior and State.
9 The Context Management Protocol: Hooking into Python’s with Statement.
10 Function Decorators: Wrapping Functions.
11 Exception Handling: What to Do When Things Go Wrong.
11¾ A Little Bit of Threading: Dealing with Waiting.
12 Advanced Iteration: Looping like Crazy.
A Installing: Installing Python.
B Pythonanywhere: Deploying Your Webapp.
C Top Ten Things We Didn’t Cover: There’s Always More to Learn.
D Top Ten Projects Not Covered: Even More Tools, Libraries, and Modules.
E Getting Involved: The Python Community.
Table of Contents (the real thing).
Who is this book for?.
We know what you’re thinking.
We know what your brain is thinking.
Metacognition: thinking about thinking.
Here’s what WE did.
Read me.
Acknowledgments.



Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу Head First Python, Barry P., 2017 - fileskachat.com, быстрое и бесплатное скачивание.

Скачать pdf
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу



Скачать - pdf - Яндекс.Диск.
Дата публикации:





Теги: :: ::


 


 

Книги, учебники, обучение по разделам




Не нашёл? Найди:





2024-12-22 15:25:19