Questions tagged as 'kivy'

2
answers

Kivy: Display a text saved in a variable

based on the example of this question I want to make a program that shows me a text saved in a variable, "g". There goes the code: # config from kivy.config import Config Config.set('kivy', 'keyboard_mode', 'system') #¿Para qué sirve esta lí...
asked by 15.04.2017 / 21:16
1
answer

App for android in python

I'm doing my "Hello world" in python, I tell them that I'm taking Kivy to do this but when I run the program I get an error. import kivy kivy.require('1.9.0') from kivy.app import App from kivy.uix.boxlayout import BoxLayout class Contenedor...
asked by 17.07.2017 / 22:27
1
answer

Kivy: Load a text from a file in a label

I want to load a text from a file in a label. My code in python is: # config from kivy.config import Config Config.set('kivy', 'keyboard_mode', 'system') from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.lang import...
asked by 16.04.2017 / 21:55
1
answer

kivy: change the color of a label

is the following code in python: # config from kivy.config import Config Config.set('kivy', 'keyboard_mode', 'system') from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.lang import Builder Builder.load_file('design....
asked by 18.04.2017 / 06:27
1
answer

How to change a text dynamically in kivy, python from a thread

I am trying to change the text of a stringProperty from a thread but I do not know how to access the string property from the thread This is the thread: def worker(): dev = InputDevice('/dev/input/by-id/usb-Logitech_USB_Keyboard-event-k...
asked by 11.06.2018 / 13:10
1
answer

python - kivy: error: Failed building wheel for kivy

I'm trying to install kivy and I have the following error: My OS is W7 64 bits My version of python is 3.6 (32 bits) What can I do?     
asked by 14.04.2017 / 07:14
1
answer

Kivy: Simple program does not work for me

I'm trying to pass a full program to Kivy, but I'm not loading it. Then I tried to make the program as simple as possible: from kivy.app import App class TestApp(App): def build(self): print("HelloWorld") TestApp().run() But i...
asked by 14.04.2017 / 22:05
1
answer

Problems working with kivy in Python 2.7

I have Python 2.7 and I have installed kivy. It has to be installed correctly because when I import it from the Python console it does not give me an error. But if I keep entering code I have problems. I am new to this and I do not know what...
asked by 08.03.2016 / 14:04
0
answers

Upload an Image with AsyncImage in Kivy

I have a problem loading images with the object AsyncImage generates an error, when I load images from the internal memory I have no problems. My code is _: #qpy:kivy import kivy kivy.require('1.10.0') from kivy import App from kivy.uix.gr...
asked by 03.05.2018 / 20:44
2
answers

Share variables between .py and different .kv and properties between .kv and .kv in kivy

Community, I have a problem when I want to share variables and properties between different .kv files or different classes in the kv program. Does anyone have an idea of how I could do it directly in kv programming? Then I show the test I'm doin...
asked by 05.02.2018 / 17:38