EcmaXp 7 Posted October 18, 2018 Share Posted October 18, 2018 https://minecraft.curseforge.com/projects/openpython https://github.com/EcmaXp/OpenPython 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. Features include: - 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. Limitations include: - 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. Molinko, DanGSun, Fingercomp and 2 others 1 4 Quote Link to post Share on other sites
Molinko 43 Posted October 18, 2018 Share Posted October 18, 2018 I haven't had the pleasure to try this out because I'm on a long road trip, however I love that some wonderful person has made this. I think this could be a great alternative for those who don't like Lua (I<3lua). EcmaXp 1 Quote Link to post Share on other sites
EcmaXp 7 Posted October 18, 2018 Author Share Posted October 18, 2018 krakodeel and Lizzian 1 1 Quote Link to post Share on other sites
DanGSun 0 Posted December 22, 2018 Share Posted December 22, 2018 I've done some cnages to your OS... There it is https://github.com/DanGSun/PyOS... There are PySH for bash emulation (WIP) and some fixes to filesystem... Quote Link to post Share on other sites
citrusMarmelade 0 Posted October 7, 2019 Share Posted October 7, 2019 Hey, I wondered if there was any update being done to the project I might start to make a BASH shell/OS for the architecture but I would love to know if newer versions of (micro)python will be supported by openpython ! PS : is there a way I can get autocompletion for ucomponent and other openpython modules inside PyCharm or another IDE ? Quote Link to post Share on other sites
yl12053 0 Posted February 26, 2020 Share Posted February 26, 2020 Maybe I guess those module will also have in pypi then just include zipfile and also urllib or requests and download from pypi and uncompile Quote Link to post Share on other sites