Re: import via pathname

2005-06-20 Thread passion_to_be_free
AhhI see. I played around with the sys.path function...and it looks like python automatically looks in the same directory as my script first. Then is searches to all the other pre-defined paths. So it works for me to just keep my main script in the same directory as the two modules I'm using

import via pathname

2005-06-20 Thread passion_to_be_free
Okay, so in my li'l python script I'm importing a few 3rd party modules that I have installed on my comp. I need to distribute this script to several other people, but I won't have access to install the modules on their comp's. I'm thinking I'll include these modules with my script and deliver th

Re: log in to a website

2005-06-20 Thread passion_to_be_free
Works like a gem! Thanks a ton. ClientForm and ClientCookie are great! -- http://mail.python.org/mailman/listinfo/python-list

log in to a website

2005-06-16 Thread passion_to_be_free
I'm learning python, and my goal is to write a script that will log into a website for me. The site uses HTTPS, the form uses the "POST" method. >From what I've been able to find so far, it looks like i need to use the urllib2 module...does anyone know where I can find some good sample code to rea