1

I am working on a Python extension module in C++ and I have a FILE object and I want to propagate it Python code so I can work in some way (reading, writing, etc). In Python2 it was possible to use PyFile_FromFile and create a Python object. Since this is deprecated in Python3, What is a best way now?

dohnto
  • 584
  • 5
  • 13

0 Answers0