Posts by Guilherme Seganzerla • 65 points
7 posts
-
0
votes1
answer119
viewsQ: 2 decorators in a Python method
Well, I have a very simple class called Task, where I want to store my tasks and then save in a bank. However, I want to go through the types of my attributes, I would like the task_name attribute…
-
0
votes1
answer420
viewsQ: How to test connection to Mysql database (sqlalchemy)
I started learning unit tests recently, Not I know if unit testing is really the term I’m looking for, but how can I "test" the database connection ?
-
0
votes0
answers60
viewsQ: Buttons on a Gtk.Cellrenderer
I’m trying to make a program that saves some information in a comic, I can present the information in the window without any problem, but I wanted to add 2 buttons per line an "Edit" and another…
-
1
votes1
answer267
viewsQ: Manage Gtk+ window swapping
Hail to you guys, I’m trying to make a program with Gtk+ (python3) to save some information in a comic book but I also want to identify users by login, (Quick explanation on how the program works).…
-
4
votes4
answers7713
viewsQ: How to detect if a variable is null?
I’m trying to validate a simple form in Python 3 and I want to make sure it doesn’t record the information if the field nome is empty, but when I make a if to check whether the variable name is…
-
0
votes3
answers366
viewsA: Python does not return files inside a directory
Apparently it’s a syntax error I ran the script here and it worked def rename_files(): ... file_list = os.listdir(r"diretorio") ... print(file_list)
pythonanswered Guilherme Seganzerla 65 -
1
votes0
answers60
viewsQ: Attributeerror('Handler %s not found') python3 gtk3
I recently made a code in python3.x and for the interface I used a file . However when I execute the code the interface opens but does not perform any action and interpreter returns me the error…