Posts by Radagast • 177 points
4 posts
-
0
votes0
answers76
viewsQ: How to read a . Kar file in python?
I’m trying to read a file. Kar and then print the letters on the screen, how would I do that in Python3? I tried to use Karapython, but it does not work in Python3, some help?
-
-2
votes1
answer373
viewsA: Get image of only one sector in a scanner (python)
Take the A4 sheet scanned by the program, see its pixel resolution (width, height), choose the area you want to use and write something like this using, replace the values with the lib functions you…
-
1
votes2
answers1871
viewsQ: Append methods in a list - Python
I tried to add 4 methods to a list(methodList): def setVar(self, number): self.var = number methodList = list() for y in range(4): methodList.append(setVar(self, y)) and the function does not work:…
-
6
votes6
answers65891
viewsA: How to convert a string variable to int?
input recognizes string values. so you should do the following: soma = int(n1) + int(n2) int(), makes the values numbers