Articles tagged Streams

  1. Running Sums in Python. A Python program to generate the running sum of a series.
  2. Takewhile drops one
  3. Sugar Pie. Approximating pi by scattering sugar.
  4. Animated pair streams. Another look at the functional programming problem of generating an infinite sequence of pairs. An example of using the Python Imaging Library to generate an animated GIF.
  5. The Maximum Subsequence Problem. A stream-based solution to a classic computer science problem.
  6. Zippy triples served with Python. How do you generate previous, this next, triples from a collection. A stream-based solution in Python.
  7. He Sells Shell Scripts to Intersect Sets. The Unix command shell contains a lot of what I like in a programming environment: it’s dynamic, high-level, interpreted, flexible, succinct. This article shows the Unix tools in action.