The web has a load of good Vim tutorials, covering how to use Vim and scripting tips.Here is a link to a very comprehensive online book: http://learnvimscriptthehardway.stevelosh.com
Back in the days of 1976 there was this thing. Some things never change!
If Vim requires a Python 3 version that isn't installed on your computer, get the Python 3 files (embedded release) and extract them. Add this lines in your startup code to tell Vim where to find the missing files, here Python V3.11.
set pythonthreehome=%LOCALAPPDATA%\\Programs\\Python\\Python311emb set pythonthreedll=%LOCALAPPDATA%\\Programs\\Python\\Python311emb\\python311.dll
vim9 echo ["dasdsadsa", "eee"]->copy()->map((_, line: string) => line->strcharlen())->max()