omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Organising code / multiple files

    Pythonista
    3
    3
    2252
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • martyhimself
      martyhimself last edited by

      Hi,

      I purchased Pythonista at the weekend and I had a quick play about with it. I must say I am very impressed!

      I have a question which I'm not sure if it is a Python or Pythonista question- I'm sort of a Python newbie so I apologise in advance.

      Does Pythonista support organising and working on code into multiple files, or is it really only for running a single file script? How would I go about working with and organising multiple files at the same time? Do I create my own module in the site packages folder?

      Thanks!

      Martijn

      1 Reply Last reply Reply Quote 0
      • shtek
        shtek last edited by

        same as pc.

        1 Reply Last reply Reply Quote 0
        • omz
          omz last edited by

          It usually makes sense to organize modules in multiple files, but you should typically not add your own modules to site-packages. This is mostly meant for third-party packages that you don't intend to modify.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors