OpenPython makes micropython available on OpenComputers.
micropython is Python for embedded devices and is different from CPython.
Currently, micropython is partially compatible with Python version 3.4 as of October 2018.
- Fully persistable.
- Runs in a sandboxed environment and does not require a separate native DLL.
- Supports virtual file system.
- It can call other components and supports Lua architecture's UserData.
- 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.
- Most modules are difficult to use because the battery is partially included.
- The operating system is not yet fully implemented, so the Python interpreter now runs.
- 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.
To use the Python architecture, you need the following items:
- EEPROM (OpenPython): I'm sorry, but you have to bring items from the Creative tab.
- 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.
- OpenPython CPU: You can choose OpenPython architecture by holding Shift + Right Click on the Lua architecture CPU.
It is still unstable, but we plan to make further improvements in the future.
I need help from people who are familiar with OpenComputers and Python.
Thank you for playing.