• ihf

    [~/Documents]$ version
    StaSh v0.7.2
    Pythonista 3.3 (330013)
    iOS 12.3.1 (64-bit iPad6,4)
    Python 2.7.12
    root: ~/Documents/site-packages/stash
    core.py: 2019-05-26 16:33:08
    SELFUPDATE_TARGET: master
    BIN_PATH:
    ~/Documents/bin
    ~/Documents/stash_extensions/bin
    ~/Documents/site-packages/stash/bin
    [~/Documents]$

    posted in Pythonista read more
  • ihf

    I tried again to remove and reinstall the latest version of pytube but it just returns with no download or error message. I guess it should be removed from the stash distribution.

    posted in Pythonista read more
  • ihf

    @mikael That returns with no error and no download.

    posted in Pythonista read more
  • ihf

    I was trying to install the latest version v9.5.0 of pytube thinking that might work better than the v8.0.2. I started stash and did a pip uninstall pytube followed by a pip install pytube and then restarted stash. Now when I try to use the pytube command it just returns. Even pytube -version produces no output. Thoughts?

    posted in Pythonista read more
  • ihf

    @cvp Thanks very much! I kept thinking there must be a way to get the image using the share sheet without first saving it into Pythonista and then deleting it but I guess not.

    posted in Pythonista read more
  • ihf

    I would like to use the Share sheet to send a photo to a remote server. The following script is my attempt but clearly my use of appex.get_image is wrong but it also fails with appex.get_filepath. How do I properly specify the file from the sharesheet for the sftp.put? I'd also like it to work if I select multiple photos.

    import appex
    
    hostname = 'ipaddress'
    password = 'password'
    source = appex.get_image()
    dest = 'destfilepath'
    
    username = "username"
    port = 22
    
    try:
       t = paramiko.Transport((hostname, port))
       t.connect(username=username, password=password)
       sftp = paramiko.SFTPClient.from_transport(t)
       a = sftp.put(source, dest)
    
    finally:
       t.close()
    

    posted in Pythonista read more
  • ihf

    Unless I am mistaken, the last time Pythonista was updated was at least one year ago. Is @omz finished with it and Editorial?

    posted in Pythonista read more
  • ihf

    Will the decision by Google to block sign-ins from embedded browser frameworks affect Pythonista?

    https://venturebeat.com/2019/04/18/google-will-begin-to-block-sign-ins-from-embedded-browser-frameworks-in-june/

    posted in Pythonista read more
  • ihf

    I know that there is a Dropbox Picker and there are sync scripts but has anyone done the equivalent for Box or any other cloud storage provider?

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!