Python, No Tears
Preface
This book is to teach students how program in Python
. To follow along and execute the code samples, you will need Docker installed. The Docker container is located on Docker Hub. After you have installed Docker, you may run the container as follows.
docker run -it \
-p 8888:8888 \
oneoffcoder/book-python-intro
Note that this Docker container has Jupyter Lab running on port 8888
. You may access Jupyter Lab at http://localhost:8888 when the Docker container is running.
- 1. Hello, World!
- 2. Types
- 3. Operators
- 4. Control Statements
- 5. User Input
- 6. Loops
- 7. Functions
- 7.1. Basic function
- 7.2. Function with one arguments
- 7.3. Function with two arguments
- 7.4. Function with three arguments
- 7.5. Function with a list argument
- 7.6. Function with default value argument
- 7.7. Non-keyworded, variable-length argument
- 7.8. Keyworded, variable-length argument
- 7.9. Mixed arguments
- 7.10. Required keyword arguments
- 7.11. Unpacking tuple return type
- 7.12. Lambda
- 7.13. Generators
- 8. Built-in Functions and Types
- 9. Functional Programming
- 10. Decorators
- 11. Classes
- 12. Libraries
- 13. Exceptions
- 14. Context Manager
- 15. Threading
- 16. Input/Output (IO)
- 17. Turtle
- 18. Practice, Practice, Practice
About
One-Off Coder is an educational, service and product company. Please visit us online to discover how we may help you achieve life-long success in your personal coding career or with your company’s business goals and objectives.
Copyright
Cite this book as follows.:
@misc{oneoffcoder_python_intro_2019,
title={Python, No Tears},
url={https://learn-python.oneoffcoder.com},
author={One-Off Coder},
year={2019},
month={Oct}}