Greetings all.
I posted this a week ago and had no response, so I'll try again. Any
information would be helpful, even if it's just "that all looks right,
no idea why it doesn't work." I'll gladly provide more info if needed,
or try a different statement of the problem if it isn't clear.
Th
Stian wrote:
> > Well, let me ask a silly question. Are you running this from a "pyw"
> > app, using Pythonw.exe, so you don't have a console of your own?
>
> Well, that's not a silly question for me - I'm rather new to Python.
> Anyway - let me tell you a bit more about how this is put together
aivars wrote:
> this is how I call it from VB:
>
> Sub testPython()
>
> Dim a
> Dim response
>
> Set a = CreateObject("Aivars.ReturnSaldo")
> response = a.ReturnAmount() '--->error here
>
> Worksheets("Sheet1").Range("a1").Value = response
> End Sub
>
Function calls in VB with no parameters don
> On Windows, by default, scripts with a .py extension are run by
> Python.exe, which is a console application. If you can write to stdout
> and see the results in a console window, then you have a console.
> Scripts with a .pyw extension are run by Pythonw.exe, which is a Windows
> application.
Stian wrote:
On Windows, by default, scripts with a .py extension are run by
Python.exe, which is a console application. If you can write to stdout
and see the results in a console window, then you have a console.
Scripts with a .pyw extension are run by Pythonw.exe, which is a Windows
applicati
Joe Healy wrote:
Roger,
Thanks for this, they were exactly the sort of changes I had in mind,
but with very little knowledge about how to go and make them.
We will try to build from source, but have not tried this before. We'll
let you know how we go with this. We are going to follow the (fa
Roger Upole wrote:
Joe Healy wrote:
Roger,
Thanks for this, they were exactly the sort of changes I had in mind,
but with very little knowledge about how to go and make them.
We will try to build from source, but have not tried this before.
We'll let you know how we go with this. We are goi