ABSTRACT

A Simple Introduction to Python is aimed at pre-university students and complete novices to programming. The whole book has been created using Jupyter notebooks. After introducing Python as a powerful calculator, simple programming constructs are covered, and the NumPy, MatPlotLib and SymPy modules (libraries) are introduced. Python is then used for Mathematics, Cryptography, Artificial Intelligence, Data Science and Object Oriented Programming.

The reader is shown how to program using the integrated development environments: Python IDLE, Spyder, Jupyter notebooks, and through cloud computing with Google Colab.

Features:

  • No prior experience in programming is required.
  • Demonstrates how to format Jupyter notebooks for publication on the Web.
  • Full solutions to exercises are available as a Jupyter notebook on the Web.
  • All Jupyter notebook solution files can be downloaded through GitHub.


GitHub Repository of Data Files and a Jupyter Solution notebook: https://github.com/proflynch/A-Simple-Introduction-to-Python

Jupyter Solution notebook web page: https://drstephenlynch.github.io/webpages/A-Simple-Introduction-to-Python-Solutions.html

chapter Chapter 1|6 pages

Python as a Powerful Calculator

chapter Chapter 2|10 pages

Simple Programming with Python

chapter Chapter 3|7 pages

The Turtle Library

chapter Chapter 4|8 pages

NumPy and MatPlotLib

chapter Chapter 5|8 pages

Google Colab, SymPy and GitHub

chapter Chapter 6|11 pages

Python for Mathematics

chapter Chapter 7|8 pages

Introduction to Cryptography

chapter Chapter 8|9 pages

An Introduction to Artificial Intelligence

chapter Chapter 9|11 pages

An Introduction to Data Science

chapter Chapter 10|10 pages

An Introduction to Object Oriented Programming