How to batch exporting code from Python nodes?

Found this issues … seems to work as you hinted at only for IronPythin node, not Python3. I’ll link the topic to past post, with more info
Rhino 8 Python Grasshopper Component.Code Property - Grasshopper Developer - McNeel Forum