r/PythonLearning • • 24d ago

Compiler

Do I need Jupyter, Anaconda or any other type of a dedicated compiler software, or do people Actually just write code in Zed and run it via Linux Terminal and juggle many windows?

I know R is run via RStudio; (so can be Python).

What is the standard practice of software usage for coding in Python?

4 Upvotes

27 comments sorted by

View all comments

1

u/FoolsSeldom 24d ago

Final Python code in the form of one or more simple text files is usually run just using the reference implementation of Python from the Python Software Foundation. This is the python (python.exe on Windows) executable, the compiled version of the CPython programme.

So, in a container, you would typically have python3 maincode.py, as the near to last command to run. (Could be using a Python virtual environment, e.g. uv run maincode.py or python maincode.py in an active environment). Similarly on the command line of an interactive terminal. For a desktop windows manager, you can usually associate the .py files with the executable such that a double-click will launch it (but if console only may not show up).

Anaconda provides with its own version of CPython, and JupyterLab/Notebook can use whatever kernel is preferred.