The Python programming language was created by Guido van Rossum in 1990 and is made available under a free license.
Its development is now ensured by the Python Software Foundation, founded in 2001. This is an interpreted language running on most computer platforms (including Linux, Windows and macOS).
It is also highly appreciated by teachers who consider it a good language to introduce themselves to the basic concepts of programming.
the Python logo to the left of its creator, Guido van Rossum. In 1999, he submitted a project to the Defense Advanced Research Projects Agency (DARPA), a US Department of Defense agency responsible for developing new technologies for military use. In his proposal, called “Computer Programming for Everybody”,
he defines the following goals for Python:
the language must be simple and intuitive, and as powerful as the main competitors; it must be open source, so that anyone can contribute to its development; the code must be as understandable as an English text; it must be adapted to daily tasks and allow short development times.
Image not available
Since its creation, the success of the language has continued to grow, and has become one of the ten most popular programming languages. This is a high-level language for general use. The latest stable versions of the language are 2.7.12 (25 June 2016) and 3.5.2 (27 June 2016).
These two versions, commonly called Python 2 and Python 3, both continue to exist, mainly for compatibility reasons. In this course we will use version 3.
Python is used in many projects of different types. It is also very present in applications of scientific calculations, and is integrated in many modeling software, as scripting language.
Finally, it is also used in the development of video games or in the writing of tasks in the field of artificial intelligence.
python3:
And press enter, if you don’t have a python3 error doesn’t exist, that’s good. Otherwise you have to install it.
To install Python, go to the official website and the Downloads section, choose the OS that corresponds to your and download the latest version. The installation should not cause you any problems (you are big).
Hello Python:
After installing Python, let’s see how to use it right away.
But first, you have to know one thing: to date, there are two major versions of Python, namely python2 and python3 that are different. In this tutorial we will use python3 which is the newest and therefore supports the new features.
You can use Python in two different ways, either by using the shell or by writing your python code into a python file (extension .py) and executing it. Variables and Data Types Python is an object-oriented language and dynamically typed, you don’t need to specify the type of a variable, it will depend on the content of the variable.
To declare a variable, just put its name followed by the = sign and then its value.
Nomination of variables:
Some appointment rules for our variables
* Python is case sensitive. name is different from Name which is also different from NAME. * Use clear variable names, which define the content of the variable. * A variable name starts with a letter or underscore _ (dash of 8) * The name of a variable is only composed of letters, underscore and numbers. * If the name of your variable contains spaces, replace the spaces with underscores (first and last names -> first and last names). * Your variable name should not be a Python keyword. * Again, use clear variable names, which define the content of the variable. Using clear variable names, which define the content of the variable, is valid for all programming languages.
keywords: machine learning, machine learning is, python machine learning,machine learning modeling, andrew ng machine learning , ai learning , aws machine learning, supervised learning ,unsupervised learning, ai ml, deep learning ai, tensorflow, data analytics, master's in data science, online master's data science, data analytics degrees, data science degrees, certified data scientist, master's in data analytics online , ms in data science, datascience berkeley ,uc berkeley data science, data science for managers, data science for beginners, certified data scientist, data science for all, big data analyst, r for data science, pandas, keras,tensorflowjs,hands on machine learning.