can httplib (python) interact with a page and its javascript?
I want to write a python script that will ask for reddit post url, go to the page, login with a specified account and upvote the post and the logout. A) can this be done with python? B) How would I do this? If you can provide code that would be great but don't kill yourself.  
can httplib (python) interact with a page and its javascript?
===

I want to write a python script that will ask for reddit post url, go to the page, login with a specified account and upvote the post and the logout. A) can this be done with python? B) How would I do this? If you can provide code that would be great but don't kill yourself.  