Ok, I finally found a solution to my problem, even if it's not related to my first question. I followed my first approach to generate my polymer: a python script generating a long SMILE chain. And then, I finally found a software capable of converting such a long chain: Discovery studio visualizer.
I think it works because this software is not based on openbabel. It's not a Python solution, but it does the work.
Thanks anyway.