|
| 1 | +# OpenPython |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +**OpenPython makes micropython available on OpenComputers.** |
| 6 | + |
| 7 | +micropython is Python for embedded devices and is different from CPython. |
| 8 | +Currently, micropython is partially compatible with Python version 3.4 as of October 2018. |
| 9 | + |
| 10 | +Features include: |
| 11 | +- Fully persistable. |
| 12 | +- Runs in a sandboxed environment and does not require a separate native DLL. |
| 13 | +- Supports virtual file system. |
| 14 | +- It can call other components and supports Lua architecture's UserData. |
| 15 | + |
| 16 | +Limitations include: |
| 17 | +- The firmware is 256 KB and the memory limit has the same limit as the Lua architecture, but the stack is allocated in a separate memory. |
| 18 | +- Most modules are difficult to use because the battery is partially included. |
| 19 | +- The operating system is not yet fully implemented, so the Python interpreter now runs. |
| 20 | +- Ctrl + C is not supported, so if you accidentally run infinite repeated code, the only way to stop it is to turn the computer off and then on. |
| 21 | + |
| 22 | +To use the Python architecture, you need the following items: |
| 23 | +- EEPROM (OpenPython): I'm sorry, but you have to bring items from the Creative tab. |
| 24 | +- Floppy Disk (OpenPython OS): This item can be obtained by creating a floppy disk and Scrench, or you can check it on the Creative tab. |
| 25 | +- OpenPython CPU: You can choose OpenPython architecture by holding Shift + Right Click on the Lua architecture CPU. |
| 26 | + |
| 27 | +It is still unstable, but we plan to make further improvements in the future. |
| 28 | + |
| 29 | +I need help from people who are familiar with OpenComputers and Python. |
| 30 | + |
| 31 | +Thank you for playing. |
| 32 | + |
| 33 | +Links |
| 34 | +- [minecraft.curseforge.com/projects/openpython](https://minecraft.curseforge.com/projects/openpython) |
| 35 | +- [OpenPython in oc.cil.li](https://oc.cil.li/index.php?/topic/1744-mc1122oc17-openpython%C2%A0micropython-available-on-opencomputers/) |
0 commit comments