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

Adding text to a TextView

I have a TextView in my UI called "task_textview" How do I set the text for it in my main script? I tried task_textview.text = "Foo", but I get "global name 'task_textview' is not defined". I didn't 'define' my buttons anywhere but in the UI editor and th...

Started by robinsiebler (in Questions)


LastPass Pythonista

Here's an alternate for LastPass on iOS - I use it numerous times daily. Made copy/pasting passwords a whole lot simpler and faster. Please critique it and pull it. I would like to add this to Pythonista Tools when ready. Thanks! https://github.com/HySh...

Started by hyshai (in General)


Returning to calling app after URL scheme call

Hi there I have a script doing some text conversion in the clipboard. I call the script via the pythonista:// URL scheme. After running the script from say iCabMobile or Drafts, ptyhonista stays open, but I would like automatically to return to the cal...

Started by halloleo (in Questions) — 4 replies, latest 9 hours ago


Ads in a Scene?

Is there a way (or a hack) to support advertisements in a scene class? I want to show a banner ad at the top or bottom of the screen, how would I go about doing this?

Started by Shambhala (in General) — 2 replies, latest 9 hours ago


2048

Here is a little 2048 clone. It is focused more on being a simple example than being graphically advanced. Swipes would be nice, as would sliding tiles, but the later would complicate the class code, and the former I'm not sure how to do cleanly, except ma...

Started by henryiii (in General) — 21 replies, latest 14 hours ago


Shellista- Git Clone error

I have no trouble downloading Gists but I have tried using shellista to download a git with git clone url and the first time I try it says "Error:" and the 2nd time it says "Errno 17: /.git already exists. What am I doing wrong?

Started by ihf (in Questions) — 6 replies, latest 23 hours ago


Any way to get pythonista to call finally when exiting?

In my ipad 2, I find that almost whenever I task switch away from pythonista, when I come back I find that pythonista has restarted, presumably because ios killed it for memory. It would be nice if I could write scripts or objects that can gracefully hand...

Started by JonB (in Questions)


Animated Button

I expect it's been done better before... but as ccc helped me over the ui.delay() hurdle... I thought I'd show willing to give a little back and share my animated button code. It's designed to be a 'Reload' button to work with a ui.WebView... it will trigg...

Started by tony.kainos (in Share Code)


Access NIC/wifi card in iphone/ipad

Is it possible to access the NIC in iOS so one could scan nearby access points and report their info (such as channel, freq, etc). It sure would be handy to have such a wifi scanner in your phone. There used to be an app called wifi analyzer but that was...

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


About file switcher?

I want to easily change an opening file and the file which opened first now. Can I have any hint? Thanks.

Started by beer2011 (in Questions) — 1 reply 2 days ago


filenav - a simple file navigator

(no, I couldn't think of a more original name.) http://github.com/dgelessus/pythonista-scripts/blob/master/filenav.py What is there to say? It's a file navigator with UI and a few neat features: Access to the entire app folder, not just the Script Libr...

Started by dgelessus (in Share Code) — 8 replies, latest 2 days ago


How to use ui.delay()

I can't find any example of how to use ui.delay(). I've tried what seems the obvious simple case below, but the function always runs immediately... without any delay. Can you provide an example please. Thank you, Tony. import ui import console def funcS...

Started by tony.kainos (in Questions) — 3 replies, latest 3 days ago


pythonista for windows?

Pythonista is awesome. It blows away any other ide for ANY language I've used... But when I'm only carrying around a laptop I'm stuck with notepad++ and hate going to the command prompt to test scripts, is there anything like Pythonista for windows?... Or ...

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


Get a list of all keys in Pythonista's keychain?

Is there any way to get an overview of all services and accounts for which there are keys stored via Pythonisat?

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


Bokeh Plotting

Does anyone know if the bokeh plotting library can be imported through pipista for web development? There's a JS library involved for front end purposes, but that should all be handled by the browser. I can't find anything about the architecture of the pyt...

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


Github

I am struggling with downloading scripts from github that are not gists. How does one do that without going through things like goodreader and then cutting/pasting, but brings them directly into pythonista. The "New from Gist" tool only works for GISTs ...

Started by polymerchm (in General) — 2 replies, latest 4 days ago


"Unsupported File Type"

This is probably a feature request (although I'd be interested if anyone has a work-around via script.) Also, I'm new to iOS so please forgive me if I don't get the terminology correct. When I tap a file that Pythonista isn't familiar with I receive a mes...

Started by iisdev (in Questions) — 4 replies, latest 5 days ago


Generating tones and pitches ie square sine in x hz / gps lat long

How do generate sounds in order to write an audio modem for ax.25.? I obviously need to generate tones. I really think this app is limited and frankly a poor mans xcode off the back of ios not available. The gps function barely works if at all!

Started by Merl (in Questions) — 15 replies, latest 5 days ago


Battery usage & some questions

Hello there, I am new to the pythonista world and just starting out learning to do this so please bear with me ;) I started out with a simple small project, that should be doable for the programing knowledge that I have. It is a simple clone of this sco...

Started by iamjaden (in General)


Feature Request: Aircode

Hello, I really love Pythonista, but I am really missing the Aircode feature like Codea's one. Can you please consider to add it in the near future? Thanks!

Started by mcarrara3 (in General) — 2 replies, latest 5 days ago