File tree Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Contents:
19
19
20
20
installation
21
21
thebeginning
22
+ mu
22
23
variablesanddatatypes
23
24
operatorsexpressions
24
25
ifelse
Original file line number Diff line number Diff line change
1
+ ================
2
+ Using an editor
3
+ ================
4
+
5
+ Using a proper editor to write code can help a lot while programming or while
6
+ working on actual projects. In this chapter we will learn about **mu editor **,
7
+ which is a very simple and beginner friendly editor for anyone starting with
8
+ Python. It is developed by Nicholas Tollervey.
9
+
10
+ If you already have an editor of your choice, you can skip this chapter.
11
+
12
+ Installation
13
+ =============
14
+
15
+ The total download size is around 150MB. Means it will take some time. Give
16
+ the following command as your normal user.
17
+
18
+ ::
19
+
20
+ $ python3 -m pip install -U mu-editor --user
21
+
22
+
23
+
24
+ Using mu
25
+ ---------
26
+
27
+ You can open the editor from the command line, type **mu ** in the terminal.
28
+
29
+ ::
30
+
31
+ $ python3 -m mu
32
+
33
+
34
+ .. figure :: img/mu_starting.gif
35
+
36
+
37
+ Select Python 3 at the starting screen. Now, your mu editor is ready.
38
+
39
+
40
+ Executing code
41
+ --------------
42
+
43
+ You will have to write any code you want to execute, and then save it with a
44
+ proper filename (ends with .py). Then click on the **Run ** button to execute
45
+ the code. If you want a REPL, then click on the **REPL ** button.
46
+
47
+ .. note :: Remember not to give any space in the filename. Use _ if required, example: download_photos.py
48
+
49
+ .. figure :: img/mu_running_code.gif
50
+
51
+
52
+
You can’t perform that action at this time.
0 commit comments