parse and create fixed size binary data (records / structs)

Category: Python - Miscellaneous

Python's struct library is too low-level for direct usage. This recipe (only 40 lines) shows how it can be turned into more developer-friendly tool. Date: 22 March, 2012


Database

Homepage: http://code.activestate.com/recipes/465219-parse-and-create-fixed-size-binary-data-records-st/?in=lang-python

Developer: Maciej Obarski

License: Python License

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web.

developer Developer: phpMyAdmin devel team
license License: GNU General Public License (GPL)
operating systems Operating System: OS Independent


HSQLDB is the leading SQL relational database engine written in Java.

developer Developer: developer
license License: BSD License (original)
operating systems Operating System: All


Monaghan Consultants provide excellence in IT & Database consultancy, Web Hosting and Broadband connectivity.

developer Developer: Alex Monaghan
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


The Open Media Lending Database (OpenDb) is an extremely flexible application to catalogue all sorts of things including DVD, VCD, CD, VHS, GAMES, BOOKS & Laser Discs.

developer Developer: OpenDb
license License: GNU General Public License (GPL)
operating systems Operating System: Platform Independent


W-Agora (Web-Agora) is a professional database-driven communications system which allows you and your visitors to store and display messages, files, and other infos on your web site.

developer Developer: Marc Druilhe
license License: Freeware
operating systems Operating System: Unix, Windows


PluggedOut CMS is a powerful thin client "Content Management System".

developer Developer: Jonathan Beckett
license License: GNU General Public License (GPL)
operating systems Operating System: OS Independent


neo_my2pg is a Python script for migration from mysql to postgresql.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Sometimes you get an Excel spreadsheet (say, from the marketing departement) and you want to read tabular data from it (i.

developer Developer: Nicolas Lehuen
license License: Python License
operating systems Operating System: Windows


An enhanced version of yaptu, with the following changes
- separated parsing from execution
- added caching of parsed templates
- added some error reporting
- added a choice of template syntaxes
- added comment syntax
- added Cheetah-style variable substitution with optional caching of the equivalent Python expression
- limited flow control to 'for' and 'if'
Reasonably small, no external dependencies,....

developer Developer: Michael Palmer
license License: Python License
operating systems Operating System: Windows