Hello, I am very new to Python and have, what I think, is a rather simple question.
First, I am running Python 2.1 on Win XP. What I want to do is open a CF page after my process has run and pass the processID, that I will set, and the exit code value to it. The CF page will then insert the values to a SQL table. I have tried to just get Python to open a URL using the URLLIB but have been unsuccessful. Here is a sample what I have tried:
url = ‘http://www.google.com’
page = urllib.urlopen(url)
pagedata = page.read()
Any help would be greatly appreciated. Thanks.
Also, if there is a way for Python to post to a SQL table directly without using an intermediate CF page I would be interested in learning how. Thanks again.