dimatura / pypcd

PCL pcd fileformat i/o in Python
Other
266 stars 196 forks source link

Update the import of the StringIO library to Python 3.x #43

Open PedroCorcaque opened 2 weeks ago

PedroCorcaque commented 2 weeks ago

Summary

This pull request resolves a module import error in the pypcd library:

ModuleNotFoundError: No module named 'cStringIO'

Changes

Replaced the use of cStringIO with io.StringIO to ensure compatibility with Python 3.x.

Impact

Allows the pypcd library to function correctly with Python 3.x.

Testing

Verified that the library imports successfully and functions as expected in a Python 3.x environment.