omz:software Forums

Pythonista

If you want to participate in the discussion, you have to sign up or log in.

Categories: General, Share Code, Questions RSS (All Posts)

All Discussions

Help with Magic8Ball (scenes)

Magic8Ball is a game that gives you advice. I've already made the game with 3 scenes. The first scene (MyScene), says the name of the game. The second scene (Help), gives instructions. The last scene (Advice), gives the advice However, I need help with mak...

Started by Pythonistapro777 (in Share Code) — 13 replies, latest 10 minutes ago


Spam on the forums

Too much spam! We really need some way to regulate spam. I don't think anyone cares if it's back-end code that analyzes posts or a team of forum moderators from the community or what. Does anyone have any ideas?

Started by Gerzer (in General) — 14 replies, latest 31 minutes ago


A copy code button here in the forum.

Maybe I am just doing something so wrong. I hope so. But I find it so hard to copy any code from the forum onto the clipboard. A small block is generally ok, a larger block of code I can normally get it, but hit and miss for me. So assuming I get the code...

Started by Phuket2 (in General) — 10 replies, latest 1 hour ago


[SOLVED!] Help with uncallable error

Please help with the uncallable error. Thank's in advance! Here's the code: #coding: utf-8 import random, motion from scene import * from PIL import Image class Particle(object): def __init__(self, wh): self.w = wh.w self.h = wh.h ...

Started by Pythonistapro777 (in Share Code)


[SOLVED!] Help with counting

In this game, the player will have to click a hundred times as quickly as possible. However, I need help with calculating the time it takes them to click 100 times. Or even if I can't count the time, could you help me with creating a count loop once the bu...

Started by Pythonistapro777 (in Share Code) — 2 replies, latest 4 hours ago


Some questions about Pythonista

Is theoretically possible to present a ui in the extension without breaking apple rules? Can you please reinsert the icloud drive implementation? Is it possible to change theme with objc_util? In editorial there is editor.get_theme(). Why not adding it in...

Started by filippocld (in Questions) — 3 replies, latest 6 hours ago


Help with scene timing (short code)

How can I make desp (scene) be run 10 seconds after the first click of the button? Thanks in advance! Here's the code: import time from scene import * from PIL import Image clicks = 0 class JitterClick(Scene): def setup(self): self.button =...

Started by Pythonistapro777 (in Share Code) — 2 replies, latest 7 hours ago


Using 'Custom View Class' with pyui files

Sorry, I am lost with this one. I can see where in the ui designer were to put the name of my custom class. Which I have done. I put only the class name in. No parentheses etc... But from there I am lost. I thought maybe it was as magically connected that...

Started by Phuket2 (in Questions)


[Resolved!] Error in appex's script

Hello,All. Error in appex script, can not be eliminated. Please give me advice . As the goal, From the open page (Internet), it is what you want to download and save images . Thanks. download_image.py http://news.goo.ne.jp/topstories/nation/379/8ba...

Started by beer2011 (in Questions) — 2 replies, latest 9 hours ago


[SOLVED] What's wrong with my code?

The click variable is meant to go up by one everytime I click the button. What do I do?. :( Thanks in advance! Here's the code: from scene import * from PIL import Image clicks = 0 class JitterClick(Scene): def setup(self): self.button = Bu...

Started by Pythonistapro777 (in Share Code) — 21 replies, latest 11 hours ago


Sudden runtime error on iPad

I get an error msg now not seen before when I try to run for ex: import ui def add(a,b): result = 0 while b>0: result += a b -= 1 return result print add(3,5) NameError: global name '_debug_runtime' is not defined Or even...

Started by cynicuss (in Questions) — 5 replies, latest 15 hours ago


Use Trello for a Road Map?

I use an app called Gamepress/Hyperpad on IOS to make games and game prototypes. They have recently started use Trello to update users on the progress of the app. Using Trello, users can vote for changes they want, and track the progress of each current a...

Started by TutorialDoctor (in General)


Button title animation

I just wanted to ask if it's normal that when changing a buttons title that it is animated. My buttons in a view or the title bar always do a sort of fade in. I am not sure if this is because some of my accessibility settings or it's just normal. I really ...

Started by Phuket2 (in Questions) — 2 replies, latest 23 hours ago


Launching Pythonista from 1.6b app extension

I'm trying to write a script for the 1.6 app extension that will: Take some text passed in from the share sheet Format the text in a specific way Place the formatted text on the pasteboard Launch Pythonista and run another script that will take the text ...

Started by fraserspeirs (in General) — 2 replies, latest 1 day ago


Started by Pythonistapro777 (in Share Code) — 1 reply 1 day ago


motion.get_attitude returns 0

motion.get_attitude returns (0.0,0.0,0.0) constantly now. I ran it once, and it worked properly. On the other side of airport security, it returned (1.0,1.0,1.0). Every time I ran the script after that, I got 0. Is this because it's run with scene, and sce...

Started by Webmaster4o (in General) — 4 replies, latest 1 day ago


Started by Pythonistapro777 (in Share Code) — 2 replies, latest 1 day ago


Realm.io Module

Hi, Few days ago i experimented realm.io, a more powerful (and intuitive) alternative version to CoreData(ObjC) and SQLite. Obviously I searched for an implementation for my favourite language, Python. I didn't find it :-( . Can @ole implement the framewor...

Started by filippocld (in General) — 7 replies, latest 1 day ago


Opening a local file

In previous versions open document would open a local mark down doc but now it says file does not exist. How should I reference a local markup document

Started by Martindolan (in General) — 2 replies, latest 1 day ago


Fitbit "Sleep Analyzer"

My kids gave me a Fitbit wristband, a "Flex" version and started playing with Python FitbinAPI. check out here: https://gist.github.com/f30ec558d289d9a23f61 The Ftbit.com site has all the info how to get your own keys -- I randomized the ones in code to ...

Started by ltddev (in General) — 3 replies, latest 2 days ago