Re: Communication between Python and PHP

2008-06-30 Thread askel
On Jun 25, 6:59 pm, nicodotti2 <[EMAIL PROTECTED]> wrote: > On Jun 25, 1:50 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > > > > > nicodotti2 wrote: > > > Don't ask me why, but we have a bunch of legacy code in PHP on a > > > server and a wee-bit of Python code for integrating GData google > > > cale

Re: Creating a multi-tier client/server application

2007-08-29 Thread askel
On Aug 29, 1:31 pm, Jeff <[EMAIL PROTECTED]> wrote: > Goldfish--thanks, I'll check it out. > > > > That, or something similar, may be what I do. It would mean, however, > > > developing my own method for transferring objects across the network, > > > Why transfering "objects" ? You only need to tr

Re: Adding method to a class on the fly

2007-06-22 Thread askel
On Jun 22, 5:17 pm, 7stud <[EMAIL PROTECTED]> wrote: > On Jun 22, 2:24 pm, askel <[EMAIL PROTECTED]> wrote: > > > class Dummy: > > def method(self, arg): > > print arg > > > def method2(self, arg): > > self.method(arg) > >

Re: Adding method to a class on the fly

2007-06-22 Thread askel
On Jun 22, 5:17 pm, 7stud <[EMAIL PROTECTED]> wrote: > On Jun 22, 2:24 pm, askel <[EMAIL PROTECTED]> wrote: > > > class Dummy: > > def method(self, arg): > > print arg > > > def method2(self, arg): > > self.method(arg) > >

Re: Python plain-text database or library that supports joins?

2007-06-22 Thread askel
On Jun 22, 1:18 pm, felciano <[EMAIL PROTECTED]> wrote: > Hello -- > > Is there a convention, library or Pythonic idiom for performing > lightweight relational operations on flatfiles? I frequently find > myself writing code to do simple SQL-like operations between flat > files, such as appending c

Re: Adding method to a class on the fly

2007-06-22 Thread askel
On Jun 22, 3:02 pm, John Henry <[EMAIL PROTECTED]> wrote: > Hi list, > > I have a need to create class methods on the fly. For example, if I > do: > > class Dummy: > def __init__(self): > exec '''def method_dynamic(self):\n\treturn > self.method_static("it's me")''' > return >