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

pandas on Pythonista

I am very glad to see numpy available in Pythonista, hurray! Just wondering if anyone managed to install pandas 0.14 successfully at Pythonista using pipista 2.0?

Started by armobird (in General) — 5 replies, latest 29 minutes ago


Anyone done any Scene and UI integration? (Drag-N-Drop)

I am moving over to Pythonista for a while from Editorial, and I am wondering if anyone has done any UI and scene integration that allows you to drag and drop UI controls. Anyone have any sample code on how it would be done? I have made 100 + workflows f...

Started by TutorialDoctor (in Questions) — 5 replies, latest 20 hours ago


Undocumented Modules?

Ole just posted a workflow that imports the html2text module, which isn't documented anywhere. Also, in the Pythonista forum there wasn't documentation on the function that let's you set a badge on the editorial app icon. How would I go about profiling e...

Started by TutorialDoctor (in Questions) — 5 replies, latest 1 day ago


Pythonista 1.6 Beta

So, with Apple's new TestFlight, I can finally have a lot more beta testers, and won't have to worry about device limits so much. If you'd like to play with the next version of Pythonista before it hits the App Store, please send me an email with your App...

Started by omz (in General) — 85 replies, latest 1 day ago


Archive scripts library to .zip

Here's a script that will backup everything in your Pythonista folder into a .zip file. I realize a lot of folks already link Pythonista with Dropbox and may find this extraneous, but I like being able to make/keep local backups. Anyhow, I hope others ma...

Started by pacco (in Share Code) — 9 replies, latest 2 days ago


How to set action attribute in UI editor to a class-method handler rather than a function?

How do I set the action attribute in the UI designer to a object handler method rather than a function? I see how to set the action attribute of a view such as Button to a function such as 'button_tapped' in code outside of the UI Designer, but I want to ...

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


Workflow for exporting to X-code

Hi, The export function to xcode is not working at the moment. Will it be back in the next update ? In the meantime. Is there a workflow to follow to manually get a script with images and txt files from Pythonista to the newest version of xcode ? Maybe do...

Started by macnfly (in General) — 1 reply 2 days ago


In ui how to implement gestures

I can see how to subclass View and I see how to turn on multi-touch. In my simple example I see the touch events. What I don't understand is how to process only some multi-touch events (say for a swipe in the top enclosing view) but leave the rest for the ...

Started by zencuke (in Questions) — 9 replies, latest 3 days ago


Newb to Python and Pythonista

when I create a script named 'mymodule' with class named 'myclass' in the Pythonista editor I can import that module from the console, instantiate the the class and test from the console. However when I make changes in the editor, and repeat that procedure...

Started by Kithara (in Questions) — 3 replies, latest 3 days ago


Switching to SceneView zooms in Scene?

I used the code below to change a scene into a Scene View (launched by a button in a UI Menu), and it seems that the game scene is zoomed in. It also cuts off the scene and does not fill the entire screen. w, h = ui.get_screen_size() root_view = ui.View(...

Started by techteej (in Questions) — 22 replies, latest 4 days ago


Module grabber

I was curious as to what some of the modules (as in, import {module}) actually look like. So I made this script to pull them from the app's site-packages folder. https://gist.github.com/79be00ce58370583b65f I'm sure it can be improved – all I ask is tha...

Started by misha_turnbull (in Share Code) — 2 replies, latest 5 days ago


Handle double tap in TextView?

Is it possible to handle double tap event in a TextView? Or somehow let the TextView pass the event to its parent CustomView?

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


Crossword/Codeword grid query

Hi, I'm not used to coding with Python so using Pythonista to help learn the ways on my mobile device for convenience. I'm trying to rewrite a codeword solver I wrote in Visual Basic for Excel. I used the spreadsheet grid for the user interface but not sur...

Started by GaryGadget (in General) — 33 replies, latest 5 days ago


Possible to script the Interactive Prompt?

Hi, It does not seem to be possible to script the Interactive Prompt, e.g. clear the input, set the content, position the cursor? Would it be possible to add these functions as part of "console" module in future release? These features would be very use...

Started by ywangd (in Questions) — 5 replies, latest 6 days ago


Jono's Pythonista Scripts (Fast Image Sharing, Intuitive File Downloading and more)

Hey everyone, ever since I bought Pythonista I've been getting more and more into learning Python, generally by creating scripts to fix any little problems or inconveniences I come across in my day-to-day digital life. So far I've made scripts which enable...

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


xcode equivalent of site-lib directory?

I'm running xcode versions of my code but the template shows using only one file Script.py. I've been cutting and pasting everything into that one file but that is an error prone process. I'd rather use the same files I (actually symbolic link to dropbox s...

Started by zencuke (in Questions)


General bug report thread

Changing the name of any folder will always move it into the root Script Library folder, even if it was previously located elsewhere. Fortunately this does not cause data loss, all files will still be in the folder after this happens, so you can move the f...

Started by dgelessus (in General) — 47 replies, latest 7 days ago


Cell borders

I can alter border widths and colors of the cells I create. How can I access those properties on the autogen cells that fill out the rest of the tableview?

Started by Dann (in Questions) — 6 replies, latest 7 days ago


Pretty please CoreMidi for 1.6

Developing musical applications in pythonista. Want to play more notes that just the 2 piano octaves without having to have a "note" waveform library.

Started by polymerchm (in General) — 5 replies, latest 18 Nov


How long will a pythonista script run for before shutting down?

I'm new to both python and pythonista and I'm wondering how long a script will run before it shuts down? Will a script shut down even when actively being used or only when run in the background.

Started by Dormane (in Questions) — 3 replies, latest 17 Nov