11---
2- title : 1.7 Optional Exercises
2+ title : 1.7 Optional Exercises for Section 1
33start : no
44teaching : 0
55exercises : 45
@@ -13,25 +13,23 @@ exercises: 45
1313
1414:::::::::::::::::::::::::::::::::::::::: questions
1515
16- - How can I further fine-tune my coding environment?
16+ - How can I further finetune my coding environment?
1717
1818::::::::::::::::::::::::::::::::::::::::::::::::::
1919
20- This episode has some optional exercises for Section 1.
20+ This episode holds some optional exercises for section 1.
2121The exercises have an explorative nature, so feel free to go off in any direction that interests you.
2222You will be looking at some tools that either complement or are alternatives to those already introduced.
2323Even if you find something that you really like,
24- for the sake of following through with the course, we still recommend sticking with the tools that we introduced prior to this episode
25- and then switching to something else afterwards.
24+ we still recommend sticking with the tools that were introduced prior to this episode when you move onto other sections of the course.
2625
27- ::::::::::::::::::::::::::::::::::::::: discussion
26+ ::::::::::::::::::::::::::::::::::::::: challenge
2827
2928## Exercise: Apply to your own project(s)
3029
3130Apply what you learned in this section to your own project(s).
32- This is the time to ask any questions of your instructors, helpers or fellow learners.
33- Everyone has different preferences for tooling, so getting input from experienced developers is a great opportunity to learn new things
34- or different perspectives.
31+ This is the time to ask any questions to your instructors or helpers.
32+ Everyone has different preferences for tooling, so getting the input of experienced developers is a great opportunity.
3533
3634::::::::::::::::::::::::::::::::::::::::::::::::::
3735
@@ -42,17 +40,17 @@ or different perspectives.
4240Install different Integrated Development Environments (IDEs) and test them out.
4341Which one do you like the most and why?
4442
45- Some suggestions to try:
43+ You can try:
4644
4745- [ Visual Studio Code] ( https://code.visualstudio.com/ ) , with setup instructions [ in the Extras of this course] ( ../learners/vscode.md )
4846- [ Atom] ( https://atom-editor.cc/ )
4947- [ Sublime Text] ( https://www.sublimetext.com/ )
5048- [ RStudio] ( https://posit.co/download/rstudio-desktop/ )
5149
52- When compared to PyCharm, the IDEs listed above are advanced source code editors capable of functioning as IDEs.
53- To function as an IDE, you have to manually install plugins for these tools to obtain more advanced features -
50+ Technically, compared to PyCharm, the 'IDEs' listed above are source code editors capable of functioning as an IDE
51+ (with RStudio as an example).
52+ To function as an IDE, you have to manually install plugins for more powerful features
5453such as support for a specific programming language or unit testing.
55-
5654What do you prefer, a lot of tooling out of the box or a lightweight editor with optional extensions?
5755
5856If you want an even more lightweight setup you can try out these configurable source code editors:
@@ -64,27 +62,28 @@ If you want an even more lightweight setup you can try out these configurable so
6462
6563::::::::::::::::::::::::::::::::::::::: challenge
6664
67- ## Exercise: Customise the command line tool
65+ ## Exercise: Customize the command line
6866
69- You can customise the command line tool or use alternatives to ` bash ` , such as:
67+ You can customize the command line or use alternatives to ` bash ` to make yourself more productive.
7068
71- - [ Bash Prompt Generator] ( https://bash-prompt-generator.org/ ) - it lets you try out different prompts,
69+ - Try out [ Bash Prompt Generator] ( https://bash-prompt-generator.org/ ) , it lets you try out different prompts,
7270 depending on the information you want displayed.
73- - [ z, a simple tool to more quickly move around directories] ( https://github.com/rupa/z ) .
74- - [ Z shell (zsh)] ( https://zsh.sourceforge.io/ ) , a shell designed for interactive use.
75- - [ Oh My ZSH] ( https://ohmyz.sh/ ) , which is a theming and package manager of the ` zsh ` terminal.
76- - [ fish] ( https://fishshell.com/ ) , a smart and user-friendly command line shell.
71+ - Try out [ z, a simple tool to more quickly move around directories] ( https://github.com/rupa/z ) .
72+ - Try out [ Z shell (zsh)] ( https://zsh.sourceforge.io/ ) , a shell designed for interactive use.
73+ - Try out [ Oh My ZSH] ( https://ohmyz.sh/ ) , which is a theming and package manager of the ` zsh ` terminal.
74+ - Try out [ fish] ( https://fishshell.com/ ) , a smart and user-friendly command line shell.
7775
7876::::::::::::::::::::::::::::::::::::::::::::::::::
7977
8078::::::::::::::::::::::::::::::::::::::: challenge
8179
8280## Exercise: Try out different virtual environment managers
8381
84- So far we have used ` venv ` , but there are other virtual environment managers for Python:
82+ So far we used ` venv ` , but there are other virtual environment managers for Python:
8583
86- - [ Poetry] ( https://python-poetry.org/ ) , which we will explore using in [ Section 4] ( 43-software-release.md ) .
87- - ` conda ` , which is part of [ Anaconda Distribution] ( https://www.anaconda.com/download ) .
84+ - [ Poetry] ( https://python-poetry.org/ ) , which we will explore using in
85+ [ Section 4] ( 43-software-release.md ) .
86+ - conda, which is part of [ Anaconda Distribution)] ( https://www.anaconda.com/download ) .
8887
8988Anaconda is widely used in academia, but the current license does not allow use for research in most circumstances.
9089An open-source alternative is [ mini-forge] ( https://github.com/conda-forge/miniforge ) .
@@ -93,11 +92,11 @@ An open-source alternative is [mini-forge](https://github.com/conda-forge/minifo
9392
9493::::::::::::::::::::::::::::::::::::::: challenge
9594
96- ## Exercise: Customise ` pylint `
97-
98- Tell ` pylint ` to accept the maximum line length of 100 characters instead of the default 80.
95+ ## Exercise: Customize ` pylint `
9996
100- Hint: find out different ways in which you can configure ` pylint ` (e.g. via ` pylint ` command line interface or its configuration file).
97+ You decide to change the max line length of your project to 100 instead of the default 80.
98+ Find out how you can configure pylint. You can first try to use the pylint command line interface,
99+ but also play with adding a configuration file that pylint reads in.
101100
102101::::::::::::::: solution
103102
@@ -109,7 +108,7 @@ Specify the max line length as an argument: `pylint --max-line-length=100`
109108
110109### Using a configuration file
111110
112- You can create a file ` .pylintrc ` in the root of your project folder to overwrite ` pylint ` settings:
111+ You can create a file ` .pylintrc ` in the root of your project folder to overwrite pylint settings:
113112
114113```
115114[FORMAT]
0 commit comments