Python Introduction and Application Examples - Python Automation and Machine Learning for ICs - - An Online Book - |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Python Automation and Machine Learning for ICs http://www.globalsino.com/ICs/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table of Contents/Index |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
================================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Python was created by Guido van Rossum. He began working on the language in the late 1980s, and the first official release, Python 0.9.0, was released in February 1991. Guido van Rossum was working at the Centrum Wiskunde & Informatica (CWI) in the Netherlands when he started developing Python. Python is an interpreted language, so that one need not to compile every piece of code. The programmer can just write the command and then see the output at the command prompt. To be able to write a program in Python, the programmer can use Anaconda. Note that for the beginners, IDLE and Anaconda are enough for routine programming. On the other hand, Thonny is Python IDE for beginners. The basic steps of the installation of Python and its additions are described at Python Appendix. Note that Python is a case-sensitive language because it distinguishes between identifiers like Variable and variable. In simple words, we can say it cares about uppercase and lowercase. Table 945a. Programming languages.
Table 945a. Basic terminology.
Functions are the units which perform a particular task, take some input, and which may give some output. A function can have any number of arguments. A function may or may not return a value. The parameters are basically the input to a function. Attributes of user-defined functions. An attribute is a characteristic of an object that contains information about the object, and is also called a property of the object. An attribute name is preceded by dot, as in member.username which may contain the username for one site member. Table 945o. Special suggestions for Python applications.
Table 4853c. Best practices in Python programming.
|