I made my own Python script to export my POUs etc. as text files for git management, but a few weeks ago I found a user on Github who has an even better version than mine!https://github.com/18thCentury/CodeSys
I pulled the two files from here, export.py and load.py, and couldn't run either one successfully. It looked like load.py was what I wanted, as it had the project name in it. This failed on an error right at the beginning:$ python load.py
File "load.py", line 13
IndentationError: expected an indented block
Did you have to do anything to fix up this code, or did it run by just changing the hardcoded path names? Maybe I have to use Python 2 instead of the Python 3 I've installed?
Thanks for the help!