%%pyd import std.stdio; @pdef!() void zemain(string[] args) { writefln("hello"); } zemain(["s"]) "hello" appears in console window (not the notebook).
%%pyd
import std.stdio;
@PDEF!() void zemain(string[] args)
{
writefln("hello");
}
zemain(["s"])
"hello" appears in console window (not the notebook).