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 4.12 Released With Several Changes, Install In Ubuntu


xfce 4.12 released install in ubuntu

Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly. After two years and 10 months Xfce sees a newreleaseXfce 4.12 with so many changes.
 

Read At LinuxAndUbuntu

Linux Kernel Developer Work Spaces Video: Tejun Heo, Red Hat

Tejun Heo is a Linux kernel developer and a principal software engineer at Red Hat. In this video he takes us on a tour of his home office and answers a few questions about his work as a kernel subsystem maintainer. Read more

Xfce 4.12 Has Been Officially Released

After two years of hard work, the Xfce development team had the pleasure of announcing a few minutes ago, February 28, the immediate and general availability of the highly anticipated Xfce 4.12 desktop environment for GNU/Linux distributions. Read more

New Tizen Tools Version Released (15.01)

A new version of the Tizen development tools has been released, version 15.01, and it is available on download.tizen.org, including the following: GBS 0.23.2 MIC 0.24.4 REPA 0.3 BMAP-TOOLS 3.3 Read more