daltonmatos/plugnplay — pull request #4 by dundeemt (2012-04-30 04:48:00+00:00)
Title: Reworked /examples to leave existing and add new one using 0.3 features

The example code, filecopy, was out of date with respect to the current capabilities of plugnplay. To make sure that I understood the differences I rewrote the example using the latest feature set.

I also had problems running the example code under Python2.6.5 so I wrote some 3/2 code that will fail back to python2 semantics if specifying an encoding with the open statement generates an error.

I modified the README directly under the /examples directory to explain the reason for /examples/example1 and example3. The contents of example1 are the same as before, only moved to a subfolder to allow for multiple examples.

If you like the idea in general but have issues with my style, please let me know and I'd be happy to modify as needed.

Best,
Jeff