On Tuesday, February 17, 2015 at 9:51:21 AM UTC-6, Michael Bullman wrote:
>
> Hi all,
>
> sorry if this is simple question. But I'm used to using python's open()
> file function which will create a file if the file does not already exist.
> Does this functionality exist in julia and I just messed up something? Or
> is this missing and I should create my textfiles before hand?
>
Is the file being opened for writing?
fh = open("myfile.txt", "w")
Without the "w", the file will be read-only, and if it doesn't exist, that
won't work.
For more details, type `?open` at the Julia prompt.
Patrick