Title of article
Python: a language for computational physics Original Research Article
Author/Authors
P.H. Borcherds، نويسنده ,
Issue Information
دوهفته نامه با شماره پیاپی سال 2007
Pages
3
From page
199
To page
201
Abstract
Python is a relatively new computing language, created by Guido van Rossum [A.S. Tanenbaum, R. van Renesse, H. van Staveren, G.J. Sharp, S.J. Mullender, A.J. Jansen, G. van Rossum, Experiences with the Amoeba distributed operating system, Communications of the ACM 33 (1990) 46–63; also on-line at . ], which is particularly suitable for teaching a course in computational physics. There are two questions to be considered: (i) For whom is the course intended? (ii) What are the criteria for a suitable language, and why choose Python? The criteria include the nature of the application. High performance computing requires a compiled language, e.g., FORTRAN. For some applications a computer algebra, e.g., Maple, is appropriate. For teaching, and for program development, an interpreted language has considerable advantages: Python appears particularly suitable. Pythonʹs attractions include (i) its system of modules which makes it easy to extend, (ii) its excellent graphics (VPython module), (iii) its excellent on line documentation, (iv) it is free and can be downloaded from the web. Python and VPython will be described briefly, and some programs demonstrated.
Keywords
Graphics , Computation , Python , Education , Computational physics
Journal title
Computer Physics Communications
Serial Year
2007
Journal title
Computer Physics Communications
Record number
1137282
Link To Document