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

Changing text color in Table View Cell

Is there any way to change the text color in Table View Cell?

Started by techteej (in Questions) — 1 reply 16 hours ago

Extracting the Date from the UI date and time spinner

I am new to Python but have progressed as far as getting a complex algorithm coded, but I am now struggling with the UI interface. I have a button which when pressed should read the date from the date spinner. The code for the button is... def GetDate(send...

Started by KevinKarney (in Questions) — 5 replies, latest 17 hours ago

Pythonista for Python 3.x.

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

Started by D4t4Wr4ngl3r (in General) — 68 replies, latest 20 hours ago

Disappearing scripts

One two different occasions, now, I’ve had scripts disappear on me, basically like what has happened to others in this thread: One was a script that I wrote, then more recently was the “Car...

Started by sap_tappity (in General) — 5 replies, latest 1 day ago

Error in building Pythonista project in XCode 6

When I tried to build the example PythonistaProject in XCode 6, I get the following error: Undefined symbols for architecture i386: "_fwrite$UNIX2003", referenced from: _empty_output_buffer in libpythonista.a(libturbojpeg_la-jdatadst.o) _term_destin...

Started by joemarct (in Questions) — 9 replies, latest 1 day ago

Hi, New to python,pythonista and dropbox

Hi, I used the guide to connect dropbox and pythonista and I believe it was 100% successful, but I found it hard to translate a normal guide to import files like: to an ipad app like Pythonista. I tried th...

Started by boodo330 (in General) — 4 replies, latest 1 day ago

Is it possible to dismiss the textfield keyboard?

I set up a text field with the gui design tool and then add keyboardtype = KEYBOARDNUMBER_PAD after it is loaded. When the user selects the field the keyboard pops up right on schedule. How do I make it go away? I've found callbacks in the doc that get cal...

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

how to draw a sketch into an image (not fullscreen)?[SOLVED]

Starting from @omz sketch example, i have modified it (see below) to: - have a smaller view. - not start in 0,0. My goal is to have several distinct areas on the screen where i can draw into, not just 1big area. # SketchView # this class provi...

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

ui.tableview does not update screen

Hi all, I run in a problem that a ui.tableview does not update the screen after changing the content. Only after moving/scrolling the ui.tableview up and down the new content will be shown. The code is only for demo, i real I get the content from sqlite ...

Started by tomkirn (in General) — 3 replies, latest 2 days ago

How to re-indent code blocs?

I cant find in the doc or search in the forum about how to re-indent a code bloc forward or backward. So i do it line by line, which is boring...

Started by jmv38 (in General) — 3 replies, latest 3 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) — 8 replies, latest 3 days ago

Automate login

I was trying to use the mechanize library to automate a login to a Wifi Access point authentication page. The problem is that when this page appears in the Browser the iPad is not yet logged into the network so mechanize's"url") reports (correctly...

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

TableView do not work?

Hello, all. This code do not work. When you tap , it will not work. (~~;;) Any suggestion,please... # coding: utf-8 import ui import console class MyTableView(object): def __init__(self): foods = [{'title': 'Vegitable'}, ...

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

How can I convert a PIL Image to a ui.Image?

How can I convert a PIL Image to a ui.Image?

Started by Sebastian (in Questions) — 13 replies, latest 5 days ago

Help with __init__ I think I'm doing something wrong here, but @ccc's previous explanation to me was a little too confusing. Just trying to allow user to pick color they want for each side before game starts.

Started by techteej (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) — 32 replies, latest 6 days ago

feasibility question simple mp3 download/play app

Hey Guys, So i'm relatively new to python, but have a moderate amount of matlab programming experience, so not a complete newbie to programming. I was wondering if this idea would be possible in Pythonista on an iPad. So a local talkback radio station u...

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

Clashing module

I noticed tonight that if I run one script using numpy (as np), then run diffferent script where the variable has the same name (no numpy this time), the second script complains about the variable being in the numpy namespace . So.... how do I completely...

Started by polymerchm (in General) — 1 reply 7 days ago

image FFT project

Hello everyone! I am a complete noob here. My main programming experience is from Codea / lua, a great environment to quickly make small games. I try to learn Python via an inetractive FFT program i will be improving progressively. I'll post the code if...

Started by jmv38 (in General) — 22 replies, latest 7 days ago

slowing down speech. say()

Hi everyone! does anyone know how to slow down the speed on the built in text to speech module within pythonista? I looked, and it said it was something like this: import speech speech.say("hi there"[0.0]) the [0.0] being the speed in which it goes. w...

Started by janAaron (in General) — 1 reply 7 days ago