Posts by imaestri • 47 points
4 posts
-
2
votes1
answer45
viewsQ: Get list elements after Insert
I have an empty list that will be fed by inputs. In case, how do I insert the data stored in this list into a database (SQL Server)? I tried this way but it didn’t work. import pyodbc, datetime…
-
0
votes1
answer563
viewsQ: Replace blank data in a list (Python)
I have a list that will receive input data and make a for loop to go through the list to find empty strings to replace them. I’ve tried to use lista.remove() and lista.append(), but the value that…
-
0
votes5
answers821
viewsQ: Avoid blank input data
I have an empty list that will be fed by inputs. In case, how do I go through the list and check if any data has been entered blank and treat it to fill in again? Example: lista = [] variavel_1 =…
-
1
votes1
answer70
viewsQ: Error: Exception has occurred: Typeerror (Python)
I have the following error when compiling: Exception has occurred: TypeError __init__() missing 2 required positional arguments: 'usuario' and 'senha' What I’m doing wrong? class Login: usuario =…