View Single Post
Old Aug 18th, 2005, 7:49 AM   #5
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Quote:
Thanks but thats not what I want to do. Actually I have a networking device which is configured through its web interface. I want to automate the configuration. So I need to write a python script that would automatically load the config file to the network device through its webinterface.
So I need some python library that sends data back to the webinterface as well as retrieving it.
Indeed. You don't want Python CGI related stuff or mod_python, people did not understand your question very well. You want to interact with the web interface from your script, so you want client-side stuff.
You either want urllib or urllib2, depending on whether or not your web interface, like mine, uses basic HTTP authentication for the login box (do you get a popup that asks you for your username or password) or not. Tell me that and i'll point you in the right direction
Cerulean is offline   Reply With Quote