Web-Books
im Austria-Forum
Austria-Forum
Web-Books
Informatik
Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python 3.6, Band Second Edition
Seite - 314 -
  • Benutzer
  • Version
    • Vollversion
    • Textversion
  • Sprache
    • Deutsch
    • English - Englisch

Seite - 314 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python 3.6, Band Second Edition

Bild der Seite - 314 -

Bild der Seite - 314 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python 3.6, Band Second Edition

Text der Seite - 314 -

314 A InstallationandUseofPython A.4 HowtoWriteandRunaPythonProgram Youhavebasically threechoices todevelopand test a Pythonprogram: 1. useanIDElikeSpyder,whichoffersawindowwitha texteditorandfunctional- ity to runprogramsandobserve theoutput 2. usea texteditoranda terminalwindow 3. use theJupyternotebook A.4.1 Spyder Spyder is a graphical application for developing and running Python programs, available on all major platforms. Spyder comes with Anaconda and some other pre-built environments for scientific computing with Python. On Ubuntu it is conveniently installedbysudo apt-get install spyder. The left pane in Spyder contains a plain text editor and this is where you will write your programs. As a quick test, write and run the following lit- tle program (compare also with Fig. A.1). Click in the editor pane and write print(’Hello!’). Save this to a file (File andSave as from the menu) called, e.g., Spyder_test.py. Then, choose Run from the Run pull-down menu, and observe the outputHello! in the lower right pane, which is where programoutput appears.Theupper rightpane(file explorer)allowsyou to viewandmanagefiles. With different settings (can be changed via the menu), the appear- ance and functioning of the Spyder environment may be changed in many ways. Much more details about the Spyder environment can be found at https://www.spyder-ide.org/. Fig.A.1 The Spyder Integrated Development Environment with a simple program that prints Hello!
zurück zum  Buch Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python 3.6, Band Second Edition"
Programming for Computations – Python A Gentle Introduction to Numerical Simulations with Python 3.6, Band Second Edition
Titel
Programming for Computations – Python
Untertitel
A Gentle Introduction to Numerical Simulations with Python 3.6
Band
Second Edition
Autoren
Svein Linge
Hans Petter Langtangen
Verlag
Springer Open
Datum
2020
Sprache
englisch
Lizenz
CC BY 4.0
ISBN
978-3-319-32428-9
Abmessungen
17.8 x 25.4 cm
Seiten
356
Schlagwörter
Programmiersprache, Informatik, programming language, functional, imperative, object-oriented, reflective
Kategorie
Informatik
Web-Books
Bibliothek
Datenschutz
Impressum
Austria-Forum
Austria-Forum
Web-Books
Programming for Computations – Python