Python Scripting for Computational Science

Front Cover
Springer Science & Business Media, 2013 M03 14 - 732 pages
The primary purpose of this book is to help scientists and engineers work ing intensively with computers to become more productive, have more fun, and increase the reliability of their investigations. Scripting in the Python programming language can be a key tool for reaching these goals [27,29]. The term scripting means different things to different people. By scripting I mean developing programs of an administering nature, mostly to organize your work, using languages where the abstraction level is higher and program ming is more convenient than in Fortran, C, C++, or Java. Perl, Python, Ruby, Scheme, and Tel are examples of languages supporting such high-level programming or scripting. To some extent Matlab and similar scientific com puting environments also fall into this category, but these environments are mainly used for computing and visualization with built-in tools, while script ing aims at gluing a range of different tools for computing, visualization, data analysis, file/directory management, user interfaces, and Internet communi cation. So, although Matlab is perhaps the scripting language of choiee in computational science today, my use of the term scripting goes beyond typi cal Matlab scripts. Python stands out as the language of choice for scripting in computational science because of its very elean syntax, rieh modulariza tion features, good support for numerical computing, and rapidly growing popularity. What Scripting is About.
 

Contents

Getting Started with Python Scripting
27
3
38
3
63
Numerical Computing in Python 121
120
Combining Python with Fortran C and C++
169
Introduction to GUI Programming
205
Web Interfaces and CGI Programming
275
Advanced Python
299
Fortran Programming with NumPy Arrays 431
430
More Advanced GUI Programming
503
The Simulation Code
566
Tools and Examples
579
A Setting up the Required Software Environment 649
648
B Elements of Software Engineering
665
Bibliography 715
714
Conducting Numerical Experiments
721

4
334

Other editions - View all

Common terms and phrases

Bibliographic information