How to work with pure python file (.py)

Another option is to open the .py files in JupyterLab in the code editor. You can run snippets from the files interactively in an associated console.

Best practices of course depends on what you are trying to do with them.

2 Likes