Pythonista and Textastic
upwart last edited by
I recently bought Textastic because I felt rather limited by the Pythonista text editor. And I must say that editing long scripts is a lotter easier with this dedicated editor.
Now I can properly find and replace text.
Now I can easily indent/outdent text.
Now I access the code for a certain sumbol directly.
I can see more text at once (at least on an iPad)
Now I can much more easily transfer scripts between the editor and DropBox (which I do often, because I swap between desktop and iPad frequently)
There is also a very convenient cursor pad for navigation in a script.
It is possible to enter all (?) 'strange' characters possible via a top row, although implemented quite differently from Pythonista (still not sure which I like most).
The only thing that's a bit clumsy for me is that both these programs have their own directory to keep files (thanks to Apple!).
The transfer from Pythonista to Textastic is rather straighforward by Share / Copy to Textastic. The other direction is not directly supported. I now tend to copy/paste the whole text, but that's far from elegant.
So it would be nice if Pythonsita and Textastic could communicate easier.
Futhermore I am really impressed by the way Textastic integrates with DropBox (Just transfer either way by means of Upload or Download). It would be really nice if Pythonista could realize something similar. Now I have to use a script called dropboximport, which is far from ideal.
So to summarize:
It would be nice if there was a better integration of Pythonista and Textastic
Maybe one day Pythonista could incorporate all or some features of Textastic (i.e. the superior editing and DropBox support).
NorthWind last edited by ccc
In fact Pythonista supports importing files. In the share sheet, you can choose"Run Pythonista Script",and choose "import files", then the chosen file will be sent into Pythonista. By the way, it also supports extracting archives, so you can make a lot of files into a zip file and transfer it.
ccc last edited by
_ ... choose "import files" ..._
@NorthWind I believe that functionality is only available in the current beta and not in the current App Store version. Also, that trick does not work with .py files to steer clear of Apple's App Review restrictions around executable code.
ccc last edited by
@upwart What is wrong with Pythonista find and replace?
abcabc last edited by abcabc
dropbox sync (look at few posts before) seems to work fine
May be "Pythonista find and replace" does not support regular expressions
A simple appex script could be used to save files on pythonista
loading from working copy is another option
Look at this for some more editor options