Hi:
Someone know if is possible install tkinter in ppythonista?
thanx
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Hi:
Someone know if is possible install tkinter in ppythonista?
thanx
How to make that in a loop?:
<pre>
def touch_began(self, touch):
if touch.location in self.layer1.frame:
sound.play_effect('Click_1')
self.root_layer.add_layer(self.layer2)
self.root_layer.remove_layer(self.layer1)
if touch.location in self.layer2.frame:
sound.play_effect('Beep')
self.root_layer.add_layer(self.layer1)
self.root_layer.remove_layer(self.layer2)
if touch.location in self.layer1.frame:
sound.play_effect('Click_1')
self.root_layer.add_layer(self.layer2)
self.root_layer.remove_layer(self.layer1)
...</pre>
no work fine. I start again.
i create a new script based on "basic Scene"
when i put img = ... inside setup(), the screen stay black, if put in draw() is the same
if put the img... inside the class but out of any functions, start with the image but turn black again
i'm new in python.
i would like to make that:
http://omz-software.com/pythonista/forums/discussion/188/simple-alarm-device-home-automation-using-a-raspberry-pi-and-pythonista-on-the-ipad/p1
i have the code to connect with paramiko to my linux server, but i don't know how to put the picture in background and start the commands when a touch it in a place of the screen.
Someone can help me?
thanx!!! Dalorbi .
now need scale to all screen too
i don't understand. I have the image save in phytonista.
only write that:
from scene import *
import Image
img = Image.open('nameofimagesaved').convert('RGBA')
And don't do nothing
What is my error?
I'm interesting in your code, where i can get it?