1
$\begingroup$
import bpy
print ("something")

When I run this script nothing happens, nothing appears.

The only answers to where it prints I find are from 6 years ago.

With 2.91 It's not in the Python Console output in the Scripting tab, so where does it display its print command?

Using Windows.

$\endgroup$
2
2
$\begingroup$

Things have not changed from 6 years ago. The console is not a window that is part of the blender's user interface, but one that belongs to the operating system.

In widows

You can enable the system console from blender using the top menu's Window > Toggle System Console.

enter image description here

That will open a totally different window, with the console and all messages from python will appear there.

enter image description here


In Linux

There is no option to open a terminal window from within blender, the terminal window must be opened before and the blender program should be run from terminal.

enter image description here

On Mint/Cinnamon, the app launcher can be set to Launch in terminal. That way the terminal window is always available.

enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.