© 2015

An Introduction to Python and Computer Programming


  • Gives a gentle introduction to Python and programming, avoiding details that can hinder the understanding of important concepts

  • Incorporates the very fundamentals of algorithms and computation which applies to all programming languages

  • Abstracts the kernel of Python, in particular the object system, into a unique and novel diagram system


Part of the Lecture Notes in Electrical Engineering book series (LNEE, volume 353)

Table of contents

  1. Front Matter
    Pages i-x
  2. Yue Zhang
    Pages 13-36
  3. Yue Zhang
    Pages 37-65
  4. Yue Zhang
    Pages 67-95
  5. Yue Zhang
    Pages 127-156
  6. Yue Zhang
    Pages 157-185
  7. Yue Zhang
    Pages 187-215
  8. Yue Zhang
    Pages 245-277
  9. Yue Zhang
    Pages 279-295

About this book


This book introduces Python programming language and fundamental concepts in algorithms and computing. Its target audience includes students and engineers with little or no background in programming, who need to master a practical programming language and learn the basic thinking in computer science/programming. The main contents come from lecture notes for engineering students from all disciplines, and has received high ratings. Its materials and ordering have been adjusted repeatedly according to classroom reception. Compared to alternative textbooks in the market, this book introduces the underlying Python implementation of number, string, list, tuple, dict, function, class, instance and module objects in a consistent and easy-to-understand way, making assignment, function definition, function call, mutability and binding environments understandable inside-out. By giving the abstraction of implementation mechanisms, this book builds a solid understanding of the Python programming language.


Algorithms and Computing Computer Programming Data Organization Flow Control Learning Python Module Objects Mutability Python Language Python Syntax

Authors and affiliations

  1. 1.Singapore Univ of Technology and DesignSingaporeSingapore

About the authors

Dr. Yue Zhang is an Assistant Professor at Singapore University of Technology and Design. Before joining SUTD in 2012, he worked as a postdoctoral research assistant at University of Cambridge. Yue Zhang received his DPhil and MSSc degrees from University of Oxford and his BEng degree from Tsinghua University, China. Yue Zhang has been class tutors of programming languages at Oxford and Cambridge and has been teaching and leading computer science courses at SUTD.

Bibliographic information

Industry Sectors
IT & Software
Oil, Gas & Geosciences


“There are 11 chapters, each of which has a selection of exercises at the end. The problems are well written and generally increase in complexity. … Tailored to the instructor, it provides a good foundation.” (David Bellin, Computing Reviews, October, 2015)