- Python found initial popularity as a scripting language
- Key factor was it’s inbuilt syntax, methods and modules for string and sequence manipulation
- Python has found broader use for
- parsing text
- generating structured data
- inspecting file formats
- analysing logs
- etc.
bytes and str are python types for
- Interfacing with natural language text
- Manipulating low-level binary data formats
- Perform I/O and communicate with the outside world
- Python abstracts over character types, lists and other sequences to provide a common interface for
- Indexing
- Sub-sequencing
- more…