Questions tagged as 'python-kivy'

1
answer

How to save an xml string in a document?

I want to save my xml which is a str (return of an API) in an .xml file, but when I do this it does not work, could anyone help me? from xml.dom import minidom cont = minidom.parseString(xml) arquivo = open(local_save, 'wb') cont.writexml(arqu...
asked by 12.11.2018 / 19:44
1
answer

I need help limiting the amount of characters in kivy python

I'm having a small amount, I'm trying to limit the amount of characters that can be typed without text, for example a DDD code, where only 2 or 3 digits, limit to only 3 numbers, but I'm not I tried to run the second, but it also did not work, t...
asked by 11.10.2018 / 21:46
1
answer

How to configure Portuguese in kivy? [closed]

My App has two files, * .py and * .kv, but I'm having problems with accents in my GUI. I have already tried to resolve it in the .py file with    #encoding: -*- utf-8 -*- But the problem continues, please help me. Settings: Python...
asked by 08.03.2018 / 21:47
1
answer

Python - Access a function above outside a class

Hello everyone! A question about Python. I have a structure something like this: class Tela(FloatLayout): def exemplo(self): print("teste") class botao(Button): ????? Explaining: It is a screen that has a function and...
asked by 13.02.2018 / 14:50
1
answer

Application with login and access control (Error: TypeError: 'NoneType' object is not subscriptable)

I'm putting together a basic application with login and access control, meaning not all users can access the same windows. However I have a problem loading the user information into the window after it has login . When I try to make a funct...
asked by 21.11.2018 / 09:52
0
answers

Android app with python

I'm having trouble, the python program runs perfectly on the computer, but the same does not happen on the phone. It opens the application, loads and closes. I use the kivy interface and generate the apk through the buildozer. This problem occur...
asked by 06.11.2018 / 17:09
0
answers

Android app with python

I'm having trouble, the python program runs perfectly on the computer, but the same does not happen on the phone. It opens the application, loads and closes. I use the kivy interface and generate the apk through the buildozer. This problem occur...
asked by 06.11.2018 / 17:09
1
answer

I'm having a doubt on the text_input of kivy + sql

Hello, I'm trying to make a registration page and I'm doing some tests in this code, for example, I'm trying to make it when I enter a name in the user field and press enter save this data in SQL but it is giving error, could someone give me a li...
asked by 25.10.2018 / 15:49
1
answer

Use of Class in Kivy

Good afternoon, I want to make a program that uses several combobox and in a single window. But I can not get both of them to appear. When I run the program, only one of the combobox appears. Below I send the current code. from kivy.app import...
asked by 03.10.2018 / 22:04
0
answers

Kivy / Python- How to call a method from a different class?

Hey guys, I have a question that should theoretically be simple, but I do not know how to do it. Basically I'm doing a simple app where you can create tasks and add to a list, I wanted to make a screen to show the tasks created and one to create...
asked by 28.09.2018 / 14:04