Every line of 'python ljust' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
346 def ljust(self, width, *args): 347 return self.__class__(self.data.ljust(width, *args))
503 def ljust(self, s,width,fillchar): 504 """rjust(s, width[, fillchar]) 505 center(s, width[, fillchar]) 506 507 These functions respectively left-justify, right-justify and center a string in 508 a field of given width. They return a string that is at least *width* 509 characters wide, created by padding the string *s* with the character *fillchar* 510 (default is a space) until the given width on the right, left or both sides. 511 The string is never truncated. 512 513 514 """ 515 pass