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

Carriage returns in .py files makes Pythonista crash

I have noticed a (minor) bug. When there are Carriage Returns in the script, Pythonista frequently crashes when deleting a line. I noticed this behaviour after I had edited a script on my PC. Apparantly the editor has added a CR carriage for every line. U...

Started by upwart (in General)


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) — 3 replies, latest 3 hours ago


Basic text editor

My second creation using ui module :) It can be used to edit text files which Pythonista doesn't support. Of course, it is not a very good text editor. It doesn't support LANDSCAPE orientation nor any other screen sizes (I don't know how to convert output...

Started by ShadowSlayer (in General) — 1 reply 3 hours ago


Can someone show me a small example of a file navigator?

I've looked at https://github.com/dgelessus/pythonista-scripts/blob/master/filenav.py, but there is too much code and I can't seem to understand it. Can someone explain to me how to make a simple File Navigator? (I don't really understand how to implement ...

Started by ShadowSlayer (in Questions) — 2 replies, latest 4 hours ago


gitrepo - small utility to easily download repos and releases from GitHub

My first program using ui module :) It allows you to easily download repos and releases from GitHub, and also supports automatic unzipping. GitHub repo: https://github.com/Vik2015/gitrepo Screenshot:

Started by ShadowSlayer (in Share Code) — 4 replies, latest 7 hours ago


ui module TableView resizing problem.

My tableview is not getting automatically resized. What am I doing wrong? import ui view = ui.View(name="Choose release") table = ui.TableView(flex="WH") lst = ui.ListDataSource(["v1.0.1", "v1.0"]) table.data_source = lst view.add_subview(table) view.pre...

Started by ShadowSlayer (in General) — 2 replies, latest 8 hours ago


Basic Email Program

Back before my grandpop passed, I was working on a basic email program for him. Today I updated it to use the UI module, and added a login to it. Thought I should share. Thanks guys.

Started by techteej (in Share Code)


Disable scrolling in ui.TextView

Is there any way to disable scrolling in ui.TextView?

Started by techteej (in Questions) — 2 replies, latest 14 hours ago


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) — 5 replies, latest 17 hours ago


Another small bug report

When in the UI Editor you click + (New widget), and then change to the script (by pressing that file-like icon next to the + icon), Pythonista crashes. Not much of a bug, rather a small problem :)

Started by ShadowSlayer (in General)


Simple slide puzzle

A small slide puzzle I made while testing out beta version of pcista :) Feel free to modify. GitHub repo: https://github.com/Vik2015/slide-puzzle Script to download and unzip it: https://gist.github.com/Vik2015/71571c6d412a12ac7892

Started by ShadowSlayer (in Share Code) — 2 replies, latest 1 day ago


Cacti Killer

Fun side project game to be released (eventually, currently in review) on the App Store. Code is pretty messy at this point, just want to get it working, then I'll focus on cleaning up code.

Started by techteej (in Questions) — 13 replies, latest 1 day ago


Create text files and send these to other apps?

Hello community! I'm wondering if the following is possible: Can python generate a text file and send it to another app? (basically initiate the 'open in' prompt, or do it automatically, and let me choose which app to open the text file in). For those i...

Started by kw (in Questions) — 11 replies, latest 1 day ago


Cursor drag in console Bug

Minor bug. When in the console view, two-finger drag, intending to move cursor and select, results in crash. Seems easily reproducible, happens 80% of time. One finger drag is ok, as is one or two-finger in the editor window. Great app by the way!

Started by Ipoole (in General) — 1 reply 1 day ago


Let me hear about your current projects!

What are you guys currently working on/developing? It doesn't have to be finished, or even working yet! I just want to know what you guys are making 😁 My current side project is a drag-and-drop game maker: http://i.imgur.com/cffDdGq.jpg I'm making it for...

Started by Shambhala (in General) — 19 replies, latest 1 day ago


Wait for view to close?

Hi there, Pretty simple question: how can I close the currently presented view when I tap a button in that view and open a new one when it's closed? I've tried numerous ways, but it keeps giving me "Value error: View is already being presented or animati...

Started by Absolutist (in Questions) — 7 replies, latest 1 day ago


Stop ALL effects

Is there any way to stop all playing sound effects without stopping the script?

Started by techteej (in Questions) — 14 replies, latest 1 day ago


Pythonista reload all modules?

Is there a way to reload all the modules, or at least some folder in Pythonista? It is really annoying to restart it, or to use reload() functions everywhere. Is there some other way?

Started by ShadowSlayer (in Questions) — 2 replies, latest 1 day ago


Pixel Editor

Here's a simple pixel editor I made. It only works on iPad, I don't see the point in making an iPhone version (because of the small screen). It's not really done yet, the code is a mess and there is still a lot of bugs, but I thought I'd share it anyways X...

Started by Sebastian (in Share Code) — 5 replies, latest 1 day ago


Dropbox Syncing

What is everyone using? I have been using: https://gist.github.com/sidewinder42/8631794. However, it has issues with anything more than a folder deep and it has been creating folders that do not exist.

Started by Dann (in Questions)