To refer to the current file in Vim, you can use %.
%
So to run the current file in python (to test it out)
!python3 % # runs the current file in python3