Forum Archive

Pythonista 1.6 a real possibility?

TutorialDoctor

I am not a beta tester, and it seems there is a lot of excitement around Pythonista 1.6. However, It seems to be lingering in beta with no official release pushed to the App Store (that is what I will wait for).

Is it a real possibility that Pythonista 1.6 will pass review by Apple? If it is, then I assume the hype is noteworthy.

Also, what is thee real hype from a programmer perspective (not a hobbyist perspective)?

Webmaster4o

This is "all the hype". @omz also mentions he hopes this is the final beta.

File browsing and the whole interface are much cleaner, new themes, a rewrite of the scene module, and best of all app extensions.

App extensions are my favorite thing. I use them for everything, little to big things. My 3 most used app extensions are:

  1. Download file, downloads a file into pythonista from the open in button found when viewing files in iOS
  2. Duplicate image, allows me to quickly duplicate an image in photos by pressing share
  3. View with picture-in-picture, a script that allows me to press share on a YouTube video I'm viewing with Safari, and then parse keepvid.net for a link to the raw video.

The dialogs module allows sharing files with the native dialog, which is nice.

Also, it seems minor, but the new themes are much better and cleaner.

TutorialDoctor

Okay. Cool. Hopefully it passes review.

[deleted]

Wait, didn't Pythonista have to remove "Open In" functionality at one point at Apple's request? Or has something changed about this rule?

Phuket2

@Webmaster4o , hey is your download file extension in a gist or repo? I would love to try and look at the code if possible. I just haven't written a extension yet

aanchal

LEO PRIVACY GUARD 3.0.4. What if I forgot my password?
Please set Security Question, it will helps you to reset a new password, when you unfortunately forgot your password.
Steps to reset password through Security Question:
Open any locked

Webmaster4o

@Phuket2 neither as of right now, when I get home I will put it in a gist for you.

Phuket2

@Webmaster4o , thanks. Don't rush just when you have time.1;:45 am here already, will be time to sleep soon

Webmaster4o

I'll be home from school in about an hour

Webmaster4o

@Phuket2 here

Phuket2

@Webmaster4o , thanks a lot. Will give it a go later on today.

Webmaster4o

@Phuket2 great. Let me know how it goes

Phuket2

@Webmaster4o , I had few problems with the paths. I didn't mention it on the Github because I see all your later code is getting the correct path. Something else weird happened, I lost a lot of edits I made to the file. It was opened in the editor then I went and did a test using the share sheet in safari. I think the editor.reload_files() trashed my changes. I have to look into it more. I got distracted by some friends showing up. But I will find out.

JonB

I am not able to reproduce any issues with reload_files. It is possible to open two copies of the same file, when using editor.open_file, and it used to be possible to lose edits made in a different tab before, but this seems to have been fixed.

I will point out that if you ran Webmaster's download url script, and had a url in your clipboard, you could easily overwrite a file that you were working on! It might be a good idea to have that script check for existing files, both when downloading single files, or extracting zips.

Phuket2

@JonB , thanks. I was just confused. First time I have ever lost updates to a script before. It was not a big problem, but could have been if it affected other open tabs. That's why I was saying I need to track down what went wrong, I want to avoid that. I know it's not very Python like, I still think think it would be nice to write against some sort of compliance class when writing tool scripts. I would like to protect others from my scripts, if possible.
You could have such a compliance interface without the need to write against it, but would be the difference of if your script is considered safe or not. If I live long enough and no one creates one, I will attempt it. I know it's possible, but not for me yet.
But I get an overwhelming feeling a lot of the Python community are not interested in such things. Conformity I mean. I see comments about why test params when Python is all about duck typing etc... Call my class with the right params or else. Maybe I don't get it. But I don't understand these sentiments. Maybe in time I will change my mind, but I doubt it 😱