Help-log in to a web page

2005-10-06 Thread Murugesh
Hi all, I'm a newbie to python.I need to login to a webpage after supplying usename and password. import urllib sock = urllib.urlopen("http://xop-pc.main.com";) htmlSource = sock.read() sock.close() print htmlSource In

Re: Help-log in to a web page

2005-10-06 Thread Murugesh
Laszlo Zsolt Nagy wrote: Murugesh wrote: Hi all, I'm a newbie to python.I need to login to a webpage after supplying usename and password. import urllib   sock = urllib.urlopen("http://xop-pc.main.com") htmlSource = sock.read()  

Re: Help-log in to a web page

2005-10-06 Thread Murugesh
Murugesh wrote: Laszlo Zsolt Nagy wrote: Murugesh wrote: Hi all, I'm a newbie to python.I need to login to a webpage after supplying usename and password. import urllib   sock = urllib.urlopen("http://xop-pc.main.com") htmlSou

to automate an interactive shell

2006-07-31 Thread Murugesh
Hi all, I'm a newbie and would like to how python is efficient in automating an interative shell(I have a CLI executable which interatcs with the user). Any starters would be greatly appreciated. Thanks, Murugesh -- http://mail.python.org/mailman/listinfo/python-list