Passing arguments

Hello there!

I am currently developing an application that would call blender to generate a rendered 2D image based on an elevation and azimuth angle.

I would like to pass this data to the python script from outside blender, so the user doesn’t need to interact with blender at all. I saw a solution here:

http://blenderartists.org/forum/showthread.php?t=102282

I was wondering if this could be done without creating a text file.

Edit:

I am using Blender 2.49b and python 2.7

Thank you very much.

hmm I think I found the answer … don’t like it too much though hehe

http://www.blender.org/documentation/249PythonDoc/API_related-module.html