positive response from @omz, he will get to it soon ! Yay !!
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.
Best posts made by eddo888
-
RE: Can't add external folder from Working Copy via Files app. Folders are not selectable. All folders inside Files app popup
-
RE: iOS 13
having no response from @omz for a long time now, I’ve moved on to pyto
it has files/working copy integration, native pip install support and REPL, Sorry @omz, you snooze you loose. -
RE: iCloud Drive folder access error
i am getting the same error, are you running pythonista on ipad and iphone on the same icloud account ?
started happening with update ios 13.2.3 -
RE: New Beta for Pythonista 3.3
Could I also please request that the new "open external file" and "open external directory" api be supported, so I can use Pythonista to access files AND directories in WorkingCopy. Yay Cheers Dave.
-
RE: Can't add external folder from Working Copy via Files app. Folders are not selectable. All folders inside Files app popup
to get around this issue i have used the sync feature of workingcopy to sync to the pythonista icloud folder
-
RE: Get webpage content
two excellent modules to use are
- requests , to retrieve html content
- beautiful soup (bs4), to parse html content
you can load these with StaSh and use "pip install requests bs4"
-
iCloud support or iFiles support
would be awesome if editorial supported ifiles integration, either "icloud drive" or "on 'my iphone"
then we could use WorkingCopy for git !
Latest posts made by eddo888
-
Pythonista 3.4 with python 3.10 is out (praise the snake god !)
Welcome to Pythonista
Thank you for downloading Pythonista! You now have everything you need to build and run Python scripts directly on your iPhone or iPad.
To give you an idea of what you can do with the app, various sample scripts are included in the Examples folder (just tap the link to open it). Feel free to use them as starting points for your own experiments. To share your creations, get help with coding problems, or just to meet fellow Pythonistas, please visit our community forum.
Getting Started + Tips
If you're new to Pythonista, here are some tips to help you get up and running:
-
To create a new script, first tap
≡
to reveal the library, then+
(at the bottom). You can also use left and right swipe gestures to switch between the file browser, editor, and console panels. -
The editor supports multiple tabs – tap the button in the top-righthand corner to add a new one. You can also create new files from an empty tab.
-
The settings ("gear" button in the file browser) contain useful options to customize the editor font, color theme, indentation type (tabs/spaces), and much more.
-
Swipe left to show the console (REPL) panel. This is where text output appears, and you can use the prompt at the bottom to evaluate individual lines of Python code directly.
-
You'll also find the included documentation in the console panel; simply tap the
(?)
button to open it in a separate tab. Reference documentation is also available while you're editing code -- simply select a word (e.g. a function name), and choose Help… from the menu. -
For easier navigation in long scripts, tap the file name at the top to show an outline/list of classes and functions. This is also where you can rename the current file.
-
If you have a hardware (e.g. Bluetooth) keyboard attached to your iPad or iPhone, you can navigate almost all of Pythonista using keyboard shortcuts. Press and hold the Cmd (⌘) key to show keyboard shortcuts that are currently available.
-
The "wrench" menu contains various options for checking your coding style and formatting your scripts. You can also pass arguments (
sys.argv
) to a script, using the "Run Options" menu, and you can add your own script shortcuts to this menu to extend Pythonista's functionality. (Have a look at theeditor
module if you're interested in automating Pythonista itself.) -
A lot of keys on Pythonista's extra keyboard row have multiple mappings. For example, you can tap and hold the tab key to get an unindent option.
-
Tap with two fingers in the editor to select an entire line of code.
-
The "Shortcuts" option in the "wrench" menu allows you to integrate Pythonista scripts with various parts of iOS, like the share sheet, the on-screen keyboard, and apps that support opening custom URL schemes. You can also generate QR codes from script URLs there.
-
Swipe right on a file in the script library for more options, e.g. to open files in new tabs. Swipe left to delete files.
If you enjoy coding in Pythonista, please consider leaving a rating or review in the App Store. Thank you!
💚New in 3.4
-
Pythonista now supports Python 3.10, so you can use structural pattern matching, assignment expressions (added in 3.8), and many other new language features and improvements in the standard library.
-
Python 2.7 is no longer included. The official PSF support for Python 2.7 has ended in 2020, so it simply made no sense to update it in 2023.
-
Shortcuts integration: You can now use Pythonista scripts as actions in Apple's Shortcuts app, without launching the app. The
shortcuts
module has additional functions to accomodate handling input/arguments passing data to other Shortcuts actions. -
Improved documentation with modernized layout, dark mode, and additional content about third-party libraries.
-
Fixed an issue with the up/down arrow keys not working correctly in the editor.
-
Improved support for the Magic Trackpad (and other pointer devices) on iPadOS.
-
New text selection gestures in the editor for iOS 13+ (closer to system text gestures).
-
Added
pandas
and updated various other third-party modules to more recent versions. -
Pythonista now requires iOS 12 or later.
Feedback
I hope you enjoy coding in Pythonista. If you have any feedback, please send an email to pythonista@omz-software.com, or visit the community forum to share code and get help with your programming questions. You can also find me on Twitter:@olemoritz.
-
-
RE: No update?
Still waiting on pythonista beta release to app store. the lack of shared directory access (resolves in the beta) greatly diminishes the value of the app. @omz please release it to the app store.
-
RE: How do you install modules into the app
great to have StaSh
only works on python2
any suggestions for Python3 ? -
RE: iCloud Drive folder access error
@JonB said:
os.mkdir('/private/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/')
removing the dirs and rebooting did the trick
-
RE: iCloud Drive folder access error
i am getting the same error, are you running pythonista on ipad and iphone on the same icloud account ?
started happening with update ios 13.2.3 -
RE: Can't add external folder from Working Copy via Files app. Folders are not selectable. All folders inside Files app popup
quoting @omz, new beta release 330018, restored the ability to open external folders on ios13
-
RE: Can't add external folder from Working Copy via Files app. Folders are not selectable. All folders inside Files app popup
positive response from @omz, he will get to it soon ! Yay !!
-
RE: Git in Pythonista?
ps StaSh uses python to do git so look at the source for StaSh
#DULWICH try: import dulwich ...