Linked-in Learning: Migrating from Python 2.7 to Python 3

Migrating from Python 2.7 to Python 3 with: Steven Lott ...is now available on LinkedIn Learning: https://www.linkedin.com/learning/migrating-from-python-2-7-to-python-3 and on Lynda.com: https://www.lynda.com/Python-tutorials/Migrating-from-Python-2-7-Python-3/560887-2.html Course Description: Are you still using Python 2.7? If you've been meaning to make …

more ...


Strange "I Hate Python" Concerns. Mostly nonsensical.

Date Tags #python

rom a troll-bait thread asking the argumentative question "why do people use Python"? The answers were, oddly, a long list of strange, nonsensical complaints. And a few logical fallacies. Here are all the ones I could parse:

  1. "It's the FORTRAN of our times."
  2. It's the COBOL of our times.
  3. "deep …
more ...

Chain of Command Example

One objective of the Chain of Command design pattern is to be able to write a bunch of functions that link together. The form a chain of alternative implementations. The idea is the have alternatives that vary in their ability to compute a correct answer. If algorithm 1 doesn’t …

more ...

Open roles. Want to do more Python? Call us.




Improving the epub format -- hacking your ebooks

From a reader.

I recently purchased a copy of 'Modern Python Cookbook' but I found that the code listings in the epub file were indented which caused a problem when reading on my tablet. (I reverted to epub as the PDF version froze in the Bookari ereader software.)

I unzipped …

more ...

Irrelevant Feature Comparison


The Depths of Degradation or How to Reduce

Let's talk real-world functional programming. Disclosure: I'm a fan of functional programming in Python. (This: https://www.packtpub.com/application-development/functional-python-programming)

The usual culprits for functional programming are map(), filter(), generator functions, and the various comprehensions. This is very pleasant and can lead to succinct, expressive code.

The reduce operation …

more ...