Organising code / multiple files
martyhimself last edited by
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?
shtek last edited by
same as pc.
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.