Subject | Re: [firebird-python] Passing an argument from python to firebird |
---|---|
Author | Pavel Cisar |
Post date | 2018-11-12T10:44:38Z |
Hi,
I'm not sure that I understand what you are asking for, because getting
data from files is elementary programming task. If you want to execute
Firebird statements (that includes execution of stored procedures) with
parameters that are not directly stored in python source code (as
literals or other explicitly defined data structures), you can store it
in text file or any other format that suits your needs, and load it into
appropriate data structures that you need to pass to appropriate
method/function call. It's all just data.
best regards
Pavel Cisar
Dne 10. 11. 18 v 17:45 alaurentiu@... [firebird-python] napsal(a):
I'm not sure that I understand what you are asking for, because getting
data from files is elementary programming task. If you want to execute
Firebird statements (that includes execution of stored procedures) with
parameters that are not directly stored in python source code (as
literals or other explicitly defined data structures), you can store it
in text file or any other format that suits your needs, and load it into
appropriate data structures that you need to pass to appropriate
method/function call. It's all just data.
best regards
Pavel Cisar
Dne 10. 11. 18 v 17:45 alaurentiu@... [firebird-python] napsal(a):
> Hi,
>
>
> I want to run a stored procedure in firebird but I want to pass arguments from a python file because I don't want to expose the statements in py files.
> I tried to find a solution but I failed.
>
>
> Can someone help me with an minor example?
>
>
> Thanks.
>
>
>
> Regards!
>