File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -36,36 +36,26 @@ You can open these exercises in just a few seconds by clicking: [Open in Codespa
36
36
37
37
## Local Installation
38
38
39
- Clone the repository in your local environment and follow the steps below:
39
+ 1 . Clone the repository in your local environment and follow the steps below.
40
40
41
- 1 . Install LearnPack, the package manager for learning tutorials, and the HTML compiler plugin for LearnPack. Make sure you also have node.js 14+:
41
+ 2 . Install LearnPack, the package manager for learning tutorials, and the Python compiler plugin for LearnPack. Make sure you also have node.js 14+:
42
42
43
43
``` bash
44
- $ npm i learnpack -g
45
- $ learnpack plugins:install learnpack-python
44
+ $ npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0
46
45
```
47
46
48
- 2 . Download these particular exercises using LearnPack and ` cd ` into the folder:
49
-
50
- ``` bash
51
- $ learnpack download python-beginner-programming-exercises
52
- $ cd python-beginner-programming-exercises
53
- ```
54
-
55
- Note: Once you finish downloading, you will find an "exercises" folder that contains all the exercises within.
56
-
57
47
3 . Start the tutorial/exercises by running the following command at the same level where your learn.json file is:
58
48
59
49
``` bash
60
- $ pip3 install pytest==4.4.2 pytest-testdox mock
50
+ $ pip3 install pytest==6.2.5 pytest-testdox mock
61
51
$ learnpack start
62
52
```
63
53
64
54
<!-- endhide -->
65
55
66
56
## How are the exercises organized?
67
57
68
- Each exercise is a small React application containing the following files:
58
+ Each exercise is a small Python application containing the following files:
69
59
70
60
1 . ** app.py:** represents the entry Python file that will be executed by the computer.
71
61
2 . ** README.md:** contains exercise instructions.
You can’t perform that action at this time.
0 commit comments