[cse491] GET query string parsing

C. Titus Brown ctb at msu.edu
Sun Oct 4 18:09:39 PDT 2009


On Sun, Oct 04, 2009 at 08:57:01PM -0400, Jack Carlson wrote:
> In the homework, we're told to "read and ignore any GET query strings".  
> I'm curious as to what this actually means--is reading the URL path and 
> then splitting on the '?' good enough?  Or are we expected to fill some 
> sort of dictionary with key/value pairs from the query string?

Just split on the '?' and ignore what comes after.  Next homework will involve
using the urlparse module, but that's next HW.

--titus
-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list