You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple command line tool and module for interacting with the limited file system provided by MicroPython on the BBC micro:bit.
34
34
35
-
Finally, there are great [tutorials for MicroPython on the micro:bit](https://microbit-micropython.readthedocs.io/en/latest/tutorials/introduction.html).
35
+
Finally, there are great [tutorials for MicroPython on the micro:bit](https://microbit-micropython.readthedocs.io/en/v2-docs/tutorials/introduction.html).
36
36
37
37
## What is MicroPython?
38
38
@@ -120,7 +120,7 @@ Many people in the international Python community have contributed free-to-use r
120
120
121
121
### Documentation
122
122
123
-
Tutorials and API documentation for developers can be [found here](https://microbit-micropython.readthedocs.io/en/latest/).
123
+
Tutorials and API documentation for developers can be [found here](https://microbit-micropython.readthedocs.io/en/v2-docs/).
Copy file name to clipboardExpand all lines: software/python-editor.md
+18-19Lines changed: 18 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,35 +11,34 @@ lang: en
11
11
12
12
## Overview
13
13
14
-
The [Python Editor](https://python.microbit.org) is a free, browser based coding environment for creating [MicroPython]({{ "/software/micropython/" | relative_url }}) projects with the BBC micro:bit.
14
+
The [Python Editor](https://python.microbit.org) is a free, open source, browser-based coding environment for creating [MicroPython]({{ "/software/micropython/" | relative_url }}) projects with the BBC micro:bit.
15
15
16
-
Use common snippets of code, add/remove files and modules, and upload/download .hex or .py files.
16
+
### Documentation
17
17
18
-
The Python editor is based upon the [Ace editor](http://ace.c9.io) and includes syntax highlighting, code folding and (semi) intelligent auto-indentation.
18
+
For using the editor:
19
19
20
-
### Source
20
+
- The [Reference](https://python.microbit.org/v/3/reference), [Ideas](https://python.microbit.org/v/3/ideas) and [API](https://python.microbit.org/v/3/api) tabs in the editor itself
-[MicroPython reference](https://microbit-micropython.readthedocs.io/en/v2-docs/) provides information and examples on using the API
21
23
22
-
The upstream source code for the Python Editor can be found at [github.com/bbcmicrobit/PythonEditor](https://github.com/bbcmicrobit/PythonEditor)
24
+
For developing the editor or understanding how it works:
23
25
24
-
The micro:bit target depends a closed source versioning repository that facilitates releases at `/v/`, for example the beta editor [https://python.microbit.org/v/beta](https://python.microbit.org/v/beta) and previous releases.
It is possible to use the Python Editor offline to generate, upload and download .hex or .py files. However, refreshing the browser resets the editor.
31
+
The [micro:bit MicroPython simulator](https://github.com/microbit-foundation/micropython-microbit-v2-simulator#readme) is a separate component that you can embed in your own software projects.
29
32
30
-
### Documentation
33
+
The [micro:bit connection](https://microbit-foundation.github.io/microbit-connection/) npm package is used to connect to and flash the micro:bit over WebUSB.
31
34
32
-
-[MicroPython reference](https://microbit-micropython.readthedocs.io/en/v1.0.1/) provides information and examples on using the blocks
-[Embedding the editor](https://github.com/bbcmicrobit/PythonEditor/blob/master/docs/embedEditor.md)
35
+
The MicroPython file system that stores the user's Python code can be manipulated with the [microbit-fs](https://microbit-foundation.github.io/microbit-fs/) npm package.
37
36
38
-
### Community
37
+
### Previous version
39
38
40
-
There are a variety of ways to get involved and interact:
39
+
The micro:bit Python Editor (V2) is still available at [https://python.microbit.org/v/2](https://python.microbit.org/v/2) with source code at [https://github.com/bbcmicrobit/PythonEditor](https://github.com/bbcmicrobit/PythonEditor).
40
+
41
+
### Community
41
42
42
-
- Join the [micro:bit developer community on Slack]({{ "/community/" | relative_url }})
43
-
- Raise a [Python Editor issue or feature request](https://github.com/bbcmicrobit/PythonEditor/issues)
44
-
- Ask a question on the [MicroPython forum for micro:bit](https://forum.micropython.org/viewforum.php?f=17&sid=de047c3e944921889becbc00f02a918f)
43
+
- Raise a [Python Editor issue or feature request](https://github.com/microbit-foundation/python-editor-v3/issues)
45
44
- Help [Translate the Python Editor](https://support.microbit.org/en/support/solutions/articles/19000106022-translating-the-python-editor) into your own language.
0 commit comments