I have the following vimscript: it contains a vimscript function which executes a python code thanks to python << EOF:function! Test(myArgument)python << EOFdef test(myArgument):    print My argument  + myArgumenttest(foo)EOFendfunctionHow can I use the argument of the vimscript function a:myArgument and pass it as argument to my python function (instead of foo)?
How to use the argument of a vimscript function in an inner python function?
vimscript;vimscript python
You can use the vim package inside python, you should be able to gain access to vim:function! Test(myArgument)    python << EOFimport vimdef test(myArgument):    print My argument  + myArgumenttest(vim.eval('a:myArgument'))EOFendfunctionYou can read about the python integration at :h python and about this particular feature at :h python-eval.