• marcus67

    @omz Getting back to the question of @polymerchm : Is it possible to run python3 in Xcode? Using a she-bang line like "#! python3" does not work. sys.version still returns "2.7.5 (default, Feb 15 2016, 15:15:36)". Thanks!

    posted in Pythonista read more
  • marcus67

    After a long pause I finally started to work on my Pythonista app Rechtschreibung (see https://github.com/marcus67/rechtschreibung) again. I would like to publish it in the AppStore. As a first step I used the Xcode template to run the Python code in the emulator. I only worked partially. As I found out all the errors were due to the fact that I try to write files located in the bundle directory structure of my app (which is a big no-no in iOS). Instead I have to use the so-called "DocumentDirectory" which is provided by some library functions in Objective C (see e.g. https://stackoverflow.com/questions/4129576/writing-a-string-to-a-text-file-using-xcode-for-iphone-dev). The question is for me how to access these library functions in Pythonista. I would guess that objc_util might help, but none of the identifiers mentioned in the stackoverflow example seem to correspond to Objective C classes. Does anybody have an idea as to how to do this? Thanks a lot!

    posted in Pythonista read more
  • marcus67

    Hi there!
    I've not been working with Pythonsta for over a year now (shame on me!) and coming back noticed that there seems to be a change in the way argv arguments are passed to shortcut scripts. Some of my shortcuts do not work anymore because the path of the current editor script from which I call the shortcut is added as argument. Is there a way to suppress this behaviour (which is very useful in other contexts, I have to admit)? For some of my shortcuts I need to have full controll over the arguments. Thanks!

    posted in Pythonista read more
  • marcus67

    @MartinPacker I haven't found anything. XSLT 2.0 is hard to come by, even outside Python. There's only a small number of implementations.

    posted in Pythonista read more
  • marcus67

    I would throw in module lxmlwhich would give us enhanced XML support including XSLT 1.0 transformations.

    posted in Pythonista read more
  • marcus67

    @omz: That's what the title bar looks like now! :-)

    corrected title bar

    posted in Pythonista read more
  • marcus67

    @omz Thanks a lot for your help! The latest change did it for me.

    posted in Pythonista read more
  • marcus67

    @mikael pyzipista should be optional. If it still does not work after upgrading easywebdav I will have to look into this.

    posted in Pythonista read more
  • marcus67

    @athros Sorry, my fault. You will need to get the latest version of easywebdav (https://github.com/marcus67/easywebdav), too, and install it into your site-packages. Better restart Pythonista to make the changes visible.

    posted in Pythonista read more
  • marcus67

    @mikael And it has just been ported to Pythonista 3.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!