Re: [julia-users] Current file name

2016-09-27 Thread Tsur Herman
Tnx On Tuesday, September 27, 2016 at 10:58:47 PM UTC+3, Yichao Yu wrote: > > On Tue, Sep 27, 2016 at 3:56 PM, Tsur Herman > wrote: > > is there a way to know in run-time from which file the code that is > > currently executing comes from? > > @__FILE__ gives you the

[julia-users] Current file name

2016-09-27 Thread Tsur Herman
is there a way to know in run-time from which file the code that is currently executing comes from?

Re: [julia-users] Current file name

2016-09-27 Thread Yichao Yu
On Tue, Sep 27, 2016 at 3:56 PM, Tsur Herman wrote: > is there a way to know in run-time from which file the code that is > currently executing comes from? @__FILE__ gives you the current file name Base.source_path() gives you the current toplevel file. >