Python Programming: An Introduction to Computer Science
Python Programming:
An Introduction to
Computer Science
Chapter 5
Sequences: Strings, Lists, and
Files
Python Programming, 2/e
1
Objectives
n?
n?
To understand the string data type and
how strings are represented in the
computer.
To be familiar with various operations
that can be performed on strings
through built-in functions and the string
library.
Python Programming, 2/e
2
Objectives (cont.)
n?
n?
n?
To understand the basic idea of sequences
and indexing as they apply to Python strings
and lists.
To be able to apply string formatting to
produce attractive, informative program
output.
To understand basic file processing concepts
and techniques for reading and writing text
files in Python.
Python Programming, 2/e
3
Objectives (cont.)
n?
n?
To understand basic concepts of
cryptography.
To be able to understand and write
programs that process textual
information.
Python Programming, 2/e
4
The String Data Type
n?
n?
n?
The most common use of personal
computers is word processing.
Text is represented in programs by the
string data type.
A string is a sequence of characters
enclosed within quotation marks (") or
apostrophes (').
Python Programming, 2/e
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- gpib programming tutorial boston university
- python problem set github pages
- basics of python programming
- python tutorial reading and manipulating catalogs
- table of ascii and unicode characters
- python tutorial comparing data from different catalogues
- python programming an introduction to computer science
- freetype python documentation
- ascii code the extended ascii table
- python stl read the docs