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

CaptureMedia

Here is our work for capturing media (@techteej and @tony) from 2 other threads and @techteej's Speech project, tidied up, wrapped in a class, closing the server and presented in a popover sized to fit the iOS pop up. The code uses a chunk from @omz's F...

Started by tony (in Share Code) — 20 replies, latest 8 minutes ago


BeautifulSoup Bug

I have a script that is running perfectly on my Mac, but giving me an error in Pythonista. BeautifulSoup is throwing an AttributeError: 'NoneType' object has no attribute 'next_element' on finding all data points in an HTML table: soup.find('table').find_...

Started by n8henrie (in Questions) — 1 reply 1 hour ago


Accessing video clips

I am new to Pythonista. Is there any way to access video clips (.mov files) recorded on iphone from pythonista? The photos.getcount() function returns the count including the video clips but photos.getimage() function fails for video clips. Is there any ot...

Started by sm (in Questions) — 3 replies, latest 1 hour ago


Pythonista for Python 3.x.

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

Started by D4t4Wr4ngl3r (in General) — 70 replies, latest 13 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) — 6 replies, latest 21 hours ago


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 1 day 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: http://omz-forums.appspot.com/pythonista/post/5804401004380160 One was a script that I wrote, then more recently was the “Car...

Started by sap_tappity (in General) — 5 replies, latest 2 days 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 2 days 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: http://learnpythonthehardway.org/book/ex15.html to an ipad app like Pythonista. I tried th...

Started by boodo330 (in General) — 4 replies, latest 2 days 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 3 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 3 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 3 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 4 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 4 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 br.open("url") reports (correctly...

Started by ihf (in Questions) — 7 replies, latest 5 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 6 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 6 days ago


Help with __init__

https://gist.github.com/tjferry14/5830a0fe34e7c3c52a29 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 7 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 7 days ago