When running
(defun my/run-python ()
(interactive)
(let ((buf (current-buffer)))
(with-current-buffer buf
(save-mark-and-excursion
(run-python (python-shell-calculate-command) nil nil)
)
))
)
I cannot hide *Python* from showing. It looks like show arg is ignored as evidenced from Open buffer created by run-python in the current window
(defun run-python (&optional cmd dedicated show)
I even tried using save-mark-and-excursion as a work-around but to no avail.
And debug-on-entry for python-shell-make-comint shows a compiled function

Using Emacs 27.1