Skip to content
Snippets Groups Projects

julia training slides for 2022-06-08

Merged Miroslav Kratochvil requested to merge mk-juliatraining into develop
2 files
+ 21
20
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -21,7 +21,7 @@ Distribution packages usually work well too:
# Life in REPL
```julia
user@pc $ julia
@@ -43,7 +43,7 @@ Computes the square root .....
# REPL modes
Julia interprets some additional keys to make our lifes easier:
Julia interprets some additional keys to make our life easier:
- `?`: help mode
- `;`: shell mode
@@ -54,34 +54,35 @@ Julia interprets some additional keys to make our lifes easier:
# Loading libraries, modules and packages
- Load a local file (with shared functions etc.)
# Managing packages from the package management environment
- Install a package
```julia
include("mylibrary.jl")
] add UnicodePlots
```
- Load a package, add its exports to the global namespace
- Uninstall a package
```julia
using UnicodePlots
] remove UnicodePlots
```
# Managing packages from the package management environment
# Loading libraries, modules and packages
- Install a package
- Load a local file (with shared functions etc.)
```julia
] add UnicodePlots
include("mylibrary.jl")
```
- Uninstall a package
- Load a package, add its exports to the global namespace
```julia
] remove UnicodePlots
using UnicodePlots
```
@@ -97,7 +98,7 @@ using UnicodePlots
function process_file(filename)
@info "Processing $filename..."
# ... do something ...
if error_detected
Loading