Search found 4 matches

by lipapave@seznam.cz
Mon Oct 11, 2021 7:15 am
Forum: General Discussion and Questions
Topic: How can I get the source code of a Python module?
Replies: 2
Views: 1914

Re: How can I get the source code of a Python module?

Yes, I use this source code. The problem is, that my laptop disk was damaged and all /ports/esp32/modules was lost. Only what I have is firmware.bin. Is there way, how can I get modules from firmware.bin or from running code on ESP32 ?:
by lipapave@seznam.cz
Sun Oct 10, 2021 8:34 pm
Forum: General Discussion and Questions
Topic: How can I get the source code of a Python module?
Replies: 2
Views: 1914

How can I get the source code of a Python module?

Hello, is it possible on ESP32 to get or print the source of code of python module e.g (code of module hello.py) ? hello.py print("Hello") I found this on google https://stackoverflow.com/questions/427453/how-can-i-get-the-source-code-of-a-python-function but on ESP32 the inspect library is simplifi...
by lipapave@seznam.cz
Sat Oct 09, 2021 8:43 pm
Forum: General Discussion and Questions
Topic: Official build use less RAM memory then own build
Replies: 3
Views: 1768

Official build use less RAM memory then own build

Hello, I would like to ask you, if somebody know, why is own esp32 build 1.17 of micropython ( https://github.com/micropython/micropython ) using more RAM then build of esp32-20210902-v1.17.bin from official web page https://micropython.org/download/esp32/ ? I print import gc gc.collect() print("Mem...