omz:forum

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

    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 2
    • Followers 1
    • Topics 21
    • Posts 97
    • Best 29
    • Controversial 0
    • Groups 0

    marcus67

    @marcus67

    43
    Reputation
    1796
    Profile views
    97
    Posts
    1
    Followers
    2
    Following
    Joined Last Online

    marcus67 Unfollow Follow

    Best posts made by marcus67

    • [Share Code] Tool to synchronize with a WebDav server

      Since I wanted to synchronize my Pythonista files with my project on GitHub I installed the iOS app "working copy" and use my little tool "gitsynchista" to move files back and forth between the local Pythonista directory tree and the WebDav server offered by "working copy".

      See https://github.com/marcus67/gitsynchista for a (still very short) ReadMe and a downloadable self-extracting Python script.

      Have fun!

      posted in Pythonista
      marcus67
      marcus67
    • RE: Wish list for next release

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

      posted in Pythonista
      marcus67
      marcus67
    • RE: Wish list for next release

      When opening (and not neccessarily modifying) pyui files the order in which the JSON is written out to file does not seem to be preserved. So, I do get changes in GIT commits that are not real changes:

      diff

      Would it possible to sort the attributes by name before streaming them to file? Thanks!

      posted in Pythonista
      marcus67
      marcus67
    • RE: [Share Code] Rechtschreibung (a little app for testing German spelling and the pitfalls thereof)

      My little app "rechtschreibung" has grown up a little bit. It has become "universal", which is to say that it works pretty well with my iPad and my iPhone using different screen layouts.

      The Readme has been extended quite a bit as well.

      Thanks to everybody who helped me along the way by answering my questions in the forum!

      screenshot

      posted in Pythonista
      marcus67
      marcus67
    • RE: How to lock the orientation in `ui.View.present()`

      @dgelessus This works. This is too embarrassing. I'm inclined to delete this thread... :-)

      posted in Pythonista
      marcus67
      marcus67
    • RE: Help with screen sizes

      iPad Air: (1024.00, 768.00)

      posted in Pythonista
      marcus67
      marcus67
    • [Share Code] pyzipista: tool to create a self-extracting Pythonista deployment file

      For my other Pythonista apps "rechtschreibung" and "gitsynchista" I have written a little tool called pyzipista to create a self-extracting Python script for deployment.

      See https://github.com/marcus67/pyzipista for a (still very short) ReadMe and the downloadable self-extracting deployment file which was generated using the app on itself.

      Have fun!

      posted in Pythonista
      marcus67
      marcus67
    • Full Control over argv in shortcuts?

      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
      marcus67
      marcus67
    • RE: Spacing of ButtonItem's

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

      corrected title bar

      posted in Pythonista
      marcus67
      marcus67
    • RE: [Share Code] gitsynchista now has pyzipista support

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

      posted in Pythonista
      marcus67
      marcus67

    Latest posts made by marcus67

    • RE: Xcode Template for Pythonista

      @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
      marcus67
      marcus67
    • Retrieving the iOS document directory

      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
      marcus67
      marcus67
    • Full Control over argv in shortcuts?

      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
      marcus67
      marcus67
    • RE: Wish list for next release

      @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
      marcus67
      marcus67
    • RE: Wish list for next release

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

      posted in Pythonista
      marcus67
      marcus67
    • RE: Spacing of ButtonItem's

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

      corrected title bar

      posted in Pythonista
      marcus67
      marcus67
    • RE: Spacing of ButtonItem's

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

      posted in Pythonista
      marcus67
      marcus67
    • RE: [Share Code] gitsynchista now has pyzipista support

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

      posted in Pythonista
      marcus67
      marcus67
    • RE: [Share Code] gitsynchista now has pyzipista support

      @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
      marcus67
      marcus67
    • RE: [Share Code] gitsynchista now has pyzipista support

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

      posted in Pythonista
      marcus67
      marcus67