omz:software Forums


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 button) (short code)

I need help with the global error, have no idea what to do! Thanks in advance! Here's the code: from scene import * from PIL import Image click = 0 class JitterClick(Scene): def setup(self): self.button = Button(Rect(self.size.w/2-100, self....

Started by Pythonistapro777 (in Share Code) — 9 replies, latest 20 minutes 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)

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) — 3 replies, latest 2 hours 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) — 12 replies, latest 2 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 3 hours ago

Started by Pythonistapro777 (in Share Code) — 1 reply 4 hours 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 5 hours ago

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

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) — 12 replies, latest 9 hours ago Module

Hi, Few days ago i experimented, 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 14 hours 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 16 hours ago

Fitbit "Sleep Analyzer"

My kids gave me a Fitbit wristband, a "Flex" version and started playing with Python FitbinAPI. check out here: The 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 23 hours ago


Hey, Ole Recently saw your tweet about a Ruby IDE for iOS. I think this would be very interesting and useful. Have you already started the project or it's only an idea? Thanks Filippo

Started by filippocld (in General)

Looking for People Willing to Write Tutorials

Hey everyone, I know I've been really silent lately, but thats my fault. Had a lot on my plate to deal with. BUT I promise I will be contributing once again and will be better than ever! ;) That being said, I really want to get things going with the new ...

Started by techteej (in General) — 21 replies, latest 1 day ago

Bugs with latest beta

I don't know if this is intentional, but editor can't be imported by appex scripts.. Only a few photos (the ones from after updating to this beta) show in photos.pick_image I know this one wasn't in the last beta. I have 1.6 GB of photos: And only 3 sh...

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

Script disappeared

I wonder whether anyone has experienced the same -very annoying- behaviour: All of a sudden the complete contents of one of my scripts has disappeared. What's left is an empty script. This happened to me already three times! I can't reproduce it. Maybe a ...

Started by upwart (in General) — 17 replies, latest 1 day ago

objc nil?

in the beta ctypes/objc_utils module, is there a way to send nil as a selector argument? i was trying to use locationOfTouch_inView_ with a nil view, but none of None, ns(None), ObjCInstance(0) worked.

Started by JonB (in Questions) — 2 replies, latest 2 days ago

Limitations due to iOS

I am at home in the Linux world. Playing around with Pythonista gives the Impression that I have to live with a number of limitations due to iOS, see example belog. My question: where can i find a list of Pythonista/iOS limitations? Edit: Adding list of k...

Started by georg.viehoever (in Questions) — 5 replies, latest 2 days ago

Unlimited backgrounding

I'm trying to follow this tutorial to enable unlimited backgrounding on an app, using the new objc_util (in the beta). Do you think it will work? Is the tutorial still relevant with the latest iOS versions? The code looks pretty simple: @property (nonat...

Started by jan4843 (in Questions) — 7 replies, latest 2 days ago

post to pythonista forum from pythonista app

It works! Here's a user interface that you can set up to run from the action extension (sized for iPad). It automatically copies the code from the current file into the post draft. Once you are ready to post you can go through a markdown preview and then ...

Started by cook (in Share Code) — 7 replies, latest 2 days ago