Line loads creation via python

Ok, I think I got it. Thanks again for help.