>
> Look correct?

I will answer that after you try running it.


On Friday, August 19, 2016 at 6:19:33 PM UTC-4, Pigskin Ablanket wrote:
>
> Thanks for providing me so much help today - much appreciated.
>
> I copied the properties right here for folder Julia  which is where the 
> code file is located:
> C:\Users\JHerron\Documents\Documents\Personal\DFS\NHL
>
> Interesting that it didnt bring it over as My_Documents.
>
> Based on this, I would believe the command needs to be:
> include("C:\\Users\\JHerron\\Documents\\Documents\\
> Personal\\DFS\\NHL\\Julia\\code_for_Github.jl")
>
> Look correct?
>
> I made the changes to the paths in the file as well....
>
> "C:\\Users\\JHerron\\Documents\\Documents\\Personal\\DFS\\NHL\\Julia\\example_skaters.csv"
>
> 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").
>>>>>>
>>>>>
>>>>

Reply via email to