๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

A Simple Introduction to Python

โœ Scribed by Stephen Lynch


Publisher
CRC Press
Year
2024
Tongue
English
Leaves
111
Series
the python series
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


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

โœฆ Table of Contents


Cover
Half Title
Series Page
Title Page
Copyright Page
Dedication
Contents
Preface
CHAPTER 1: Python as a Powerful Calculator
1.1. BODMAS
1.2. FRACTIONS: SYMBOLIC COMPUTATION
1.3. POWERS (EXPONENTIATION) AND ROOTS
1.4. THE MATH LIBRARY (MODULE)
CHAPTER 2: Simple Programming with Python
2.1. LISTS, TUPLES, SETS AND DICTIONARIES
2.2. DEFINING FUNCTIONS (PROGRAMMING)
2.3. FOR AND WHILE LOOPS
2.4. CONDITIONAL STATEMENTS, IF, ELIF, ELSE
CHAPTER 3: The Turtle Library
3.1. THE CANTOR SET FRACTAL
3.2. THE KOCH SNOWFLAKE
3.3. A BIFURCATING TREE
3.4. THE SIERPINSKI TRIANGLE
CHAPTER 4: NumPy and MatPlotLib
4.1. NUMERICAL PYTHON (NUMPY)
4.2. MATPLOTLIB
4.3. SCATTER PLOTS
4.4. SURFACE PLOTS
CHAPTER 5: Google Colab, SymPy and GitHub
5.1. GOOGLE COLAB
5.2. FORMATTING NOTEBOOKS
5.3. SYMBOLIC PYTHON (SYMPY)
5.4. GITHUB
CHAPTER 6: Python for Mathematics
6.1. BASIC ALGEBRA
6.2. SOLVING EQUATIONS
6.3. FUNCTIONS (MATHEMATICS)
6.4. DIFFERENTIATION AND INTEGRATION (CALCULUS)
CHAPTER 7: Introduction to Cryptography
7.1. THE CAESAR CIPHER
7.2. THE XOR CIPHER
7.3. THE RIVEST-SHAMIR-ADLEMAN (RSA) CRYPTOSYSTEM
7.4. SIMPLE RSA ALGORITHM EXAMPLE
CHAPTER 8: An Introduction to Artificial Intelligence
8.1. ARTIFICIAL NEURAL NETWORKS
8.2. THE AND/OR AND XOR GATE ANNS
8.3. THE BACKPROPAGATION ALGORITHM
8.4. BOSTON HOUSING DATA
CHAPTER 9: An Introduction to Data Science
9.1. INTRODUCTION TO PANDAS
9.2. LOAD, CLEAN AND PREPROCESS THE DATA
9.3. EXPLORING THE DATA
9.4. VIOLIN, SCATTER AND HEXAGONAL BIN PLOTS
CHAPTER 10: An Introduction to Object Oriented Programming
10.1. CLASSES AND OBJECTS
10.2. ENCAPSULATION
10.3. INHERITANCE
10.4. POLYMORPHISM
Index


๐Ÿ“œ SIMILAR VOLUMES


Programming for Computations: Python: A
โœ Svein Linge; Hans Petter Langtangen ๐Ÿ“‚ Library ๐Ÿ“… 2016 ๐Ÿ› Springer ๐ŸŒ English

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more a

Programming for Computations - Python: A
โœ Svein Linge, Hans Petter Langtangen (auth.) ๐Ÿ“‚ Library ๐Ÿ“… 2016 ๐Ÿ› Springer International Publishing ๐ŸŒ English

<p><p>This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is

Programming for Computations - Python A
โœ Svein Linge, Hans Petter Langtangen ๐Ÿ“‚ Library ๐Ÿ“… 2016 ๐Ÿ› Springer ๐ŸŒ English

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more a

Programming For Computations - Python: A
โœ Svein Linge, Hans Petter Langtangen ๐Ÿ“‚ Library ๐Ÿ“… 2020 ๐Ÿ› Springer ๐ŸŒ English

This book is published open access under a CC BY 4.0 license. This book presents computer programming as a key method for solving mathematical problems. This second edition of the well-received book has been extensively revised: All code is now written in Python version 3.6 (no longer version 2.7).