Re: [Tutor] Accessing a Website

2012-07-12 Thread Steven D'Aprano
Fred G wrote: With the exception of step 6, I'm not quite sure how to do this in Python. Is it very complicated to write a script that logs onto a website that requires a user name and password that I have, and then repeatedly enters names and gets their associated id's that we want? Python

Re: [Tutor] Accessing a Website

2012-07-12 Thread Prasad, Ramit
, TX 77002 work phone: 713 - 216 - 5423 -- > -Original Message- > From: tutor-bounces+ramit.prasad=jpmorgan@python.org [mailto:tutor- > bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of Joel Goldstick > Sent: Thursday, July 12, 2012 1:43 PM > To: Fred G > Cc:

Re: [Tutor] Accessing a Website

2012-07-12 Thread Joel Goldstick
On Thu, Jul 12, 2012 at 2:03 PM, Fred G wrote: > Hi-- > > My pseudocode is the following > > new_dictionary = [] > for name in file: > #1) log into university account > #2) go to website with data > #3) type in search box: name > #4) click search > #5) if name is exact match with name of one

[Tutor] Accessing a Website

2012-07-12 Thread Fred G
Hi-- My pseudocode is the following new_dictionary = [] for name in file: #1) log into university account #2) go to website with data #3) type in search box: name #4) click search #5) if name is exact match with name of one of the hits: line.find("Code Number") #6) remove the number