10-24-2019, 07:58 AM
(10-24-2019, 12:20 AM)Ofnuts Wrote: Known bug... See the two possible work-arounds in the bug report comments. You can also use add_layer() which is deprecated but still works.Thanks again!
PS: have a look at os.path.splitext()
When attempting my second plugin (and learning in the process) I would rather suspect myself--not a bug in the code...
And I just split the path much like I used to do in javascript some 20 years ago--beginning before there was a reliable W3 DOM.
Query: should one always try to import a dedicated module (when available) instead of using more basic methods?
I understand that to be the C approach, but--is it really more efficient for a such simple task as in my example?
Many thanks--hope not to become too great a bore!