Python4
Python4
3 Anaconda
Anaconda is a distribution package, where you get Python compiler, Python
packages and the Spyder editor, all in one package.
Anaconda includes Python, the Jupyter Notebook, and other commonly used
packages for scienti_c computing and data science.
20
They o_er a free version (Anaconda Distribution) and a paid version (Enter-
prise) Anaconda is available for Windows, macOS, and Linux
Web:
https://www.anaconda.com
Wikipedia:
https://en.wikipedia.org/wiki/Anaconda(Pythondistribution)
Spyder and the Python packages (NumPy, SciPy, Matplotlib, ...) mention above
+++ are included in the Anaconda Distribution.
2.4 Python Editors
An Editor is a program where you create your code (and where you can run
and test it). Most Editors have also features for Debugging. For simple Python
programs you can use the IDLE Editor, but for more advanced programs a bet-
ter editor is recommended.
Examples of Python Editors:
_ Python IDLE
_ Visual Studio Code
_ Spyder
_ Visual Studio
_ PyCharm
_ Wing Python IDE
_ Jupyter Notebook
These editors are shortly described below and in more detail later in this text-
book.
Which editor you should use depends on your background, what kind of code
editors you have used previously, your programming skills, what your are going
to develop in Python, etc.
2.4.1 Python IDLE
The programming language is maintained and available from (Python Software
Foundation): https://www.python.org Here you can download the basic Python
features in one package, which includes the Python programming language in-
terpreter, and a basic code editor, or an integrated development environment,
called IDLE. See Figure 2.1
Web:
https://www.python.org
21
2.4.2 Visual Studio Code
Visual Studio Code is a source code editor developed by Microsoft for Windows,
Linux and macOS.
Web:
https://code.visualstudio.com
Resources: Getting Started with Python in Visual Studio Code
2.4.3 Spyder
Spyder is an open source cross-platform integrated development environment
(IDE) for scienti_c programming in the Python language.
Web:
https://www.spyder-ide.org
Wikipedia:
https://en.wikipedia.org/wiki/Spyder (software)
Spyder is included in the Anaconda Distribution.
2.4.4 Visual Studio
Microsoft Visual Studio is an integrated development environment (IDE) from
Microsoft. It is used to develop computer programs, as well as websites, web
apps, web services and mobile apps. The deafult (main) programming language
in Visual studio is C, but many other programming languages are supported.
Visual studio is available for Windows and macOS.
Visual Studio (from 2017), has integrated support for Python, it is called
"Python Support in Visual Studio".
Web:
https://visualstudio.microsoft.com
Wikipedia:
https://en.wikipedia.org/wiki/MicrosoftV isualStudio
2.4.5 PyCharm
PyCharm is cross-platform, with Windows, macOS and Linux versions. The
Community Edition is free to use, while the Professional Edition (paid version)
has some extra features.
22
Web:
https://www.jetbrains.com/pycharm/
2.4.6 Wing Python IDE
The Wing Python IDE family of integrated development environments (IDEs)
from Wingware were created speci_cally for the Python programming language.
3 di_erent version of Wing exists [12]:
_ Wing 101 { a very simpli_ed free version, for teaching beginning pro-
grammers
_ Wing Personal { free version that omits some features, for students and
hobbyists
_ Wing Pro { a full-featured commercial (paid) version, for professional
programmers
2.4.7 Jupyter Notebook
The Jupyter Notebook is an open-source web application that allows you to cre-
ate and share documents that contain live code, equations, visualizations and
text.
Web:
http://jupyter.org
Wikipedia:
https://en.wikipedia.org/wiki/ProjectJupyter