APPENDIX A
INTRODUCTION TO PYTHON
This appendix contains an introduction to Python, with information about useful tools for installing Python modules, basic Python constructs, and how to work with some data types in Python.
The first part of this appendix covers how to install Python, some Python environment variables, and how to use the Python interpreter. You will see Python code samples and also how to save Python code in text files that you can launch from the command line. The second part of this appendix shows you how to work with simple data types, such as numbers, fractions, and strings. The final part of this appendix discusses exceptions and how to use them in Python scripts.
Note: the Python code samples in this book are for Python ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access