Copyright (c) Hyperion Entertainment and contributors.

Difference between revisions of "AmigaOS Manual: Python"

From AmigaOS Documentation Wiki
Jump to navigation Jump to search
(Added link to appendix C: Environment Variables)
(Added 4 new chapters: Sounds, Printing, Serial and parallel ports, and Network resources)
Line 22: Line 22:
 
[[AmigaOS Manual: Python Parsing|Chapter 8. Parsing]] This chapter explains how to break up strings and files into more easily processed components.
 
[[AmigaOS Manual: Python Parsing|Chapter 8. Parsing]] This chapter explains how to break up strings and files into more easily processed components.
   
[[AmigaOS Manual: Python Graphical User Interfaces|Chapter 9. Graphical User Interfaces]] This chapter explains how to create graphical user interfaces with Python.
+
[[AmigaOS Manual: Python Sounds|Chapter 9. Sounds]] This chapter explains how to record and play sounds.
  +
  +
[[AmigaOS Manual: Python Printing|Chapter 10. Printing]] This chapter explains how to print.
  +
  +
[[AmigaOS Manual: Python Serial and parallel ports|Chapter 11. Serial and parallel ports]] This chapter explains how to receive and send data through the serial and parallel ports.
  +
  +
[[AmigaOS Manual: Python Network resources|Chapter 12. Network resources]] This chapter explains how you can connect to a remote server and exchange data with it.
  +
  +
[[AmigaOS Manual: Python Graphical User Interfaces|Chapter 13. Graphical User Interfaces]] This chapter explains how to create graphical user interfaces with Python.
   
 
[[AmigaOS Manual: Standard Exceptions|Appendix: A. Standard Exceptions]] This appendix lists the standard Python exceptions.
 
[[AmigaOS Manual: Standard Exceptions|Appendix: A. Standard Exceptions]] This appendix lists the standard Python exceptions.

Revision as of 03:12, 21 January 2019

WIP.png This page is currently being updated to AmigaOS 4.x. Some of the information contained here may not yet be applicable in part or totally.

Welcome

Python is a high-level, object-oriented general purpose programming language created by Guido van Rossum. It includes a large standard library containing standardized solutions for the common programming problems and tools for accessing the system resources. On Amiga, Python can replace ARexx as a scripting language.

This manual introduces you to Python, tells you how to create Python programs and provides a reference section of Python commands.

Chapter 1. Introducing Python This chapter gives an overview of Python, how it works on the Amiga, and the basic features of the programming language.

Chapter 2. Getting Started

Chapter 3. Elements of Python

Chapter 4. Functions This chapter describes the use of functions and provides an alphabetical listing of the built-in Python functions.

Chapter 5. Modules and Packages

Chapter 6. Classes and Objects This chapter explains how to use Python's object-oriented features.

Chapter 7. Debugging

Chapter 8. Parsing This chapter explains how to break up strings and files into more easily processed components.

Chapter 9. Sounds This chapter explains how to record and play sounds.

Chapter 10. Printing This chapter explains how to print.

Chapter 11. Serial and parallel ports This chapter explains how to receive and send data through the serial and parallel ports.

Chapter 12. Network resources This chapter explains how you can connect to a remote server and exchange data with it.

Chapter 13. Graphical User Interfaces This chapter explains how to create graphical user interfaces with Python.

Appendix: A. Standard Exceptions This appendix lists the standard Python exceptions.

Appendix: B. Built-in Constants This appendix lists the Python's built-in constants.

Appendix: C. Environment Variables This appendix lists the Python environment variables.

Glossary The glossary contains common Python terms.

Document Conventions

The following conventions are used in this manual: ...

Sources of Additional Information

Further information on learning and using Python can be found in:

Python 2.7.15 Documentation, by Python Software Foundation.