omz:forum

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

    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 0
    • Followers 0
    • Topics 9
    • Posts 38
    • Best 0
    • Controversial 0
    • Groups 0

    shtek

    @shtek

    0
    Reputation
    1267
    Profile views
    38
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    shtek Unfollow Follow

    Latest posts made by shtek

    • RE: How to fix 'UnicodeDecodeError' (ascii codec can't decode byte 0xc2) error when installing module from StaSH

      very useful

      why not merged yet?

      it's utf8 everywhere, why stick to python 2

      posted in Pythonista
      shtek
      shtek
    • RE: stash ipad error:cannot close history panel

      perfect. thank you

      posted in Pythonista
      shtek
      shtek
    • stash ipad error:cannot close history panel

      hi, I just tried stash on my old iPadPro

      I saw some toolbar icons on top of the keyboard.

      after I clicked that ‘H’ icon, it showed a history panel on right top corner screen.

      but then, I found no way to close this history panel,
      and anywhere else except this panel is unclickable,
      the only way to exit is double Home to kill this App.

      then I checked this on iPhone, I found there’s a close X icon in top left corner of the history panel, which I couldn’t find in iPad.

      known issue?

      posted in Pythonista
      shtek
      shtek
    • found an interesting project pystore at http://tieba.baidu.com/pythonista

      a pythonista store to automatic set scripts into Today widget menu

      interested?

      http://tieba.baidu.com/pythonista

      some scripts are copied from here

      download: https://pan.baidu.com/s/1nxem0G4imARqrDQP_GPQLw
      password: 4aqs

      1

      2

      3

      posted in Pythonista
      shtek
      shtek
    • RE: hi, the App always crash, what to do?

      @JonB said:

      in settings app, go to pythonista, and try enabling safemode.

      if that doesnt work, you can try typing pythonista:// into safari.

      barring that, try an uninstall/reinstall

      thank you. I didn't know that there's a safemode.

      before seeing this, I found that I can use this App from share extension console,
      and then I deleted last edited file, which contains only two lines:

      import contacts
      groups = contacts.get_all_groups()
      

      and then the App works again.

      the strange thing is that these lines are normal script lines.
      now I add back these two lines it still works.

      something very strange mush happened.

      posted in Pythonista
      shtek
      shtek
    • hi, the App always crash, what to do?

      hi, why this App always crash? and what should I do to make it run again?

      click this App, it crashed after a flash.

      again and again.

      double tap Home button and close the App, still same problem.

      tried reboot my iPhone, still same problem.

      what should I do?

      it's the latest version 3.2 in iPhone 7

      posted in Pythonista
      shtek
      shtek
    • RE: Learn Python the Hard Way with Pythonista

      hi, I just copied your code, and it works properly after providing arguments.

      only that I can only "hit RETURN to continue",
      and I don't know how to press "CTRL-C" on iOS keyboard.

      posted in Pythonista
      shtek
      shtek
    • RE: after latest update, old script doesn't work any more

      ok, no need to figure out why now,

      I just deleted this App, and re-downloaded it.
      now it works. all those strange errors are gone.
      the simplest solution.

      although all scripts are lost, those're all for fun, nothing important.

      posted in Pythonista
      shtek
      shtek
    • RE: after latest update, old script doesn't work any more

      even a simple test.py with only one line:
      import appex

      still error: AttributeError module 'enum' has no attribute 'IntFlag'"

      posted in Pythonista
      shtek
      shtek
    • RE: after latest update, old script doesn't work any more

      all scripts. include those examples.

      if long press RUN button and select python 2.7, error is "TypeError super() takes at least 1argument (0 given)"
      if long press RUN button and select python 3.6, error is "AttributeError module 'enum' has no attribute 'IntFlag'"

      I know little about python. but those all examlpes all work in old version, but after update all failed. strange.

      posted in Pythonista
      shtek
      shtek