Hi Bruno,
Unfortunately SQLAlchemy will be too involved at this point I will
have to rewrite a lot of code to remove my current DB solution and use
that. Howerver I've learned from my mistake and the next project will
use it, as it seems to be a nice way of mapping objects to databases..
I'v solv
Jorgen Bodde a écrit :
> Ok thanks,
>
> I will try this approach. The idea was that I could give a list to the
> SQL execute command, so that the results coming back would
> automatically be assigned to variables.
>
You may want to have a look at SQLAlchemy.
--
http://mail.python.org/mailman/lis
"Jorgen Bodde" <[EMAIL PROTECTED]> wrote:
> I will try this approach. The idea was that I could give a list to the
> SQL execute command, so that the results coming back would
> automatically be assigned to variables.
>
Don't forget that in Python a function can return multiple results (or
rathe
On Tue, 2007-05-08 at 15:40 +0200, Jorgen Bodde wrote:
> Ok thanks,
>
> I will try this approach. The idea was that I could give a list to the
> SQL execute command, so that the results coming back would
> automatically be assigned to variables.
It's not possible to do that exactly as stated. A f
Ok thanks,
I will try this approach. The idea was that I could give a list to the
SQL execute command, so that the results coming back would
automatically be assigned to variables.
With regards,
- Jorgen
On 5/8/07, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> Jorgen Bodde wrote:
>
> > Hi,
> >
>
Jorgen Bodde wrote:
> Hi,
>
> I am trying to simplify my code, and want to automate the assigning of
> variables I get back from a set. I was thinking of putting the
> variables I want changed in a list:
>
> L = [self._varA, self._varB ]
>
> self._varA is a variable I want to change when I pass
Jorgen Bodde wrote:
> Hi,
>
> I am trying to simplify my code, and want to automate the assigning of
> variables I get back from a set. I was thinking of putting the
> variables I want changed in a list:
>
> L = [self._varA, self._varB ]
>
> self._varA is a variable I want to change when I pass
Hi,
I am trying to simplify my code, and want to automate the assigning of
variables I get back from a set. I was thinking of putting the
variables I want changed in a list:
L = [self._varA, self._varB ]
self._varA is a variable I want to change when I pass L to a function.
I know doing this;
L