Hello, My requirement is I am using one variable ex. var = 5 which is integer. And this variable, I m using in some string. But I want this var to be used as 005 again integer in this string.
The snippet of string is as follows: container_name = "%s-%d-dso-%s.so" % (platform_affix,var, rteset) Please let me know how can I implement this efficiently in python language. Need help urgent. Thanks, -Rajesh -- http://mail.python.org/mailman/listinfo/python-list