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

Attaching a class to a ui element such as uiButton (I am desperate)

I know this maybe a mute point for many, But I really would love a way to attach a class (a normal class, inheriting from object) to a ui object. In a generic way. Yes, I could write a custom class to encapsulate the ui element inside a custom class. Howev...

Started by Phuket2 (in Questions) — 4 replies, latest 11 minutes ago


Regex

First off, hi! I'm pretty new to Python- having a lot of fun figuring things out. I check this forum often so thank you all for your help. Here's my question: Has anyone successfully installed and been able to use the regex module? USE is the key word......

Started by Cook (in Questions)


Is there any plan to include the opencv module?

Hi, Thanks for you great product, I am wondering if you guys has any plan to include the opencv module? I found on the opencv website, they have the iOS version, it will be awesome that we can do some CV programming on ipad.

Started by lei.xia (in General)


Print a PYUI?

Is it possible to print WYSIWYG? I can take a screen grab of a populated PYUI and can then print it from iPad Photos app but I wondered if i could save a few touches and print directly from the Pyhtonista app? Thanks,

Started by AlanEdwards (in General) — 1 reply 1 hour ago


Google Earth KML: best module? (simplekml installation issues)

I'm trying to edit and create Google Earth KML (keyhole markup language, based on XML); on Windows with iPython I usually use simplekml, however I'm having a tough time trying to install this, as the tar.gz doesn't want to open when using downloadista.pypi...

Started by simcity4242 (in General) — 1 reply 5 hours ago


pyui_embed.py yet another approach to .pyui files

Recent experiments with Pythonista ui building has proven to me the value of designing user interfaces with the pyui Editor. Creating UI elements in Python code that supports multiple screen sizes is far more verbose and error prone than I originally thou...

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


Drop Shadow behind ui.view()

Can I have a drop shadow behind a ui.view? Is this what ui.set_shadow() is for? I can't find a single example of ui.set_shadow() online. Can someone give an example of a shadow behind a UI view?

Started by Webmaster4o (in General) — 6 replies, latest 1 day ago


sys.settecursionlimit won't change from the default value of 256

I'm getting an Exception RECURSION ERROR which is due to the default value being 256; ie sys.getrecursionlimit() = 256 The only way to remedy this is by prepending sys.settecursionlimit(512) so the line of code reads sys.settecursionlimit(512); foo() Nor...

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


What is special about the Xcode template?

What is special about the Xcode template from omz that allows Xcode to run python and Pythonista's modules? So you can run any language in Xcode? It something special installed in the Xcode template that allows python to run?

Started by donnieh (in Questions) — 6 replies, latest 2 days ago


UI view slide down from top

Can I use ui.animate to have something slide in from the top? I'm looking at the way the export manu slides down in keynote. I have my view, and I want it to slide in on top from above.

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


Data persistance using ios

I am trying figure out how to persist my data using pythonista on my ipad. All i can find in the documentation seems to be general python ruuning on a computer.

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


I call it code helper, but it is a glorified paste applet for the actions menu

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


UI to code

I love the UI editor and am wondering if there is a way to design an interface in the editor but then have that interface be converted into code. Asking because I'd like to programmatically build various views but use the UI editor to create them. Thanks...

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


New Xcode Template (beta)

I've made a new Xcode template for turning Pythonista scripts into apps. It's based on the current beta of v. 1.6, so it's work-in-progress... Some notes: 64-bit devices (iPhone 5s/6, iPad Air...) are supported now, but the 64-bit simulator isn't, so if...

Started by omz (in General) — 26 replies, latest 2 days ago


UI for allowing the user select a local file?

Does Pythonista have a file picker UI? I want to allow the user to select a local file to be processed by my script. I would like to give the user the ability to move up and down within the directory hierarchy and select files with a particular extension...

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


Implementing Scrypt using Pythonista modules

Implementing Scrypt with just Python modules and builtins is incredibly slow; what's needed is C code (or objective C); are the modules provided with Pythonista (numpy etc) going to be useful in this regard?

Started by simcity4242 (in Questions)


Python file directory in Xcode

When I create a new file programmatically (f.open) in my python script, the new file appears in python's main directory. When I copy and paste this script into the Xcode template and run it, where do the files get created? I do not see them in any folder, ...

Started by donnieh (in General) — 1 reply 3 days ago


Thinking out aloud, code gen for ui attr.

I mention in the comments of the code this is far from finished or polished. I am trying to get my head around a good uniform stradegy to implement some type of styles to any app I may write. I thought by writing this code, it will help me along the way. J...

Started by Phuket2 (in Share Code) — 1 reply 3 days ago


ThreeBackticks.py utility to format code snippets for this forum

This little utility is a bit overkill but what the heck... ThreeBackticks.py Many people initially have difficulty formating their Python code so it looks good in posts to the Pythonisa Forum. This script attempts to properly format your code with approp...

Started by ccc (in Share Code) — 3 replies, latest 3 days ago


Possible Bug

I have noticed a possible bug in the UI editor of Pythonista. The issue is choosing an image for a button using the button's attribute image select option in the UI editor. As I was designing a UI with the editor, I would try out different button images f...

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