I have python 2.7 code with creates a builtin file object which return me a file object <type 'file'>
file(os.path.join('/tmp/test/', 'config.ini'))
Same code i changed in python 3.7 as below it returns <class '_io.TextIOWrapper'>
open(os.path.join('/tmp/test/', 'config.ini'))
How can i get a file object type in python 3