Thanks a lot, this seems to help a lot. 👍
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by momorprods
-
iOS 15 console freeze issue ?
Greetings incredible community!
After migrating my iPhone to iOS15 I noticed a few issues with my Pythonista-made apps. Weird SceneView behaviours, but more critical - some random freeze when running some of the console functions.
As a basic illustration, the code below freezes randomly (about 1 freeze every 3-4 attempts when I hit the « close » button (the popup does not display upon freeze)
import ui import console def button_action(sender): global view #view.close() q=console.alert('Confirm Close ?','So you want to close this view? So you want to close this view?So you want to close this view? ','OK') if q==1: view.close() button = ui.Button(title='Close',action=button_action) button.y = 100 view = ui.View() view.add_subview(button) view.present()
Of course this didn’t occur right before my iOS update. Do you also have this kind of random problem?
Thks!
-
RE: CoreML MLMultiArray to Image ?
@cvp thanks a lot, this works great. You’re so fast! 👍🙏
-
CoreML MLMultiArray to Image ?
Greetings, I’m currently experimenting CoreML using the template @omz made some while ago. I’m trying to run the DeepLabV3 model, which returns an image as an output. More precisely : a MLMultiArray Int32 513 x513 Matrix.
And so far I didn’t manage to find a trick to transform this into a PIL image.
Did someone already tried this?
Thanks!
-
RE: Game Development With Pythonista
In a world where Pythonista would be actively maintained by @omz I would be 100% for it. But at this stage, even the XCode template is not up-to-date, and unfortunately we don’t know if Pythonista will still be available in the App Store in a few months. So, sadly, I think your audience might be disappointed at some point.
Game creation is a hard and long process, I wouldn’t recommend anyone who would want to learn & invest time on that topic to use Pythonista, only because the app could vanish tomorrow. Or in 1 year. We don’t know. Sadly.
That’s a pitty. I really think Pythonista would really do the job on game development. It’s far better than any alternative so far - including Codea. I’ve been working during my spare time on an adventure game generator, and found no limit in this task.
-
RE: Will we ever see fixed XCode template for latest version?
@dustlancer see this fixed template, tried it today and it works fine: https://forum.omz-software.com/topic/5310/when-will-omz-release-an-xcode-template-for-python3/51
-
RE: When will OMZ release an Xcode Template for Python3?
@RomSpy actually your template works well with today’s XCode & latest iOS 14. I only had to on/off the Workspace checking in the build settings, and that’s it. Thanks!
-
RE: Next release?
@cvp ah ah well looks like I’m screwed. Let’s hope @omz will at least maintain his iOS dev subscription - so that the app stays live on the store as long as possible.
-
RE: Next release?
@ccc any idea about how to convert ui-based app to Pyto ? it’s probably one of the worst case scenario no?
-
RE: Next release?
Nooo, seriously is that happening? @omz please let us know. Pythonista is a gem of the App Store, and one of the best learning tool I’ve used - perfect also for kids code learning. It should go into schools. I really hope you’ll find a way to maintain it. 🤞
-
set_idle_timer_disabled bug ?
Greetings,
I’m having an issue with the following
code, it simply crashes my Pythonista since the latest update. Does it work on your devices ?Thanks!
import console console.set_idle_timer_disabled(True)
-
RE: TreasureHunt app on Github
@mikael thank a lot, I’m happy your daughter likes it.
At the end of the hunt, the score is displayed - when you touch the screen at this point it should restart the hunt.
-
RE: TreasureHunt app on Github
Hi, when creating your adventure you will be asked to set, for each hint, the question itself, 4 possible replies and the correct reply.
Very basic ;-)
-
TreasureHunt app on Github
Hi,
I have just released on Github a Treasure Hunt / Scavenger creator application. In a few words, the app allows you to create your own scavenger hunts, play them and share them with your friends.
Source is here :
https://github.com/momorprods/TreasureHunt
This was my very first experiment in Pythonista, started a few years ago. I just thought I should update it a bit and release it to the community.
Pythonista is really a mind-blowing app. Treasure Hunt was designed & coded using my iPhone, and nothing else, which is so cool.
Please be indulgent with the design & the code though, this was my very first app started in 2014!
Feel free to share, use, comment, and even upgrade it!
-
RE: For the fun, a Photos cube
great job @cvp ! currently working onto loading collada files, might take most of my upcoming oversea flight! I’ll keep you posted.
-
RE: For the fun, a Photos cube
ah sorry my bad, In my tests I tweaked badly my SCNVector3 using c_double instead of c_float. Fixed and working now.
-
RE: For the fun, a Photos cube
@cvp I think there is still something weird, as the coordinates of the vertices really don’t match what’s expected. The triangle totally disappear if I just scale the Z value of the 1st vertice, which is not normal.
And overall the size of the triangle is not what it should be (confirmed this by overlapping a cube box and also by estimating through the ARKit rendering).
Since it shows the triangle, the indexing part of the code must be ok - it probably deals with the SCNVector3 array. Perhaps I’m wrong, but SCNVector3 looks like an ObjC class, not a C record?
-
RE: For the fun, a Photos cube
guys you are genius. Not sure why the vertex order did change something, probably it needs to be defined clockwise or something like that.
Thanks for all of your help, you are awesome!