Posts by Hugo Barbosa • 41 points
9 posts
-
0
votes1
answer23
viewsQ: Failed to access server socket via internet python3
Good afternoon, I have a problem, I need to access there my pi Raspberry through a socket but when I test locally the program works perfectly, but when I try to access it through the internet…
-
0
votes1
answer65
viewsQ: Access denied there mariadb database on linux python3
good afternoon, I was doing some tests and I decided to try using python3 to manipulate databases but I can never connect with the database with python because the same error always happens:…
-
0
votes1
answer86
viewsQ: Python3:Kinter:Button runs alone
good afternoon I was studying graphical interfaces in Kinter and this problem arose My interface has a simple button and its function was simply to print the contents of a variable that was passed…
-
0
votes0
answers22
viewsQ: difficulty extracting content from a file in a folder
Good afternoon, I am using the textract library to extract contents inside a folder and for that I am using a function that inserts the beginning of the directory('./book') and the extension of the…
-
0
votes1
answer120
viewsA: How to check if the Tkinter window has been closed Python?
And so I don’t know what are the other parts of the code but theoretically if it is closed by X the operating system for all related processes so it can be said that yes PS: I understood that you…
pythonanswered Hugo Barbosa 41 -
0
votes1
answer117
viewsQ: python3 Tkinter scrollbar problems to insert
good morning, I was creating a graphical interface with python and for that I used Tkinter and I was trying to create a scrollbar inside my project but it does not recognize the command to connect…
-
0
votes1
answer49
viewsA: Problems with a python creation of Grid Tkinter
I don’t know if this will solve your problem but you can use instead of grid() you can use the function pack() and inside you can say where you want your containers to be ex…
-
0
votes2
answers61
viewsQ: Get the number of files contained in a directory
I’m using the following script: import os ler = os.system('ls livros | wc -l') print(ler) The goal was the variable ler receive the number of existing files inside a directory but it always gets the…
-
-3
votes1
answer257
viewsQ: Extract images from a pdf file using a python script
good morning, I have this code #!/usr/bin/env python #-*- coding: utf-8 -*- import os try: from textract import * except ModuleNotFoundError: os.system('sudo apt-get install -y python3 python-dev…