[python-win32] Pywin32 local variable

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 13 02:19:31 EDT 2021


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


More information about the python-win32 mailing list