Well........Significant progress!!!! 3 Blue lines of Pre-compiling things before an Error:
Error: LoadError: syntax: "\" is not a unary operator in include at boot.jl:261 in include_from_node1 at loading.jl:320 while loading C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL\Julia\code_for_github.jl. in expression starting on line 38. Picture of error posted On Friday, August 19, 2016 at 6:01:50 PM UTC-4, Jeffrey Sarnoff wrote: > > two things, > you wrote: > > > include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl") > and I wonder, do you mean ! > ! > > > include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS\\NHL\\Julia\\code_for_Github.jl") > or > > > include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl") > > when you go to the directory where you see the file: code_for_Github.jl > and you put the mouse on that file and right-click to see the popup menu > and select the last thing "properties" there is something that says > Location,if does it not exactly match: > C:/Users/JHerron/My_Documents/My_Documents/Personal/DFS/NHL/Julia > then you have miscopied it, if it looks like this > C:/Users/JHerron/My_Documents/My_Documents_Personal/DFS_NHL/Julia > then you should be using (and fix the paths in the code_for_Github.jl > file, too) > > > include("C:\\Users\\JHerron\\My_Documents\\My_Documents_Personal\\DFS_NHL\\Julia\\code_for_Github.jl") > > --- > > > On Friday, August 19, 2016 at 5:12:41 PM UTC-4, Pigskin Ablanket wrote: >> >> Sadly, I get the following response from >> include("C:\\Users\\JHerron\\My_Documents\\My_Documents/Personal\\DFS/NHL\\Julia/code_for_Github.jl") >> >> *ERROR: could not copen file >> C:\Users\JHerron\My_Documents\My_Documents\Personal\DFS\NHL\Julia\code_for_github.jl* >> *in include at boot.jl:261* >> *in include_from_node1 at loading.jl:320* >> >> On Friday, August 19, 2016 at 4:49:16 PM UTC-4, Jeffrey Sarnoff wrote: >>> >>> the "i" in include should be lower case >>> >>> On Fri, Aug 19, 2016 at 3:17 PM, Pigskin Ablanket <pigskin...@gmail.com> >>> wrote: >>> >>>> I tried Include("C:Users\\JHerron\\My_Documents\\My_Documents/ >>>> Personal\\DFS/NHL\\Julia/code_for_Github.jl") >>>> (I hope that was what you meant to do). >>>> >>>> I got: *ERROR: UndefVarError: Include not defined* >>>> >>>> On Friday, August 19, 2016 at 1:58:30 PM UTC-4, Steven G. Johnson wrote: >>>> >>>>> >>>>> >>>>> On Friday, August 19, 2016 at 1:47:59 PM UTC-4, Pigskin Ablanket wrote: >>>>>> >>>>>> Sorry if Im not following - I tried: >>>>>> >>>>>> Include("C:\Users\JHerron\My_Documents\My_Documents/ >>>>>> Personal\DFS/NHL\Julia/code_for_Github.jl") aas shown below and got >>>>>> *ERROR: >>>>>> syntax: invalid escape sequence* >>>>>> >>>>> >>>>> Backslashes have to be escsped in strings, like in many computer >>>>> languages: change \ to \\ in the string. >>>>> >>>>> However, usually it is better to just run Julia from within the path >>>>> that you want rather than having to type absolute paths all of the time >>>>> in >>>>> the REPL. >>>>> >>>>> (In the long run, you usually do large-scale code development in a >>>>> module in the standard module search path, so you can just type "using >>>>> Foo".) >>>>> >>>>> (If you call include("foo.jl") from another file bar.jl, the path of >>>>> foo.jl is automatically relative to the path of bar.jl, so again you >>>>> neither need nor want absolute paths.) >>>>> >>>>> For interactive code development where I need more than a few lines of >>>>> code, I usually use a Jupyter notebook (google "IJulia"). >>>>> >>>> >>>