Language Selection

English French German Italian Portuguese Spanish

Pythonic Parsing Programs

Filed under
Software

Creed of Python Developers

Pythonistas are eager to extol the lovely virtues of our language. Most beginning Python programmers are invited to run import this from the interpreter right after the canonical hello world. One of the favorite quips from running that command is:

There should be one-- and preferably only one --obvious way to do it.
But the path to Python enlightenment is often covered in rocky terrain, or thorns hidden under leaves.

A Dilemma

On that note, I recently had to use some code that parsed a file. A problem arose when the API had been optimized around the assumption that what I wanted to parse would be found in the filesystem of a POSIX compliant system. The implementation was a staticmethod on a class that was called from_filepath. Well in 2013, we tend to ignore files and shove those lightweight chisels of the 70s behind in favor of a shiny new super-powered jack-hammers called NoSQL.

rest here




More in Tux Machines

Xfce Resurgence

  • Releases, releases, releases!
    So it’s not that I’ve been quiet and lazy – I was actually busy preparing some releases and hacking on stuff. So here’s an update on what’s been going on and what’s to come.
  • Alternative Global Menu For MATE And Xfce: Vala Panel AppMenu [PPA]
    A while back I wrote about TopMenu, a panel plugin that provides global menu (AppMenu) support for MATE, then also included support for Xfce and LXDE. The problem with TopMenu is that it only partially supports GTK3, it doesn't support LibreOffice, and with Ubuntu 16.04, it doesn't support Qt (4 or 5) applications. Here's where Vala Panel AppMenu comes in.
  • Parole Media Player 0.9.0 Released
    Development for the Xfce media player is back on! Well over a year since the last release, Parole 0.9.0 brings a fresh set of features and fixes.

Reviews: OpenELEC and Clear Linux

I next turned my attention to a distribution which has only recently been added to the DistroWatch database: Clear Linux. The Clear Linux distribution is unusual in a few ways. For one, the project is not designed to be a full featured or general purpose operating system; Clear Linux focuses on performance more than features. The distribution is fairly minimal and is designed with cloud computing in mind, though it may also be used in other areas, particularly on servers. Read more

Slackware News