Tag: python

Learning Selenium Testing Tools with Python, book review


Published on: 01.03.2017

Number of pages: 216
Written by: Unmesh Gundecha
Publish by: Packt Publishing

Book about Selenium with Python examples.

Only book about Selenium with Python examples that I have found so far.
I found much more books with Java examples, alto it is not difficult to translate syntax from Java to Python, because Selenium API is similar, I prefer to read code in Python.

Usually I read programing books for two reasons:
– when I do not know anything about topic, so that I get basic understanding
– when I have already used technology, even did some project, but want to see what I do not know about it

With Selenium is second reason.

Book is good, it have lot of code examples how to use Selenium API.
Good to have as reference.

Automate the Boring Stuff with Python, book review


Published on: 01.02.2017

Number of pages: 504
Written by: Al Sweigart
Publish by: No Starch Press

Best book for learning programming.

I am very impress with this book.
I am recommending it to anybody who want to learn programming.

Book is available for free online.
Book is also available as video tutorial and first 15 videos are on YouTube for free.

This book is going to teach you how to use programming knowledge to automate tasks on computer.
Some examples are: send emails, automate web page interaction, automate GUI interaction.
All other books on programing for beginners just teach you basic programming, but after that people have no idea how to use it in everyday life.
This book is different because it will show you real examples how to use it in everyday life.

Effective Python, book review


Published on: 02.09.2016

Number of pages: 256
Written by: Brett Slatkin
Publish by: Addison-Wesley

Collection of 59 good ideas on how to write better Python code.

Book contains 59 items on how to written better Python code.

Items are grouped in 8 chapters: pythonic thinking, functions, classes and inheritance, metaclasses and attributes, concurrency and parallelism, built-in modules, collaboration, production.

Useful to read.

“Getting Started with Beautiful Soup”, book review

Published on: 01.04.2015


Number of pages: 130
Written by: Vineeth G. Nair
Publish by: PACKT Publishing

I have been using Beautiful Soup at least for last 3 years for web scraping.
I learned it by practice and reading documentation.

As far as I know this is first book about Beautiful Soup, so I was really excite to read it.
I prefer learning from book, tutorial as second choice, last choice is from documentation.

Form somebody who is starting to use Beautiful Soup I would recommend this book, even somebody who had used Beautiful Soup (like myself) can find value in it.

What I have learned from “Getting Started with Beautiful Soup” book:

  • Beautiful Soup can be used to change the content of an HTML/XML document.
  • how to set input encoding for Beautiful Soup document
  • default output encoding for .prettif() and .encode() is UTF-8, but it can be changed also.
  • different formatters (minimal, html , None , function) can be passed as parameters to prettify(), encode(), and decode()
  • get_text() return all text from page (including JavaScript)