omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. JiangShenLi

    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.


    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 7
    • Best 1
    • Controversial 0
    • Groups 0

    JiangShenLi

    @JiangShenLi

    1
    Reputation
    618
    Profile views
    7
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    JiangShenLi Unfollow Follow

    Best posts made by JiangShenLi

    • RE: Access to Pythonista beta

      Because I have FileBrowser on my iPad Pro, I'm able to save scripts to DropBox. It even keeps track of the directory I saved to.

      I'm still looking for a better way to get files and data into Pythonista. Cut-n-paste of large arrays in a text file is very tedious.

      posted in Pythonista
      JiangShenLi
      JiangShenLi

    Latest posts made by JiangShenLi

    • RE: Pythonista crash on iPadPro while using external keyboard arrow keys.

      Cool news: I've gone as far as stacking, such as a vector (arrow on top) with a dot, to represent the time derivative of a vector. It's working great.

      Only thing bugging me is having searched some Unicode tables, I can't find a full set of upper-case subscripts. The book I'm coding examples from uses a ton of them. Even a superscript 2 where I could represent a squared variable isn't in the tables I found.

      posted in Pythonista
      JiangShenLi
      JiangShenLi
    • RE: Access to Pythonista beta

      I finally caught on to the "Run Pythonista Script" widget when called from another app. FileBrowser has been a big help with exporting from Pythonista. I can select a group of .py files, using the Save to Files widget, and my past use of FileManager as the receiver makes it so that it immediately brings up the DropBox folder I used previously.

      posted in Pythonista
      JiangShenLi
      JiangShenLi
    • RE: Pythonista crash on iPadPro while using external keyboard arrow keys.

      @JonB That worked. I'll give more of that a try. Thanks.

      posted in Pythonista
      JiangShenLi
      JiangShenLi
    • RE: Access to Pythonista beta

      Because I have FileBrowser on my iPad Pro, I'm able to save scripts to DropBox. It even keeps track of the directory I saved to.

      I'm still looking for a better way to get files and data into Pythonista. Cut-n-paste of large arrays in a text file is very tedious.

      posted in Pythonista
      JiangShenLi
      JiangShenLi
    • RE: Pythonista crash on iPadPro while using external keyboard arrow keys.

      @omz No jailbreaks. On the Unicode question: Yesterday I actually tried using some astronautical body symbols, like those representing Earth, Venus, Neptune, etc. But I got "illegal character in identifier", or something similar. Though I am able to see them and use them in comments. I do have many Greek characters from the iOS Greek keyboard in variable names. They work just fine.

      The code I'm writing needs to distinguish between scalars, vectors, matrices, derivatives, second derivatives. In books it's normally done with bold type, arrow over the character, etc. Especially then distinguishing between a vector and its scalar magnitude. So I've had to come up with a naming convention to mimic what typesetting does in the books.

      posted in Pythonista
      JiangShenLi
      JiangShenLi
    • RE: Pythonista crash on iPadPro while using external keyboard arrow keys.

      As far as special characters: I had copied some greek symbols from Safari. Now I'm only using those from the iOS Greek keyboard. (I'm using Greek because I'm coding routines from an astrodynamics book that uses lots of math-greek symbols, and the code is easier to check against the math by making it look similar.)

      I'm forcing a save after some tedious coding by backing out to the file navigator and into the file again. Much easier that having to re-enter code that was lost to the crash.

      Also, I wondered if the crash was happening due to the device being low on memory. So I rebooted, and haven't seen the crash since; though I've also taken the precautions I mentioned before.

      It would be helpful if the app showed a 'file changed' mark between auto-saves. As things are, I'm forcing the save so I don't lose my work.

      Thanks all for the responses. :-)

      posted in Pythonista
      JiangShenLi
      JiangShenLi
    • Pythonista crash on iPadPro while using external keyboard arrow keys.

      Pythonista crashes often when while editing from my Bluetooth keyboard, I move the cursor with my keyboard arrow keys; such as up or down. By crash meaning Pythonista exits to the home screen.

      The most frustrating result is I can lose a significant amount of code entry, so I have to redo lots of typing. I've started the habit of navigating away from the file and back in to cause Pythonista to save my edits.

      So, a couple of questions:

      1. How do I prevent this crash?
      2. How can I direct Pythonista to save my edits, so the next crash isn't so painful in terms of retyping what was lost?
      posted in Pythonista
      JiangShenLi
      JiangShenLi