Re: [python-win32] Pywin32 local variable

2021-08-13 Thread Greg Ewing

On 12/08/21 9:17 pm, Salih KUYUMCU via python-win32 wrote:
I create a String 
value before the methods and try to return these values in another 
method. I get the problem local variable 'xxx' referenced before 
assignment.


It sounds like you may want to store the value in an attribute
of an object instead of a local variable.

If you show us your code and the exact error message you're
getting, we will be able to help you better.

--
Greg
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


[python-win32] Pywin32 local variable

2021-08-12 Thread Salih KUYUMCU via python-win32
Hello dear authorized,
I'm Salih from Abdullah Gül Univercity from Turkey. Now I'm tring to make a 
project with python and abap. I'm now using the pywin32 for com server in 
windows. I can send some variables to python from abap and get them. 
However, I have a problem with local variables. I create a String value 
before the methods and try to return these values in another method. I get 
the problem local variable 'xxx' referenced before assignment. I just want 
to take or change a variable that is not in the method. Please help me for 
this topic. If you want I can make more explanations. I used Stefan 
Schnell's page in SAP community.


 
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32