Python How To Smooth The Linestring After Adding Additional Point

Python How To Smooth The Linestring After Adding Additional Point