Re: SSL problem... SSL23_GET_SERVER_HELLO:unknown protocol
John Reese wrote: > Morning. I've been running into an error message pertaining to SSL > that I don't understand, and I was hoping someone had some insight. > Gmail provides POP access over SSL on port 587, so I tried to use > poplib.POP_SSL, with the following results: [snip] > Any suggestions or insight? Try port 465. -- http://mail.python.org/mailman/listinfo/python-list
Re: SSL problem... SSL23_GET_SERVER_HELLO:unknown protocol
John Reese wrote: > Morning. I've been running into an error message pertaining to SSL > that I don't understand, and I was hoping someone had some insight. > Gmail provides POP access over SSL on port 587, so I tried to use > poplib.POP_SSL, with the following results: GMail uses port 995. -- http://mail.python.org/mailman/listinfo/python-list
Re: forced spaces when inserting a variable between strings
mjteigen wrote: > My goal is print out ''. However, when I view the > source on the generated html page, I see this: > > > > In other words, that "5" has a space tacked on either side of it, and > of course a browser can't find the file. Is there a way I can avoid the > tacking of spaces on either side of a variable inserted between two > strings? Yes, use placeholders. In your example, print "" % (number,) http://www.python.org/dev/doc/devel/lib/typesseq-strings.html http://diveintopython.org/native_data_types/formatting_strings.html -- http://mail.python.org/mailman/listinfo/python-list