Hello, I 'd like to know if a std::setw() equivalent function exists in python ? i thought of something like : a = 16 "%ai" % 12 But it is not correct. Any Idea ? Thanks a lot, Cyril.