Re: SimplePrograms challenge

2007-06-21 Thread pelon
And while I'm at it... Although Guido's tutorial was a great place to start when I first came to python I would have learned more and faster had SimplePrograms existed. My only complaint with the python documentation is the dearth of examples. The PHP documentation is chock full. Steve, You int

Re: SimplePrograms challenge

2007-06-21 Thread pelon
*** New Thread #5 has been bothering me. def greet(name): print 'hello', name greet('Jack') greet('Jill') greet('Bob') Using greet() three times is cheating and doesn't teach much and doesn't have any real world use that #1 can't fulfill. I offer this replacement: def greet(name): """

Re: WebThumb

2007-06-20 Thread pelon
shot-thumbnail.php > > Seems like this is one are that could really use a nice open source library > of some kind :-) > > -Jay This company offers screen captures for pay. I've not tried them, but I may one day for verification of my web designs. http://www.browsercam.com/default.aspx pelon -- http://mail.python.org/mailman/listinfo/python-list

Re: Feature request: New string conversion type to ignore list item

2007-06-11 Thread pelon
On Jun 5, 6:27 am, [EMAIL PROTECTED] wrote: > On 5 Jun., 13:12, Peter Otten <[EMAIL PROTECTED]> wrote: > > > or like this: > > > >>> "%s %.s %s" % ("first", "second", "third") > > > 'first third' > > Hey, that's great, thanks Peter! > > Tom Why not be consistent with other aspects of the language

Testing functions via command line

2007-04-02 Thread pelon
There must be a couple of lines that will replace the following: >From the shell command line I wanted to send data to a specific function inside my module and execute that function in order to test it separately from the rest of the module. I know pdb will allow me to insert data into a running p