omz:software Forums


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


With 1.6 in beta I wanted to bring up an unresolved issue from the past: motion.get_magnetic_field(). I wanted to start doing some tests with magnetism but I keep getting (0.0, 0.0, 0.0, 0) as the return value. Is there any chance this will be fixed in the...

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

Custom views in ui builder?

Has anyone gotten a custom view which is not the main view to work in the ui builder? I'm running 1.5 on ios 7. There is a custom view widget, which lets you insert a custom view class... I've made sure to define the class before calling load_view, but ...

Started by JonB (in General) — 2 replies, latest 19 hours 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) — 86 replies, latest 21 hours ago

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) — 7 replies, latest 1 day 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 2 days 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 3 days 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 4 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 4 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 4 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 5 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 5 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 6 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. I'm sure it can be improved – all I ask is tha...

Started by misha_turnbull (in Share Code) — 2 replies, latest 7 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 7 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 7 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 20 Nov

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 19 Nov

xcode equivalent of site-lib directory?

I'm running xcode versions of my code but the template shows using only one file 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 19 Nov

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 19 Nov