Thank Edward, again you solve my problem : So instead of g.os_path_abspath(c.fileName) that I was wrongly using since it kind of worked I have to use : g.os_path_dirname(c.fileName*()*)
I fact, I didn't understand what was this strange *c.fileName *comander followed by a string that *g.os_path_dirname *was kind of able to understand *...*Thanks for your help -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.