Web-Books
in the Austria-Forum
Austria-Forum
Web-Books
Informatik
Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python
Page - 214 -
  • User
  • Version
    • full version
    • text only version
  • Language
    • Deutsch - German
    • English

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

Image of the Page - 214 -

Image of the Page - 214 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python

Text of the Page - 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.
back to the  book Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python"
Programming for Computations – Python A Gentle Introduction to Numerical Simulations with Python
Title
Programming for Computations – Python
Subtitle
A Gentle Introduction to Numerical Simulations with Python
Authors
Svein Linge
Hans Petter Langtangen
Publisher
Springer Open
Date
2016
Language
English
License
CC BY-NC 4.0
ISBN
978-3-319-32428-9
Size
17.8 x 25.4 cm
Pages
248
Keywords
Programmiersprache, Informatik, programming language, functional, imperative, object-oriented, reflective
Category
Informatik
Web-Books
Library
Privacy
Imprint
Austria-Forum
Austria-Forum
Web-Books
Programming for Computations – Python