The is a sample project for parsing URI's and URL's according to the following RFC specification: http://www.apps.ietf.org/rfc/rfc2396.html
sample python project handling uri and url parsing in python w/o using the built-in modules.