Page 1 of 1

digi xbee ¿How to convert .mpy file to .py?

Posted: Thu Sep 09, 2021 3:42 pm
by JotaPE
hi a friend of my on his work need's to take a .mpy file to transform it to a "readable" file. I know that it was a .py file and it was transform to an .mpy file and the process i thinks is convert to binary for the xbee, how ever, the original file i no where to be found i try to find a way to reverse the file but i can't i have no experience whit it. Does enbody know what to do in this case? How to reverse a .mpy file to an .py or .txt file? because if we try to open it on Visual Studio Code it's not readable, there are just strange simbols.

P.D: Sorry if my English is a bit bad. And the fact that i don't know to upload a picture of what the code show.