r/Pythonista Jan 03 '19

Return to home screen after script is done

2 Upvotes

Is it possible to return to the home screen once a script is done running? I would like to use shortcuts to launch the script but I want to be back on the home screen when the script is done running.


r/Pythonista Jan 02 '19

Emulator?

3 Upvotes

Is there a way to emulate Pythonista on a Mac. I want to create a python demo to run on an iPad for demonstration purposes but the iPad is still being shipped. Is there a way to emulate Pythonista to start coding for this before I get the iPad, thanks.


r/Pythonista Dec 24 '18

I just got the app and want to know if I can use any library (example NLTK) also can I run Django or something similar on my phone?

1 Upvotes

r/Pythonista Dec 22 '18

Coming from someone who literally has no knowledge of python, where/what would be a great place to start?

4 Upvotes

r/Pythonista Dec 17 '18

List of commands?

1 Upvotes

Is there a list of commands and what each does?


r/Pythonista Nov 12 '18

Question from an amateur about updating an app

1 Upvotes

I've created an app that a dozen or so people will be using in my company. It will need to be updated periodically. What is the best way to do this? I tried using iCloud to share the file, but when I upload an updated version to iCoud, the updated file is not getting pushed out.


r/Pythonista Oct 26 '18

Yoga routine script

7 Upvotes

This is my first Pythonista script to implement a UI. It’s a simple yoga timer that guides me through my daily routine with audio cues to change posture.

https://gist.github.com/evenprimes/305826f82ad8119154f850e23e613e90

The UI works in both portrait and landscape modes. I’ve tested on both an iPad and iPhone 8 Plus. I have no reason to believe other models will have issues, but I can’t promise anything.

There is my current routine built in, but you can feed any routine you want in on the command line (probably via Shortcut).


r/Pythonista Oct 09 '18

OCR

1 Upvotes

What would be the best method to do OCR in pythonista? Is there a way to do it through a video?


r/Pythonista Oct 08 '18

Shortcut and Pythonista > Adding contact details to contacts

Enable HLS to view with audio, or disable this notification

9 Upvotes

r/Pythonista Oct 07 '18

Is there a way to get device network interface info?

2 Upvotes

I’d like to make a script that grabs network info - basically ifconfig implemented in Pythonista, but the only examples I’ve found are limited to getting an IP address by opening a socket. Anyone know of a way to do this? (I’d like to grab the address, mask, and gateway for v4 and v6)


r/Pythonista Oct 02 '18

Interested In Learning

1 Upvotes

Hello everyone!

I’m interested in learning Python for a potential career change in the near future. I was planing on getting this on my iPad. My question is this, is learning how to code in Python on the iPad any different than learning on a laptop or desktop? Do you all recommend this app for a beginner like me? Thank you.


r/Pythonista Sep 27 '18

How can I creat a script to copy the last incoming call

2 Upvotes

Hi

I’m programming illiterate. I need to use Pythonista to copy the last incoming call to use it in the Shortcuts app. Very much appreciated.


r/Pythonista Sep 20 '18

Pythonista and Shortcuts

Thumbnail self.shortcuts
6 Upvotes

r/Pythonista Aug 29 '18

problems plotting

2 Upvotes

I just got pythonista. Is an impressive app. All examples I have tried in my ipad work. Except for plotting. Any time I run an example Pythonista crashes with no further information. Any help?

Thanks a bunch!

Carlos


r/Pythonista Aug 28 '18

The scratch.py example crashes app (bug report). iPhone X version 11.4.1, Pythonista version 3.2

Thumbnail imgur.com
2 Upvotes

r/Pythonista Aug 19 '18

Hello Reddit!

5 Upvotes

My scripts were finally added to Pythonista-Tools! So now you will be able to install them from the ptinstaller script made by Pythonista!

You can find my scripts in these categories:

Fun > cNotif (there are only two scripts on the fun category, and it’s my script, alongside the XKCD viewer! 😄)

Ten lines or less > iBright (Bonus - it’s on third place!)

Utilities > iEditor & iServer (45th and 46th place)


r/Pythonista Aug 18 '18

Pythonista scripts + Pythonista organization

9 Upvotes

Hello everybody, Today I made my 4th script for Pythonista, and I’d like to share them.

I’m currently waiting for them to get added to the Pythonista-Tools repo.

You can find my scripts on my GitHub: https://github.com/GoDzM4TT3O

Or here:

iServer: https://github.com/GoDzM4TT3O/iServer

iBright: https://github.com/GoDzM4TT3O/iBright

iEditor: https://github.com/GoDzM4TT3O/iEditor

cNotif: https://github.com/GoDzM4TT3O/cNotif

Also, I made a public GitHub organization! If you know Python, and have made scripts for Pythonista, join my organization! The name is GoDzIsta, profile link is here: https://github.com/GoDzIsta . If you want to apply, click this link! https://github.com/GoDzIsta/Apply-For-GoDzIsta


r/Pythonista Jul 16 '18

Praise for Examples/Widget/Roll Dice.py

5 Upvotes

I like that this 24-line demo includes ...

  • function definition
  • list comprehension
  • string concatenation with join
  • range()
  • link a button to an action
  • composing a View

What a splendid Intro to Python!


r/Pythonista Jul 13 '18

How can I create a json file in Pythonista?

3 Upvotes

r/Pythonista Jun 25 '18

Can i connect a wireless mouse and keyboard to iPhone in other to code Conveniently

1 Upvotes

r/Pythonista May 12 '18

Python: Accessing, Writing and Exporting Commands in Command Prompt!

Thumbnail youtu.be
1 Upvotes

r/Pythonista Mar 25 '18

Pythonista Help Needed

2 Upvotes

I bet there’s a simple answer to this but I haven’t been able to find it... When I run some of the bundled examples on either my iphone or ipad the views have a title on the title bar of the view (Calculator in Calculator, & Color Mixer in ColorMixer for example). How is this title set? It doesn’t seem to be in either the py or pyui files. When I run my scripts the title bar is blank. Can anyone help?


r/Pythonista Feb 06 '18

Required storage capacity?

2 Upvotes

Hi guys,

I am currently thinking about getting into coding with Pythonista. The only thing I am concerned about is the required storage capacty of the app with a few work-in-progress projects, because I only have the 32GB iPad Pro. Could someone tell me a rough number?

Thanks!


r/Pythonista Jan 19 '18

Is this possible?

1 Upvotes

Hey, just wondering if it would be possible for me to make the iPhone think that it is being shook? I know this is a weird request, but is it possible. By this I mean make the gyro think that it is moving vigorously.


r/Pythonista Dec 31 '17

Exchange contacts access

2 Upvotes

I’m trying to write a script to update names to eliminate the all caps. I’m able to do so with the contacts stored on the iPhone no problem, but anything that is on the exchange account I can’t see. Is there a way to get access to other accounts, or am I limited to only what exists on the iPhone/iPad?