your current location:首页 > news>Open Python Minecraft

Open Python Minecraft

2024-12-12 09:34:58|Myriagame |source:minecraft skins

Overview

This module adds support for Micropython for an open computers.

Micropython is Python, an embedded device, which is different from CPYTHON.

At present, as of October 2018, Micropython is partially compatible with Python 3.4 version.

Function

This module includes the following functions:

Completely persistent.

Local DLL running in a sandbox environment without separate local DLL.

Support virtual file system.

Can be called other components and support the userdata of the LUA architecture.

defect

This module contains the following defects:

The firmware is 256 KB, the memory limit is the same as the LUA architecture, but the stack is allocated in a separate memory.

Most modules are difficult to use because the battery is partly included.

The operating system has not been fully implemented, so the Python interpreter is now running.

Ctrl + C is not supported, so if you accidentally run unlimited repeated code, the only way is to restart your computer.


To use the Python architecture, you need the following items:

Eeprom (OpenPython): Sorry, you must get items from the creative pattern tab.

OpenPython OS: This item can be obtained by making soft disks and screanch, or you can also view it in the creative pattern tab.

OpenPython CPU: You can select the OpenPython architecture by pressing Shift + right -click on the LUA architecture CPU.

gallery

Minecraft images

Openpython v1.0.0 python shell

Minecraft images

Component

It is still unstable, but the author plans to make further improvements in the future.The author said that he needs to be familiar with OpenComputers and Python for help and thank you for your participation.