omz:forum

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

    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 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    maxelon

    @maxelon

    0
    Reputation
    300
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    maxelon Unfollow Follow

    Latest posts made by maxelon

    • RE: ModuleNotFoundError when run from External Files

      @cvp thanks. That fixed things. I had been trying with the individual files in the External Files area, but once I placed the whole folder in External Files, everything works, even with the ‘dummy.py’ name. Much appreciated.

      posted in Pythonista
      maxelon
      maxelon
    • RE: ModuleNotFoundError when run from External Files

      Definitely no upper case and in the same folder, and it does works from my Mac. I can also make it work from Pythonista’s iCloud Script Library area, just not from a folder accessed by External Files.

      posted in Pythonista
      maxelon
      maxelon
    • ModuleNotFoundError when run from External Files

      If I try and run programs from an external file, it gives me a ModuleNotFoundError, even though the module is in the same folder and it runs perfectly from my Mac. For example,

      File 1: (dummy.py) has this line:
      print('Hello')

      File 2: (dummy2.py) has this line:
      import dummy

      When I run File 2, on my Mac I get 'Hello' printed. On Pythonista, I get ModuleNotfoundError.

      Can someone help me understand what is going on?

      posted in Pythonista
      maxelon
      maxelon