Accessing files and doing operations over them is one of the most basic operations, and one can achieve the desired results by having the right knowledge about functions that interact with the filesystem. Given here are some of the most useful functions, along with some examples.
- homedir() and joinpath() functions: Julia is platform independent. This means that it runs on any platform without any hiccups and you can easily make a script which is cross-platform and can be used by everyone:
That being said, how to handle the different conventions while using directories and paths across different operating systems? This question is easily addressed by the two functions homedir and joinpath. Have a look at the following ...