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

Seite - 214 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python

Bild der Seite - 214 -

Bild der Seite - 214 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python

Text der Seite - 214 -

214 A GettingAccesstoPython Fig.A.1 TheSpyder IntegratedDevelopmentEnvironment A.4 TheSageMathCloudandWakariWebServices YoucanavoidinstallingPythononyourmachinecompletelybyusingawebservice that allowsyou towrite and runPythonprograms. Computational scienceprojects will normally requiresomekindofvisualizationandassociatedgraphicspackages, which is not possible unless the service offers IPython notebooks. There are two excellentweb serviceswith notebooks: SageMathCloud at https://cloud.sagemath. com/andWakariathttps://www.wakari.io/wakari.Atbothsitesyoumustcreatean accountbeforeyoucanwritenotebooks in thewebbrowser anddownload themto yourowncomputer. A.4.1 Basic IntrotoSageMathCloud Sign in, click on New Project, give a title to your project and decide whether it should be private or public, click on the project when it appears in the browser, andclickonCreate or Import a File, Worksheet, Terminal or Directory... . If your Pythonprogramneeds graphics, youneed to choose IPython Notebook, otherwise you can choose File. Write the name of the file above the row of buttons. As- sumingwedonot needanygraphics,wecreate aplainPythonfile, saywith name py1.py. By clickingFile you are brought to a browserwindowwith a text editor where you canwrite Python code. Write some code and click Save. To run the program,clickon theplus icon (New), chooseTerminal, andyouhaveaplainUnix terminalwindowwhere you canwrite python py1.py to run the program. Tabs over the terminal (or editor)windowmake it easy to jumpbetween the editor and the terminal. Todownloadthefile, clickonFiles, pointon therelevant linewith the file, and a download icon appears to the very right. The IPython notebookoption worksmuch in the sameway, seeSect.A.5.
zurück zum  Buch Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python"
Programming for Computations – Python A Gentle Introduction to Numerical Simulations with Python
Titel
Programming for Computations – Python
Untertitel
A Gentle Introduction to Numerical Simulations with Python
Autoren
Svein Linge
Hans Petter Langtangen
Verlag
Springer Open
Datum
2016
Sprache
englisch
Lizenz
CC BY-NC 4.0
ISBN
978-3-319-32428-9
Abmessungen
17.8 x 25.4 cm
Seiten
248
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