omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. Niklas
    3. Topics

    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 8
    • Posts 23
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Niklas

    • Niklas

      Converting images to webp or jpeg2000 in Pythonista
      Pythonista • • Niklas

      27
      0
      Votes
      27
      Posts
      7108
      Views

      mikael

      @cvp, nice try, no bonus.

    • Niklas

      (Copy and) paste not working in Pythonista
      Pythonista • • Niklas

      4
      0
      Votes
      4
      Posts
      1677
      Views

      soydepr

      No issues here with the magic kb

    • Niklas

      Easy way to switch keys and values in Python dictionary
      Pythonista • • Niklas

      4
      0
      Votes
      4
      Posts
      1926
      Views

      mikael

      @Niklas, ”why can’t I reverse lookup a dict?” Is probably something every Python coder has asked at one point, but the language has no such concept.

      If you have a largish dict with lot of additions and reverse lookups, you might not want to reverse the whole dict every time, in which case something like this might be useful.

    • Niklas

      Possible to select multiple images in ”dialogs.pick_document”?
      Pythonista • • Niklas

      3
      0
      Votes
      3
      Posts
      1399
      Views

      Niklas

      Thanks! That looks promissing. I will try it out. 🙂

    • Niklas

      Replacing place holder with variable content using replace
      Pythonista • • Niklas

      4
      0
      Votes
      4
      Posts
      1571
      Views

      Niklas

      Thank you, that was very helpful! 😀 👍🏻

    • Niklas

      Natural sorting of values in nested dictionary
      Pythonista • • Niklas

      8
      0
      Votes
      8
      Posts
      3405
      Views

      talasnaly

      I like that your solution use the “sv_runinskr_trim” values. However, it seems that it sorts on numbers only. Since all of my values contain letters first, not just M, Sö, and U, as in the example, I also want them sorted on the letters. Therefore your solution will not work in my particular case. I like your variable naming skills, though. dqfansurvey

    • Niklas

      MD links from URL:s in document with rest of text intact
      Editorial • • Niklas

      6
      0
      Votes
      6
      Posts
      3446
      Views

      Niklas

      Yes, that's exactly what I wanted. Thank you very much for your help! :-)

    • Niklas

      Workflow for creating markdown links of all URL:s in document
      Editorial • • Niklas

      3
      0
      Votes
      3
      Posts
      2117
      Views

      Niklas

      Wow, thank you! That's exactly what I was after. It created 300 links in just a couple of minutes. :-D

      Best regards, Niklas