Skip to content

Tag: python

Test Connection pyodbc (Python and SSMS)

I’m trying to follow some simple steps in this Microsoft doco but I can get it to connect. What am I doing wrong? This is the error message: PS C:UsersNelson.Silva> & Answer You changed your code before posting. In the code block you say the connect line is but in the exception block the line is:…

Args do not unpack

I’m learning flask and i want to unpack args in inner function. That’s my code: I’m getting an arror “tuple index out of range” even if I add next asterix in Can I unpack it anywhere else? Answer If you print args and kwargs, you will find that user is passed in kwargs (by callin…