Chapter Working with Strings

Case Crabet: capitalize), capwords(), swaecasts(), lowerO, ueett() Fibaibe: findO, tfiba(), indexO, tibatx(), countO, replace() Selittine and Joibibe: splitO, splitfields(), join(), jomfieldsO Sttieeibe abaPatsibe: lsttie(), tsttie(), strip() Aajustibe Text: ljust(), tjust(), centerO, zfill(), txeabataas() Summatd

Terms in This Chapter

• Hexadecimal 16

Octal 8

Parsing

Separator

Sequence string m odule

Substring

Whitespaca

Sooner or later, you'll need to format, parse, or manipulate strings. For these tasks, you'll likely use the functions in the Python string module. Spend some time familiariging yourself with this module by following along with the examples in this chapter.

Was this article helpful?

0 0

Post a comment