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

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) — 4 replies, latest 6 minutes 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) — 3 replies, latest 27 minutes 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) — 2 replies, latest 54 minutes 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 hours 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 hours 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 6 hours 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 9 hours 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 10 hours 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 15 hours 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 20 hours 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 1 day 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 1 day 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 1 day 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 1 day ago


Open iOS native share menu.

In iOS, there's a 'share' menu, which has messages, mail, and more. Can I open this with pythonista? Note, this is not the same as 'open in'. It contains the open in menu. So the user has more options.

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


How big is one grid space in the UI editor.

I count 15 pixels, is this right?

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


Set background image of view

Can a ui.view have a background image? If so, how do I do this? Also, if not, what is the best way to make an ImageView that scales to fit the view without changing the aspect ratio of the image?

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


Download script into Pythonista

Hi to everyone. I would like to know if there is some way to download scripts from my Desktop PC into my iphone. Thanks for your help. Alejandro.

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


Getting Size of a named image ?

Greetings, I feel a bit stupid, but I'm stuck trying to get the actual size of a named image, loaded in my scene through load_image_file() ! Any clue ? Thanks !

Started by momorprods (in General) — 4 replies, latest 3 days ago