I wrote a simple command-line tool to flash python code to Codey and you can find more details here: https://github.com/ernestoferro/flash-codey-rocky.
The main motivation was that I much rather use Vim and get my stdout output in my terminal than use the mblock 5 ide. I couldn’t find a tool to do this so I wrote one. It’s quite minimal and low-effort, but if you are like me you’ll love this.
I only tried this on Linux. It should work on Windows but you’ll have to change the serial port file from /dev/ttyUSB0 to COM1 (or similar).
I also found that there is a similar tool after all. It’s mentioned here: https://makeblock-micropython-api.readthedocs.io/en/latest/tutorial/add_files.html. I haven’t tried it but it looks like it should work as well.