I'm looking for the simplest way to add a button and a text input field to Blender's UI so I can use some parameters in my Python script.
I've tried a few tutorials but...
This one uses the word self which throws me an error (name 'self' is not defined) http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Cookbook/Code_snippets/Interface#Using_scene_properties_to_store_information
In this one I cannot really see where the actual code to add to UI is http://www.blender.org/documentation/blender_python_api_2_57_release/bpy.types.Operator.html
Plus a few others that I don't understand at all.