odooly icon indicating copy to clipboard operation
odooly copied to clipboard

Python REPL

Open arkhan opened this issue 5 years ago • 1 comments

Regards, What a great job, I would like to know if it is possible to give support to work with: https://github.com/prompt-toolkit/ptpython

Thank you

arkhan avatar Dec 20 '18 15:12 arkhan

Hello, I wonder if it is not already supported.

Try this wrapper script ptodoo.py:

#!/usr/bin/env python3
import odooly
import ptpython.repl

odooly.main(interact=ptpython.repl.embed)

I did not try it, but according to the documentation it should do something.

florentx avatar Dec 27 '18 17:12 florentx