programmatic
web interface, but at a certain point of scale or complexity you may want to manage your code slightly differently, for example via an IDE or using source control on Python files.
It's very easy to modify your main.py
script so that you can import functions from files on disk. This is often useful if you have a large number of labelling functions which rely on common "helper" functions. main.py
file in your project folder, create an empty file named __init__.py
and another file (for example, custom_functions.py
) which will hold your custom code. Afterwards, your project directory should look like this: main.py
project-launching script: programmatic
UI: