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

Section Rows in Tableview

Not sure if I am missing something about section header rows in tableview or not. But other than setting the name of the section as well as how many rows a section contains, it seems like I can not change any of the text properties, row size or behaviour o...

Started by Phuket2 (in General) — 1 reply 2 hours ago


[Beta] Tinkering with Pythonista's internals using objc_util

Another objc_util example (yes, I'm really excited about this module)... This one's really just for fun because I wanted to see if I could make it work at all. As the previous MapView example, this is also a custom view class, but of a completely differen...

Started by omz (in General) — 13 replies, latest 2 hours ago


Converting UIView to _ui.View and viceversa

Hi, Can someone tell me (if possible) how to convert an objcutil generated view(UIView) to a ui module version(_ui.View). If not possible, how to present a UIView inside a sheet/popover/panel? Thanks in advance Filippo

Started by filippocld (in General) — 2 replies, latest 2 hours ago


[SOLVED!] Help with console error (short code)

New project. It ask for the date of an event and counts the days till that event! Please help with the error. Thanks in advance! Here's the code: import datetime import console from scene import * class question (Scene): def setup(self): sel...

Started by Pythonistapro777 (in Share Code) — 2 replies, latest 7 hours 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) — 19 replies, latest 8 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) — 18 replies, latest 8 hours ago


[SOLVED!] Help with text colour (scene)

It's completely finished!!! However, in the last scene (restart scene) the text if for some reason black. Could you please help me make it white? Thanks in advance! Here's the code: #coding: utf-8 from scene import * from random import * import time im...

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


matplotlib pinch/pan dynamic view

https://github.com/jsbain/objc_hacks I added MPLView.py as a two finger pan/zoom interface to matplotlib. still somewhat rough around the edges, but reasonably responsive, using low rez during positioning. this also is an example of using two simultaneo...

Started by JonB (in General)


jedi runtime errors

i have been getting the following in the latest beta, when dealing with matplotlib and numpy: /private/var/mobile/Containers/Bundle/Application/A06FE884-781E-49E6-8CD7-AF67B4583537/Pythonista.app/pylib/site-packages/jedi/parser/tree.py:126: RuntimeWarning...

Started by JonB (in General) — 3 replies, latest 12 hours ago


Sharing code to total non-programmers

I would like to provide chordcalc to non computer types. I am at a music camp and many people have expressed in geting a copy. I'm not looking to make mony off it at this point as Gek Low build the core engine. They would have to buy pythonista, but I w...

Started by polymerchm (in Share Code) — 2 replies, latest 12 hours ago


[SOLVED] Help with int() error (short code)

Ok, so I'm making something that counts down the number of days to an event. Here's the code to the one that works (without user input): import datetime today = datetime.date.today() someday = datetime.date(2015,8,24) diff = someday - today print(diff.d...

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


[SOLVED!] Help needed (restart button)

This is the last help I will be needing for this project. At the end of the code I created a restart scene with a restart button that runs JitterClick scene. However, it doesn't restart the scene it just continues where it left off. So I need help with tha...

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) — 18 replies, latest 16 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) — 5 replies, latest 1 day 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 1 day ago


[RESOLVED!] 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 1 day ago


[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 1 day 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 1 day ago