I need to call a function stored in Postgres which does a lot of the db and calculation work all the SQL queries are hardcoded in a file called cmi.py. What i need to do is too to call my function from postgres passing in my product_code variable into it and returning the value from the query into a variable i can print to screen as part of a HTML page.
I am sure its very easy but have never done anything in python as have none of the guys i work with making this a bit of a problem. Cheers Guys David -- http://mail.python.org/mailman/listinfo/python-list