Forum Archive

These pages contain a static archive of the old community forum for Pythonista (and Editorial) between 2012 and 2022. The Pythonista forum is now hosted on GitHub: → Join the Discussion!
Jan 02, 2013 - 13:40
SP3IIL93
I just want to know how to find what all the sound names are.
Jan 02, 2013 - 09:26
SP3IIL93
<pre> import sound from scene import * from random import random from random import choice from colorsys import hsv_to_rgb sound.load_effect...
Jan 02, 2013 - 00:14
snarl_barx231
Hi, Is there more documentation on the sound module: what effects are there, what do the numbers after notes mean, etc...???? Thanks
Dec 30, 2012 - 23:57
Sebastian
Is there any way to determine if a script is run on an iPhone or an iPad? I'm creating a game and I want it to be able to run both on an iPh...
Dec 25, 2012 - 14:11
Sebastian
Is there a way to change the origin of an ellipse to be in the center of the ellipse? I'll put a little example under that demonstrates why ...
Dec 25, 2012 - 03:37
Maik239
Hi, I try me on my first snippet of Pythonista, but need some more help. I have following code already, but that still does not work. Help ...
Dec 23, 2012 - 09:58
Sebastian
I updated the code to work better, and it's also more readable. https://gist.github.com/8e6c52930c8bb11fac7c
Dec 18, 2012 - 13:12
C0deH4cker
Is it possible to run one Python script from another <b>with a given value for <code>sys.argv</code>?</b> I looked at various functions such...
Dec 18, 2012 - 01:02
snarl_barx231
I'm just learning python and oop in particular so I've got some basic questions. Why doesn't this work: class Foo: def _init_(self, x, ...
Dec 17, 2012 - 17:29
guyhillyer163
Hi, I've been poking around with this little program off and on for a couple of weeks. It can zoom in but not out. It has been run only on...
Dec 16, 2012 - 17:41
DaveR133
I copied some code containing a 'while' loop and edited it to remove the loop. In doing so I acidentally left in a 'break' statement. Runn...
Dec 16, 2012 - 00:38
Pumplerod85
Is there a method for creating a folder and sub folders within my library? It would really help with organizing larger projects.
Dec 16, 2012 - 00:36
AwareTek226
Is it possible to use voice inputs for Python scripts on iOS? If not yet possible using Pythonista, is it maybe possible to add in the futur...
Dec 14, 2012 - 07:57
Pumplerod85
Is it possible to install/import other modules not included with pythonista? For example I would like to use scipy and py2neo
Dec 12, 2012 - 09:49
fireglyph155
Hi, Pythonista looks really great! However, I'm wondering if the library can also be used or is planned to be used on a desktop OS and not o...
Dec 11, 2012 - 06:00
jpsilverberg230
OMZ, Thanks for your comment on pdf support, but I need to work on this in the future. Right now, I've exported the code to Xcode for a st...
Dec 11, 2012 - 04:38
jimwims
Is there a way for a script to determine whether the iOS device is currently connected to any wi-fi network? I did not find anything on thi...
Dec 11, 2012 - 02:08
roger
Seems like PyObjC does work in iOS, at least on a jailbroken device: * http://www.saurik.com/id/5 * http://stackoverflow.com/questions/59993...
Dec 09, 2012 - 15:56
PKHG222
Maybe have a look here: http://www.daniweb.com/software-development/python/threads/277522/gui-scientific-calculator-homework Maybe somethin...
Dec 07, 2012 - 05:47
deckarep
Hi, Any chance you will allow layer/image effects to be added to a scene? For example, the ability to blur a png image by a horizontal and...
Dec 06, 2012 - 07:34
roger
https://gist.github.com/4192561 Just a quick test library I made to add some NumPy features to normal Python lists and make it slightly ea...
Dec 05, 2012 - 17:46
guyhillyer163
Hi, this code https://gist.github.com/4191121 tries to dynamically build up an image and display it at each step. It calls load_pil_image o...
Dec 05, 2012 - 07:52
roger
Is it possible to use both canvas and scene modules in the same app? Seems like a CanvasLayer might be useful.
Dec 04, 2012 - 07:59
alamed176
Instead of using an image in a layer, I tried to draw on a layer by creating a child class and override the draw() method. Problem is the ch...
Dec 04, 2012 - 05:55
HatePastaCode74
I just started learning Python with Pythonista and the book 'Head First Python' There is an exercise which I do not understand. I create a ...
Dec 03, 2012 - 23:13
Sebastian
Is it possible to pause and/or stop a sound when using the play_effect()?
Dec 02, 2012 - 12:16
Gcarver166
I have a tank I made but don't have a game to go with it yet. I am posting it now though because it demonstrates the use of UDP protocol fo...
Dec 01, 2012 - 21:25
guyhillyer163
Hi, I have a class derived from Scene that implements should_rotate: def should_rotate(self, orientation): print 'should_rotate called w...
Nov 30, 2012 - 23:28
dainfo
New to Pythonista and python, I'm amused to try out different scripts. But when run a script written by Federico Viticci, and I get a consta...
Nov 30, 2012 - 23:24
Gcarver166
This is an example of reading RSS feeds and scrolling the feed in a ticker. https://gist.github.com/4173534 Note that the feeds are downlo...
Nov 30, 2012 - 16:00
trumpetto184
How can I search the forum. Vanilla forums has a search option but it seems to be hidden here?
Nov 29, 2012 - 19:59
guyhillyer163
I was trying to use a Layer in such a way that moving or removing the Layer would reveal the formerly obscured part of the underlying Layer....
Nov 29, 2012 - 19:44
omz
Just a quick announcement for <a href="http://appcubby.com/launch-center/">Launch Center Pro</a> users: Pythonista is now directly available...
Nov 29, 2012 - 00:49
NoneNone94
Can I have keyboard input while a scene is running? Would the keyboard pop up when a scene is running?
Nov 28, 2012 - 22:17
fcrespo82222
Source: https://gist.github.com/4162427 Simple script to open the SMS compose screen (it plays well with Launch Center Pro) Use it as a cus...
Nov 28, 2012 - 00:25
jatoben122
I'm using Pythonista to generate and post-process files from various data services. It's working great for that, but I'd really like the abi...
Nov 26, 2012 - 08:29
pudquick51
I hope this helps everyone out :) https://gist.github.com/4130373 My code dynamically generates a .mobileconfig file which is normally use...
Nov 24, 2012 - 20:52
whitemix98
Hi! I am new to Pithonista. I want to create some simple utility that works with MIDI. Please anyone post an example that shows how to use C...
Nov 24, 2012 - 18:58
tedsvo2
Hi all, I'm hoping you can help me figure out how to get this markdown to latex extension to work (I'm pretty new to Python coding) the modu...
Nov 23, 2012 - 22:47
fcrespo82222
Hi guys, this is my first attempt to make a useful script in python. I've made a script to use your dropbox account using the "app_folder" ...
Nov 23, 2012 - 09:52
Alex210
Hi, maybe I'm just missing the obvious: How can I get files - like libraries, existing code or text files for analyzing - into Pythonista? I...
Nov 22, 2012 - 22:56
Gcarver166
I have 2. A: per effect volume control. I find it hard to mix sounds effectively without this. B: a callback function called when a sound i...
Nov 22, 2012 - 22:31
trumpetto184
What sounds are in the sound module and in what range are they? dir() does not seem to work. PS. Great app!
Nov 20, 2012 - 20:28
ylb609897
I unable to run any script that include any of pythonista own modules on my pc as the library's don't exitist such as scene.
Nov 20, 2012 - 12:15
Zettt136
Yesterday <a href="https://twitter.com/hecteddy/status/270569037258436608">one of my followers</a> asked me and @viticci for a way to get my...
Nov 19, 2012 - 12:54
Westacular129
One thing I'd love to see added would be an SSH module (such as paramiko), which would open up some exciting possibilities for customized re...
Nov 19, 2012 - 09:23
rjungbeck136
I think Pythonista is a great tool, because it simplifies Python development for iOS. I also like your "Export to XCode" feature, as it all...
Nov 18, 2012 - 22:08
NoneNone94
hi i was trying to blend a text with an image and use it as an image of a layer. i opened the background image, wrote a text on it using Im...
Nov 18, 2012 - 06:39
NoneNone94
Hi When I try to import xml.parsers.expat, it gives me the following error. (also when I want to read a plist). Can you show an expample of...
Nov 18, 2012 - 02:35
pudquick51
I've got an iPhone 4S and when I'm running a scene, my bounds are Rect(x=0, y=0, w=320.0, h=480.0) I was working on a keyboard for scene: h...