• shtek

    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 read more
  • shtek

    @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 read more
  • shtek

    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 read more
  • shtek

    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 read more
  • shtek

    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 read more
  • shtek

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

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

    posted in Pythonista read more
  • shtek

    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 read more
  • shtek

    why not keep compatibility´╝č

    posted in Pythonista read more
  • shtek

    same as pc.

    posted in Pythonista read more
  • shtek

    maybe re replace \n if not \n before or after it
    http://codepad.org/AoDlfeVC
    [

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!