DEV Community

Mayank-21
Mayank-21

Posted on

What is equivalent library of cStringIO in python 3? [duplicate]

Currently I am converting my python2 project into python 3 & came up code related to cStringIO module.

 import cStringIO
 buffer = cStringIO.StringIO()

I know that import StringIO been replaced with from io import StringIO but what will be similiar code in python 3 for CStringIO.

I have read…

Top comments (0)