@thecesrom.git has a set of Python "stubs" that you can import to a modern Python editor corresponding to the system functions:
You will probably still have to manually import systemin your editor to convince it things are in scope. You don't want import system to end up in your final script, though it's not really catastrophic if it does.