Js2Py
Js2Py copied to clipboard
From attribute is unreachable
Hello!
After doing buffer = require("buffer").Buffer
to get the buffer from the buffer module,
i need to access the from method, but it's impossible due to the from builtin in python.
Is there a workaround to get a specific attribute by it's name as a string ?