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.
Python 3.x Progress Update
-
No shortcuts in V3? They are not working for me, thanks
-
Doing the 2to 3 conversion with that file
-
- If you are in the Console and the press ? to get the Online Help
- The press the top left button to open the split screen (the shaded one)
- Then the right portion of the screen (Console) the fonts at the top/search bar and Help title "Overview" will all be overlapped and messed up
- If you try to press again the split screen button (shaded one) you get the pull down menu for Overview
-
Also, using appex.get_url fils because there is not urlparse
-
@filippocld This has been mentioned elsewhere.
-
Congrats on finally getting this project done. I just signed up to beta test and would like to offer help specifically with the template and any feature that directly speaks to users who wish to use Pythonista to write their own Apps for the AppStore.
From a feature perspective:
-
I would like to see the template kept in sync with the build so that developers would get bug fixes as soon as any other user. I would love to hear about why this is such a problem but can surmise that the template project is currently "hand built" or requires a great deal of manual work for some reason. Let's fix that once and for all.
-
I would like to hear about any progress that has been made in supporting integration with third party projects like OpenCV. I have noticed that other development environments support "plug-ins" that seem to be shared libraries and manage to make it through the App/AppStore process just fine. I have no idea yet how they are accomplishing this but I would be happy to research this and report back if we could make it a project to get this done for Pythonista.
I have been thinking a lot about the template and it purpose and future and believe that it is actually a product all by itself. It needs to have a defined purpose and a set of use cases and then offered in the AppStore for a fair price for what it delivers. For anyone using it to do professional level App development you should be able to charge a hefty price and look at paying someone to maintain it for you.
I am going to stop writing now. This is getting too off topic.
UPDATE: I have been syncing up with all the posts from the last 4 days and notice that the template was updated on GitHub at the same time as the 3.x beta - so part of my question may already be answered there. I won't post again until I actually install the new beta and download that template.
-
-
- All the built-in functions and types seem to be missing docstrings and signature info. In Pythonista 2,
help(tuple)
would print at least the docstrings, in Pythonista 3 only the method and attribute names are shown. Method signature info for built-in functions (part of the "argument clinic", which I think is an overhaul of function argument processing in C code) is a new feature in Python 3, which would be very nice to have. - Using an external Apple wireless keyboard, when typing dead keys (such as ^ or ~ or ` or ´) they appear once too often. For example, if I type
~
-space, I get~~
, and when I type~n
I get~ñ
. I've tried many combinations and there is no practical way to suppress the double character. - The Pythonista 3 share sheet action is elegantly named "PythonistaAction3".
- All the built-in functions and types seem to be missing docstrings and signature info. In Pythonista 2,
-
I tried to run some programs with 3000001, but I failed in some cases.
After fixing the errors, I tried to run a program, but it didn´t start and I also get no error message.
Then I tried to provocate some errors and deleted some double points and after I get the error hint, I added these double points back. And so I go down in the listing and suddenly the program starts.
Some hints?
-
I've been playing around with the beta and I've been trying to get one of my programs to run. It seems to be getting hung up when I use the text routine. I get a NameError of name 'unicode' is not defined. The error occurs in the render_text routine. I don't know if this is a bug or I have to change my code to work with the PIL library.
-
@mikeyleo What's the text routine?
unicode
is a Python 2 thing. -
@mikeyleo @Webmaster4o Sounds like a bug in the
scene
module, I'll look into it. -
@Webmaster4o about your wish list for apps...
Yeah, I have had both of those apps that you want. Textastic is great, and Codea is AMAZING.
-
If I create in Pythonista3 a new file in the Pythonista 2 folder, the app is crashing. The same if I try in Pythonista 2 in Pythonistas3 folder., Maybe I am not allowed to do this?
-
Is there a way to do a pip install with Pythonista 3 as yet?
-
@Phuket2 Go to https://pypi.python.org/ and copy the Python 3 source download link for the package you want, download it in Pythonista 2 using stash, extract the archive and move the module file or package folder into Pythonista 3's
site-packages
. It's by far not as nice as using stash'spip
, but Pythonista 3 is literally a few days old, times are going to be a little rough:)
-
@dgelessus , thanks. I sort of thought you could do that also. It was not urgent otherwise I would have tried that way.
Have to say the folder system going on between the 2 apps is pretty cool.
IN Pythonista 3, I just added a script to the tool menuimport editor, clipboard clipboard.set(editor.get_path())
Just nice simple way to get file path names from inside the 2 dir. Simple, but good at this early point
-
@dgelessus , look I am very new to this. But from searching on the web it appears to me that pip is included in the Python dist and has been for sometime. Not 2.7 but after.
-
@omz signed up for the beta! Can't wait to get my existing code converted over to Python 3!
-
@omz
I am aware that @dgelessus has reported issue forsys.exit
. However my experience is a bit different. Thesys.exit
now seems to generate aKeyboardInterupt
instead of theSystemExit
exception. The code can be traced back to line 48 ofpythonista3_startup.py
, in_exitfunc
.If possible, I would like to have
exit
still generateSystemExit
in future revision. -
@Phuket2
pip
is included in almost every normal Python distribution, but that doesn't make it part of the standard library. Besides,pip
is written for normal computers and doesn't run well in the iOS/Pythonista sandbox. See https://github.com/dgelessus/fistutils for my less-than-perfect attempt to makedistutils
/setuptools
/pip
work on Pythonista.