Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stumped again - help, please?
#3
(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.

PS: have a look at os.path.splitext()
Thanks again! 
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!
Reply


Messages In This Thread
Stumped again - help, please? - by carmen - 10-23-2019, 11:16 PM
RE: Stumped again - help, please? - by Ofnuts - 10-24-2019, 12:20 AM
RE: Stumped again - help, please? - by carmen - 10-24-2019, 07:58 AM
RE: Stumped again - help, please? - by Ofnuts - 10-24-2019, 09:41 AM
RE: Stumped again - help, please? - by carmen - 10-24-2019, 10:26 AM

Forum Jump: