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

Pythonista for Python 3.x.

Are there any plans to release a Python 3.x variant of Pythonista?

Started by D4t4Wr4ngl3r (in General) — 40 replies, latest 15 hours ago


pitch logic of sound.play_effect

Can anyone tell me how this parameter works? I've experimented a bit but my ear isn't accurate enough to recognise exactly what is a one-octave shift etc. My plan is to import some bass samples and use play_effect to play some tunes.

Started by cogs (in General) — 1 reply 1 day ago


Contacts in a group

How could I list all contacts in an existing group ? (pythonista contacts module) I would like to write a script that provides me with all email addresses in a contacts-group to use in emailing the group in one action.

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


Where am I getting the silent note from?

First time using scene (may recognize some of the structuring I used)... However if you continue to tap the 'button' occasionasly a note will not be played. Any ideas? https://gist.github.com/PyDann/bf784b3679b4a9428042 ($5 on it bring something silly I'...

Started by Dann (in Questions) — 2 replies, latest 1 day ago


Support for HTML on the clipboard?

I’m trying to place custom HTML on the Pasteboard, for use as a signature in the Mail app among other things. (The signature uses a CSS background image with Retina 2x versions and other tricks which are lost if I just select and copy it out of another ap...

Started by ferebee (in Questions) — 3 replies, latest 1 day ago


Regarding NLTK on Pythonista

Hi, I'm new to both Pythonista and to this forum. I'm slightly new to Python, spending the last 15 years or so in the Enterprise Java world. I am very interested in AI in general and computational linguistics/natural language analysis at the hobby or after...

Started by ltddev (in General) — 9 replies, latest 2 days ago


Help installing pipista module in pythonista

This seems like a dumb question, but please bear with me. Ive been trying to install pipista, the module used for installing other modules, but I havent been able to figure out what files do I place in which directory. Any place I try, it gives me an impo...

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


Flappy Bird on Pythonista

https://gist.github.com/BashedCrab/8949577 This started out as a Flappy Bird clone (can be done in under 100 lines of Pythonista), but I let my son do a bit of a redesign. He decided an underwater setting involving an Octopus was much more enjoyable. Th...

Started by bashedcrab (in Share Code) — 19 replies, latest 2 days ago


I'm new to pythonista

I'm new to pythonista and programming on Python as I only got the app a few days ago but have had the codea app for around 2 weeks and I'm wondering how to make solid images like gound.

Started by Butler (in Questions)


Adding Landscape to Cascade

So I wanted to add a landscape mode to the cascade example, but using the scene.should_rotate didn't work. I added: def should_rotate(self, LANDSCAPE): columns = 20 But it unfortunately did not do anything. I tried searching for some help on this,...

Started by tjferry14 (in Questions) — 6 replies, latest 4 days ago


Chaining scene.Scenes

I have written many times in this Forum that you can not call scene.run() multiple times but now I have proof that this is NOT true. Multiple scene.Scenes can be chained one after another as shown in the code below which runs 6 scene.Scenes one after the...

Started by ccc (in Share Code) — 2 replies, latest 4 days ago


NLTK

Has anyone looked at whether it would be possible to run NTLK under Pythonista?

Started by ihf (in General) — 3 replies, latest 5 days ago


execute .py within shellista.py

Is there anyway to launch another .py file while inside of shellista.py? or how would I go about adding that to the current code. I would like to just be able to call a script from with by just a name, like running ls but instead call my script.

Started by radlsneak (in General) — 1 reply 6 days ago


Help building a touch menu

I wanted to build a menu to execute a script, but I keep getting this error. Problem being, I don't have a line 570 in the program I am trying to launch. The code for the file I am trying to launch can be found here. I didn't modify Pythonista either. fr...

Started by tjferry14 (in Questions) — 21 replies, latest 6 days ago


What is the proper way to reset a scene?

So I am working upon this game and I am currently handling the end of the game. The problem is that after resetting the scene, a new game indeed starts but I can still see the previous game animation playing in the background. Even if I try to kill any a...

Started by mirko (in General) — 2 replies, latest 6 days ago


Sharing Files

On my PC, I'm running Windows 7. How do I share files on this with Pythonista on my iPad? I've got and use iTunes on my PC, but Pythonista isn't one of the apps that's listed there as being able to share files between PC and Tablet.

Started by alanmdunsmuir (in General) — 3 replies, latest 6 days ago


Is there a way to stop music playing when I exit?

I have Scene based program with some background music. When I abort the program with the X in the top righthand corner, the music continues to play. Is there a way to avoid this?

Started by upwart (in General) — 3 replies, latest 6 days ago


How to present a user dialog from a Scene?

Hi. I'm new to python and pythonista. I want to present a user dialog asking for a text entry from my class subclassed from Scene. How? Looked at Hydrogen, but it only seemed to do output widgets. Thanks

Started by SteveK (in Questions) — 5 replies, latest 7 days ago


Scene problem when called with LANDSCAPE

I have a program that calls Scene with the LANDSCAPE parameter. Strangely self.bounds returns (on my iPad) 0,0,1024,748 and not 0,0,1024,768 ! If I call Scene without an orientation parameter, the height is correctly 768. Even when self.bounds[3] is 748,...

Started by upwart (in Questions) — 4 replies, latest 7 days ago


Send personal feeds to Day One

This is my first Pythonista script but it is quite possible that I will do some more Day One automation in the future. Of course, there are slogger and sifttter, which are great but it's much more convenient for me to do these logging tasks from my iPhone....

Started by luk (in Share Code) — 27 replies, latest 7 days ago