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
-
@Webmaster4o If you really really want line numbers on the small screen, here you go:
from objc_util import ObjCClass ObjCClass('NSUserDefaults').standardUserDefaults().setBool_forKey_(True, 'EditorShowLineNumbersOnPhone')
(takes effect for editor tabs that are opened afterwards)
-
@ihf I had the same problem that you had in installing the new Pythonista3 beta on two of our four iPads here. No problems at all with the other two iPads.
After several failed attempts, I tried the pythonista3:// trick but that failed to work.
I went into Pythonista 2 and opened the Pythonista3 folder can copied over a few files and folders that I really wanted to preserve.
I then deleted all files in the Pythonista3 and then tried to reinstall. That failed.
Finally, I deleted the Pythonista3 app and reinstalling the app. That succeeded.
-
@omz @Webmaster4o +1 for line numbers (and/or wrap glyphs) pleeeease
-
@ccc I deleted Pythonista 3 and reinstalled from testflight. The install completed this time. Now when I start the app it dies immediately (goes straight to the IOS homescreen). Perhaps this is due to my iPad 3 running 8.1.2 and is JB? Pythonista (2.7) runs fine. Pythonista3 runs on my iPad mini.
-
@ihf Due to an oversight on my part, the current beta doesn't work on iOS 8, I'll try to make a new build available soon.
-
In Pythonista3 beta
import sympy
throwsNameError: name 'long' is not defined
. -
@ccc Not here. Are you sure you don't have a different version of SymPy in site-packages or something like that?
-
I have a problem with appex module. In actual Pythonista 3 Beta appex.get_url() does not get back with the actual URL from Safari. Anyone else got this?
Edit: This happens only while Python 3.5 is selected as default interpreter. Python 2.7 is working fine. -
Yes, the
appex
module seems to have some issues under Python 3:>>> import appex >>> appex.get_attachments() [] >>> appex.is_running_extension() False
Yes, this was run in the app extension.
-
@omz Another console-related issue - AFAICT since Pythonista 2.0,
console.set_color()
with no arguments does not reset the text color to default, like it did in Pythonista 1.5. This is especially an issue because there are light and dark themes - there is no text color that is easy to read on both light and dark backgrounds, so it's impossible to write a script that changes text color in a way that works with all themes. -
-
Thank you for the update to 300007.
I do not know, it was the same in 300006, but now I have a problem with the additional keyboard on my iPad Pro.
If I Press "+" I get an "%" and "+" and a rectangle witout content on the top of the screen. Pressing "/" I get an rectancle without content. Pressing "=" nothing else happens. -
@wnMark For me the extended keyboard has some issues too. The top row's keys work fine when long-pressed, but for the bottom ones the popup is hidden behind the second keyboard row (in portrait mode) or completely out of place (in landscape mode).
-
@dgelessus for me the top line (1,2,3..=) worked like decribed in landscape mode. In portrait it works fine. The bottom line works fine in landscape and portrait mode.
-
While entering a multi-line command, pythonista chokes after the first line, so:
exec('for i in range(10):\n print(i)')
0
1
2
3
4
5
6
7
8
9
for i in range(10):
File "<string>", line 1
for i in range(10):
^
SyntaxError: unexpected EOF while parsing -
-
Thanks, @dgelessus. Are the known issues accessible somewhere so I can read them and try not to clutter up this forum?
-
@geo This one looks like it was only listed in the release notes for an old version, and not on the forum. The Pythonista 2 betas had a "Beta Release Notes" file that was updated with every build, but the Pythonista 3 beta doesn't seem to have that...
-
@omz This is not specific to Pythonista 3, but a few useful sections of the Python docs are included, but not easily accessible, i. e. you need to use search or the global index to get to them.
- Complete Table of Contents - this alone would be enough, then everything would be accessible.
- Python HOWTOs - this includes things like porting to Python 3 and Unicode which are useful for people new to Python 3, but also some generally useful tutorials.
- FAQs - needless to say, those are always good to have.
- Things related to Python's C API - some things are included, some aren't. Of course those aren't of interest to the average user, but definitely useful to the non-average user trying to call the Python 2 API from Python 3 and such.
:)
As mentioned above, if the TOC were linked from the main page of the docs, then this would also be accessible without needing to clutter up the main page.
For iPad users it would also be nice to have the main page in two-column form like on a normal PC. I think in Pythonista 1.5 this was the case, but I may be misremembering that. (And my only device running 1.5 is my old iPhone.)
-
@wnMark said:
Thank you for the update to 300007.
I do not know, it was the same in 300006, but now I have a problem with the additional keyboard on my iPad Pro.
If I Press "+" I get an "%" and "+" and a rectangle witout content on the top of the screen. Pressing "/" I get an rectancle without content. Pressing "=" nothing else happens.Here's a screenshot demonstrating this: