Give a try to Python Decompiler Online. It works for .pyc files.
Search found 2 matches
- Sat Nov 14, 2020 7:06 am
- Forum: Development of MicroPython
- Topic: how to decompile bytecode into human readable format
- Replies: 15
- Views: 14043
Re: how to decompile bytecode into human readable format
- Fri Nov 13, 2020 7:53 pm
- Forum: General Discussion and Questions
- Topic: How to read a file using C language
- Replies: 6
- Views: 3159
Re: How to read a file using C language
I'm currently using MicroPython to develop esp32 board. Now I need to read a file in flash in main.c. How could I do this? Could anybody show me an example? Thanks You can use mp_vfs_open (see extmod/vfs.h) to open the file which will return a stream object, that you can use mp_stream_rw (or mp_str...