The Complete Developer’s Guide to Python Python is an agile, robust, and expressive programming language that continues to build momentum. It combines the power of compiled languages with the simplicity and rapid development of scripting languages. In Core Python Applications Programming, Third Edition , leading Python developer and corporate trainer Wesley Chun helps you take your Python knowledge to the next level. This book has everything you need to become a versatile Python developer. You will be introduced to multiple areas of application development and gain knowledge that can be immediately applied to projects, and you will find code samples in both Python 2 and 3, including migration tips if that’s on your roadmap too. Some snippets will even run unmodified on 2.x or 3.x. Core Python Applications Programming, Third Edition, delivers
Cons: - considered deprecated protocol NNTP - in the chapter 9.3 there is a source code for search bot. It decomposed for two classes - Retriever() и Crawler(). Retriever is synchronous rather than asynchronous. It is impossible to make method Retriever.parse_links() as generator, because result returned the whole with the htmllib.HTMLParser - according to Django: -- Cons of Django tests: --- in the tests used hardcoded URLs instead of reverse() --- Factory Boy not used -- not considered: --- DRF --- Django integration with React and/or Angular -- Django 1.2. Therefore used: --- `admin.autodiscover()` --- `urlpatterns = pattern(` --- `render_to_response()` --- `syncdb`
First of all, I want to say that this was one of my favorite Python books I have ever read. The book itself is broken into 3 main parts, with the first one having some introductory (but very nice and relatively thorough as introductory) material on some general programming tasks in Python (multithreaded programming, network programming, regular expressions, gui programming) and then the second part of the book is more geared towards web development in general.
What I really liked about this approach is that you can both read this book in a linear fashion, and pick specific chapters that interest you in the time being and read them (in a reference manner). The second part of the book also provided a very good introduction into the whole web development in Python ecosystem, in a very bottom up approach, first showing you how you would make an application that speaks with a web server, why you would want to do that, how to do that (CGI), what it's inneficiencies are, what the next step is (FastCGI, or server plugins such as mod_python), what WSGI, why we need, what frameworks are (having a whole chapter dedicated as a basic introduction to Django), why you would want to use them, etc.
I also liked that every chapter had a set of exercises, so that you could practice everything that was said earlier in the chapter. This isn't something you see in many programming books, and I liked that instead of a quick and dirty introduction, and then getting to the next chapter, the book offered a training ground for you to practice your newfound skills.