You can use the @__FILE__
macro and remove the trailing characters after the #==#<...>
. By doing something like:
notebookpath() = replace(@__FILE__, r"#==#.*" => "")
You can use the @__FILE__
macro and remove the trailing characters after the #==#<...>
. By doing something like:
notebookpath() = replace(@__FILE__, r"#==#.*" => "")