omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. Kluesi
    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 10
    • Posts 15
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by Kluesi

    • Kluesi

      Pythonista 3 with iCloud. Can't sync between devices.
      Pythonista • • Kluesi

      7
      0
      Votes
      7
      Posts
      4634
      Views

      donnieh

      @mikael Understood. Thanks for the useful and helpful information!

    • Kluesi

      Problem with list_dialog in combination with an already presented view
      Pythonista • listdialog • • Kluesi

      4
      0
      Votes
      4
      Posts
      1770
      Views

      cvp

      @Kluesi that's how dialogs.xxxxx_dialog does...

    • Kluesi

      Working with pictures
      Pythonista • • Kluesi

      4
      0
      Votes
      4
      Posts
      2281
      Views

      enceladus

      Moving a view and changing size based on segmentedcontrol selection https://gist.github.com/357b2aef8c09a15289c6193597035861

    • Kluesi

      Fade in and fade out problem
      Pythonista • • Kluesi

      4
      0
      Votes
      4
      Posts
      2856
      Views

      Kluesi

      Thanks for the answers. Now I know what is wrong. I didn't mentioned that animated() ist a kind of separate thread and the following codelines ar interpreted while animate() is running.

      Thank you

    • Kluesi

      How to print on a AirPrint and Non AirPrint Printer
      Pythonista • • Kluesi

      8
      1
      Votes
      8
      Posts
      6756
      Views

      Phuket2

      @ccc , if you follow PEP8 for this, it's horrible for selecting on mobile devices. So I guess they need PEP8-M
      But there needs to be some recognition of the changes of input devices

    • Kluesi

      How to write a list into a file?
      Pythonista • • Kluesi

      6
      0
      Votes
      6
      Posts
      4093
      Views

      dgelessus

      Of course not, you can't run it on a PC either, because I never assigned anything to mylist. ;) This wasn't meant as a working script, I only wanted to point out the differences between using repr/eval and json to store a list in a file.

    • Kluesi

      Load image problem
      Pythonista • • Kluesi

      3
      0
      Votes
      3
      Posts
      2307
      Views

      JonB

      it seems here that your problem simply may be that you are calling the image board in one spot, and self.board in another! self.board in both places will avoid issues with scope.

    • Kluesi

      Changes takes no effect in runtime.
      Pythonista • • Kluesi

      5
      0
      Votes
      5
      Posts
      3387
      Views

      dgelessus

      By the way, you shouldn't name any real module abc, because there is also a standard Python module named abc, which can be used to create abstract base classes (or ABCs). By writing your own module named abc, you make the standard abc module very hard to load, and anything that uses import abc will import your module instead of the standard one.

      I understand that your file probably isn't called abc, but naming conflicts can still be an issue. In general when you write a module it's a good idea to check if another module with the same name exists, simply by running import thing in the Python prompt. To find out where that module is located, see thing.__file__.

    • Kluesi

      How to transfer Code and UIs between different devices?
      Pythonista • • Kluesi

      2
      0
      Votes
      2
      Posts
      2227
      Views

      ccc

      You could try PackUI + email or DropboxFilePicker if you use Dropbox.

    • Kluesi

      How to create more than one UI and interact between them
      Pythonista • • Kluesi

      6
      0
      Votes
      6
      Posts
      5569
      Views

      ccc

      My recommendation is that you start with 3. above -- a single MyGame.py file that contains these three lines:

      # [ ... ] ui.load_view('login').present('sheet') # [ ... ] ui.load_view('configure').present('sheet') # [ ... ] ui.load_view('play').present('fullscreen') # [ ... ]

      This way all of your Python logic is one file which can load UI from three different .pyui files.