Thank you @dgelessus, i will try your pointers and report back.

@Webmaster4o I haven't created anything that fancy. I recently read the “The Art of LEGO MINDSTORMS EV3 Programming (Full Color)” book by Terry Griffin and tried to recreate the PID controlled line follower (chapter 19) in Python instead of in the Mindstorms environment. I have uploaded the programs and a more detailed description in my new github account.