|
1 |
| -## Welcome to GitHub Pages |
2 |
| - |
3 |
| -You can use the [editor on GitHub](https://github.com/scriptotek/programming-for-lawyers/edit/master/README.md) to maintain and preview the content for your website in Markdown files. |
4 |
| - |
5 |
| -Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files. |
6 |
| - |
7 |
| -### Markdown |
8 |
| - |
9 |
| -Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for |
10 |
| - |
11 |
| -```markdown |
12 |
| -Syntax highlighted code block |
13 |
| - |
14 |
| -# Header 1 |
15 |
| -## Header 2 |
16 |
| -### Header 3 |
17 |
| - |
18 |
| -- Bulleted |
19 |
| -- List |
20 |
| - |
21 |
| -1. Numbered |
22 |
| -2. List |
23 |
| - |
24 |
| -**Bold** and _Italic_ and `Code` text |
25 |
| - |
26 |
| -[Link](url) and  |
27 |
| -``` |
28 |
| - |
29 |
| -For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/). |
30 |
| - |
31 |
| -### Jekyll Themes |
32 |
| - |
33 |
| -Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/scriptotek/programming-for-lawyers/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file. |
34 |
| - |
35 |
| -### Support or Contact |
36 |
| - |
37 |
| -Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out. |
| 1 | +# Programming with Python |
| 2 | + |
| 3 | +There are many reasons to learn programming, for instance it is fun. Programming |
| 4 | +is also a good way to automate tedious or repetitive work, which can save you days or weeks of time. |
| 5 | +A good way to learn how to program is to learn how to do something useful. |
| 6 | +In this course, you will get started on doing empirical research on case law. |
| 7 | + |
| 8 | +Computer programs are a bit like LEGO, they are made up of lots |
| 9 | +of tiny parts. First, we’ll look at some of the parts, and study |
| 10 | +how they work. Then we’ll put the parts together to make a larger |
| 11 | +program that actually does something useful. Some of the examples |
| 12 | +might be a bit silly and made up. However, when you first learned |
| 13 | +to read, you probably didn’t start out with Shakespeare. Today |
| 14 | +you are learning a new language. |
| 15 | + |
| 16 | +We recommend using [Jupyter Notebook](https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Notebook%20Basics.html) |
| 17 | +at the University of Oslo [JupyterHub](https://jupyterhub.uio.no/). |
| 18 | + |
| 19 | +## Lessons |
| 20 | + |
| 21 | +[The basics: variables and printing](Python_01_basics.ipynb) |
| 22 | +[Lists and loops](Python_02_lists_loops.ipynb) |
| 23 | +[Functions and choices (if)](Python_03_functions.ipynb) |
| 24 | +[Getting user input](Python_04_user_input.ipynb) |
| 25 | +[JSON and case law](caselaw.ipynb) |
| 26 | +[Strings and dictionaries](Python_06_Dictionaries_Strings.ipynb) |
| 27 | +[Classes](Python_07_Classes.ipynb) |
| 28 | +[Object oriented programming and inheritance](Python_09_OOP.ipynb) |
0 commit comments