lp://staging/~mgiuca/+junk/python-handy

Created by Matt Giuca and last modified

This branch is intended to contain a bunch of handy Python modules (or code snippets) I've written.

Get this branch:
bzr branch lp://staging/~mgiuca/+junk/python-handy
Only Matt Giuca can upload to this branch. If you are Matt Giuca please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Matt Giuca
Status:
Development

Recent revisions

40. By Matt Giuca

cmdline_template: Replace use of optparse with argparse, Python 2.7's replacement module.
Also now compatible with Python 3 syntax.

39. By Matt Giuca

ifffile: Added read_struct, read_c_string and read_chunk methods.

38. By Matt Giuca

ifffile: Raise EOFError on EOF instead of IFFError.

37. By Matt Giuca

Added ifffile.py, an IFF/RIFF file reader that can be used in conjunction with BinReader.

36. By Matt Giuca

binreader: Header comment -- supports Python 3.0 as well.

35. By Matt Giuca

cmdline_template: Print help instead of error, if insufficient args.

34. By Matt Giuca

parsey: ParserError: Renamed 'message' to 'msg', to avoid Python 2.6
    deprecation warning.

33. By Matt Giuca

binreader: Fixed bug (not-working bug!) in read_c_string.
    (Incorrectly got the type of an empty bytes in a version-independent way).

32. By Matt Giuca

Added cmdline_template.py, which is a good starting point for a command-line
Python program.

31. By Matt Giuca

binreader: Hacked read_c_string to work in Python 3.0 (as well as Python 2.5).

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers