Your Favorite Python Book

2009-05-11 Thread Sam Tregar
Greetings. I'm working on learning Python and I'm looking for good books to read. I'm almost done with Dive into Python and I liked it a lot. I found Programming Python a little dry the last time I looked at it, but I'm more motivated now so I might return to it. What's your favorite? Why? -sa

Re: New to python, can i ask for a little help?

2009-05-12 Thread Sam Tregar
On Wed, May 13, 2009 at 12:18 AM, warhammer1...@gmail.com < warhammer1...@gmail.com> wrote: > Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit > (Intel)] on win32 > Type "copyright", "credits" or "license()" for more information. > >>> print "hello world!" > SyntaxError: invalid

Re: Your Favorite Python Book

2009-05-15 Thread Sam Tregar
Thanks for the suggestions everyone! I've got a copy of Core Python 2nd Edition on the way. -sam -- http://mail.python.org/mailman/listinfo/python-list

Difference between list() and [] with dictionaries

2009-05-15 Thread Sam Tregar
Hello all. Can anyone explain why this creates a list containing a dictionary: [{'a': 'b', 'foo': 'bar'}] But this creates a list of keys of the dictionary: list({ "a": "b", "foo": "bar" }) I expected them to be equivalent but clearly they're not! I'm using Python 2.6.1 if that helps. -s

[ANN] onlinepayment v1.0.0 released

2010-03-21 Thread Sam Tregar
onlinepayment v1.0.0 - a generic Python API for making online payments This module provides an API wrapper around a variety of payment providers. Using this module you can write code that will work the same regardless of the payment provider in use. Examples:: from onlinepayment import Onlin

Online payment module

2009-08-03 Thread Sam Tregar
Hello all. I'm considering building a module to provide a cross-payment-gatewat API for making online payments. In the Perl world we have a module like this called Business::OnlinePayment ( http://search.cpan.org/~jasonk/Business-OnlinePayment-2.01/OnlinePayment.pm). Is there anything like this

Re: Online payment module

2009-08-04 Thread Sam Tregar
On Tue, Aug 4, 2009 at 4:25 PM, Kushal Kumaran < kushal.kumaran+pyt...@gmail.com > wrote: > > Not really familiar with this area, but have you seen these? > > http://code.google.com/p/pypaypal/ > http://www.geteasyshop.com/front-page > Thanks, but neither of these are remotely what I'm looking fo