Julia Programming Language
"Import guard" in julia
General Usage
question
tkelman
January 16, 2017, 6:56am
4
Try something like
if PROGRAM_FILE == @__FILE__
?
1 Like
Export and run in console
show post in topic
Related topics
Topic
Replies
Views
Activity
Julia Python equivalent of __main__?
New to Julia
4
8994
June 17, 2022
Detect if running as script
General Usage
4
2033
February 5, 2018
How to import functions defined in a Julia script file without running the script itslef
General Usage
16
26833
October 30, 2017
Check if current file is "main" when debugging
New to Julia
debug
,
vscode
2
712
January 3, 2022
How to import custom module from file without include
General Usage
question
5
1338
June 22, 2022