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

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) — 4 replies, latest 1 hour ago


HELP (with button) (short code)

I need help getting the click variable to go up 1 everytime I click the button. I 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): ...

Started by Pythonistapro777 (in Share Code) — 17 replies, latest 1 hour 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) — 6 replies, latest 4 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 5 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 8 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 9 hours ago


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


Started by Pythonistapro777 (in Share Code) — 2 replies, latest 13 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 15 hours 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 20 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 22 hours 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 1 day ago


Rubyista

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 2 days 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