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

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

Started by Phuket2 (in Share Code) — 1 reply 16 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) — 2 replies, latest 20 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 is far more verbose and error prone across multiple platforms than I originally thought. The ...

Started by ccc (in General)


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 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)


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 9 hours 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 21 hours 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 21 hours 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 1 day 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 1 day 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 1 day 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 2 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 2 days ago


Using abstract classes with ui.View

I am just doing some testing with Abstract classes. I would like to start using them to help with the design of my classes and also help with a consistent approach. From what I read the code below should not work, it should fail as an abstract method in th...

Started by Phuket2 (in Questions)


XCode Projects

I pasted my script into the XCode template I found here on these forums. Custom sprites and sounds can be accessed from the /Appname.app/Textures folder, but I've run into a couple important issues. First of all, all images and text displayed in my app's...

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


NavigationView Questions

Hey All, I am thrilled about the new ui module and have already made some great little apps for myself. The one thing I lack, though, is an app that has more than one View. So, my question is: how do you use NavigationView? That is all.

Started by blmacbeth (in General) — 14 replies, latest 2 days ago


Suggestion: Guides in UI editor

I would like to suggest the addition of guides in the UI editor. They would work much like in Photoshop or Keynote, where you drag out guides, and then objects snap to them.

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


Floating pallette ?? To help with testing (Pythonista v1.5)

I wanted to ask if there is a way or example code to make a version of a floating pallette. In my case at the moment, I don't want it for production code although I could see it would be great. I want it for testing my code. I keep trying to cram ui.Butto...

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


Pythonista 1.6 Beta

So, with Apple's new TestFlight, I can finally have a lot more beta testers, and won't have to worry about device limits so much. If you'd like to play with the next version of Pythonista before it hits the App Store, please send me an email with your App...

Started by omz (in General) — 221 replies, latest 3 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) — 21 replies, latest 4 days ago