SMB demo

Python is not my native language so style nits are appreciated.
Lets explain that in docstrings


On Fri, Jun 20, 2014 at 2:56 PM, Jeffrey Bosboom <notifications@github.com>
wrote:

> In examples/smb/smb.py:
>
> > +import argparse
> > +import base64
> > +import pickle
> > +import tempfile
> > +import shutil
> > +import subprocess
> > +import re
> > +
> > +import opentuner
> > +from opentuner.search.manipulator import ConfigurationManipulator, IntegerParameter, EnumParameter, BooleanParameter
> > +from opentuner.measurement import MeasurementInterface
> > +from opentuner.measurement.inputmanager import FixedInputManager
> > +from opentuner.tuningrunmain import TuningRunMain
> > +from opentuner.search.objective import MinimizeTime
> > +
> > +def fm2_line(up, down, left, right, a, b, start, select, reset=False):
>
> 'Movie' is a term of art here, referring to the file containing the button
> presses for each frame, not a video file. But yes, we write a movie file
> and ask the emulator to play it back while running fceux-hook.lua, which
> checks for death/flagpole and prints the fitness to stdout where OpenTuner,
> as the parent process, can read it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jansel/opentuner/pull/37/files#r14043191>.
>