Technical question: how to build exe from python code?
You'll need to copy, or convert*, your IPython code (I think) into a Python script. After that you can use software such as py2exe to create a standalone application. Other hypothesis are:


cx_freeze
pyInstaller
py2App (Mac OsX)


It's possible to save data inside the scripts (it will be compiled the same way as code as long as it is valid). Other possibility is to save in an external file and just load the data on execution. If the data is in a class check pickle to save it to a file.


as @dmb suggested.


EDIT: Ah I forgot to mention the arguments. That is easily achievable. Check this Question in SO.