At 11:33 PM

Destructuring assignment / tuple unpack in Python - by examples

Destructuring assignment (a.k.a. tuple unpack) in Python, seems to be very useful thing. The most basic variant:

»> x,y = 1,2
»> x,y
(1, 2)

what is identical to:

»> x, y = [1,2]
»> x, y = (1,2)

Read More

At 10:02 AM

permset - utility for *nix permissions mgmt based on patterns - release 0.22

Permset is simple standalone utility script to manage *nix permissions on file and directory trees based on patterns. New release 0.22 contains following improvements:
  • variable substitution for user and group in patterns
  • short statistics displayed on the pattern listing
  • documentation improvements

At 6:34 PM

permset - utility for mgnt of *nix permissions based on patterns

I had just released 0.20 version of permset.

Permset is simple standalone utility script to manage *nix permissions on file and directory trees based on patterns.

Check the example session to get into the idea behind.

At 7:35 PM

Twitter incremental backup in YAML format - python, HTML get and parse

I use Twitter primarly as a bookmarking service.

I know that Twitter is not bookmarking service and there are specialized services for such needs. In my case, using this way started as an experiment, but later I found this way very convenient.

I wrote a script that enables me to incrementally backup all my tweets in a textual file in YAML format, by parsing HTML Twitter pages. Explanation and the script follows …

Read More