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

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 28 minutes ago


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) — 1 reply 42 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) — 18 replies, latest 52 minutes 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 1 hour 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 1 hour 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)


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)


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 4 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 4 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 4 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 5 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 8 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 18 hours 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


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


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 1 day 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)