Showing posts with label scripting. Show all posts
Showing posts with label scripting. Show all posts

Python Scripting for Computational Science (Texts in Computational Science and Engineering) Review

Python Scripting for Computational Science (Texts in Computational Science and Engineering)
Average Reviews:

(More customer reviews)
Are you looking to buy Python Scripting for Computational Science (Texts in Computational Science and Engineering)? Here is the right place to find the great deals. we can offer discounts of up to 90% on Python Scripting for Computational Science (Texts in Computational Science and Engineering). Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Python Scripting for Computational Science (Texts in Computational Science and Engineering) ReviewThe author has 2 main goals:
1) To improve the productivity of scientists familiar with specific software systems (especially Matlab, Maple, and Mathematica) by teaching them to "glue" applications together.
2) To advocate Python as the preferred "glue" language. In his own words, "I hope to convince computational scientists having experience with Perl that Python is a preferable alternative, especially for large long-term projects."
He has certainly done a creditable job. As an expert in computational differential equations, he neglects neither efficiency nor correctness, while stressing both simplicity and reliability. In this sense, he has done a great service to the Python community.
The question is: What justifies the purchase of his book?
The answer is: Chapters 4, 9, and 10.
Contents:
1. Introduction--26pp
Very convincing arguments.
2. Getting Started With Python Scripting--38pp
Interesting examples.
3. Basic Python--56pp
A too-quick tutorial. Go to python dot org instead.
4. Numerical Computing in Python--48pp
Stellar explanations of vectorized array operations.
5. Combining Python with Fortran, C, and C++--36pp
Details use of Fortran2Py and SWIG. Mentions many alternatives.
6. Introduction to GUI Programming--70pp
Useful examples of Tkinter/pmw widgets.
7. Web Interfaces and CGI Programming--24pp
Good source of ideas.
8. Advanced Python--132pp
Deep and extensive. Includes: option parsing, regular expressions, data persistence and compression, object-oriented programming, exceptions, generic programming, efficiency.
9. Fortran Programming with NumPy Arrays--32pp
All about efficiency and re-use.
10. C and C++ Programming with NumPy Arrays--40pp
More about efficiency. NumPy C API, C++ objects, and SCXX.
11. More Advanced GUI Programming--73pp
Tedious discussion of both Web and standalone GUIs. BLT, canvas, cgi.
12. Tools and Examples--70pp
Excellent examples of PDE solvers, with a powerful GUI, but quite long and tedious.
A. Setting up the Required Software Environment--16pp
Wonderfully specific installation instructions!
B. Elements of Software Engineering--50pp
Python's strength! Very practical advice on modularity, documentation, coding style, regression-testing, version-control.Strengths:
+ Downloadable py4cs package, esp. numpytools module
+ Great advice everywhere, e.g. CGI checklist, Pythonic programming, and trouble-shooting.
+ Concrete evidence for most assertions.
+ Very attractive presentation. Sturdy, high-quality cover, binding and pages. Brief, elegant code fragments (except in Chapter 12). Readable prose. No wasted space.
+ Available as 5MB pdf file, after purchase of hardcopy. Very nice.
+ Slides, installation instructions, and errata also at web site. Very professional.My peeves:
- Not enough tables to be a useful manual.
- On p.428(#7) he points out that handling a raised exception is very slow. However, when I time his example with a positive argument, the try-except version is 20% faster (b/c the if clause is skipped), so he is actually giving bad advice for the general case. Luckily, he contradicts himself later, on page 685: "Exceptions should be used instead of if-else tests." The best advice: Avoid common exceptions in inner loops.
- The 10-page index is not as great as it at first seems. (See Martelli's Python in a Nutshell for a better one.)
- Pure interface functions should 'raise NotImplementedError', rather than 'return'.
- Exceptions should never be trapped mindlessly with 'except:'. That would hide your own SyntaxErrors!
- Too many exercises. (It's published as a textbook.) Since there are no answers, the exercises are useless for non-students. (See Lutz's Learning Python for effective exercises with answers.)Overall rating:
This contains the best information on numerical programming in Python that I've seen. Though expensive, it could easily be your only Python book, given the excellent online documenation already available.Python Scripting for Computational Science (Texts in Computational Science and Engineering) OverviewWith a primary focus on examples and applications of relevance to computational scientists, this brilliantly useful book shows computational scientists how to develop tailored, flexible, and human-efficient working environments built from small scripts written in the easy-to-learn, high-level Python language. All the tools and examples in this book are open source codes. This third edition features lots of new material. It is also released after a comprehensive reorganization of the text. The author has inserted improved examples and tools and updated information, as well as correcting any errors that crept in to the first imprint.

Want to learn more information about Python Scripting for Computational Science (Texts in Computational Science and Engineering)?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Building Network Management Tools with Tcl/Tk Review

Building Network Management Tools with Tcl/Tk
Average Reviews:

(More customer reviews)
Are you looking to buy Building Network Management Tools with Tcl/Tk? Here is the right place to find the great deals. we can offer discounts of up to 90% on Building Network Management Tools with Tcl/Tk. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Building Network Management Tools with Tcl/Tk ReviewI definitely wish that every technical book was as well researched and written as this one is. If you're trying to build a network management application using TCL/Tk, this book is invaluable. Watch out for two things, however: The Scotty examples are using a pre-release 3.0 version of TNM, while most of us in the real world are using the non-commercial 2.1.9 version, so the examples don't work exactly as shown. Also, the website that the book directs you to doesn't have all of the code discussed in the book. Despite these few flaws, it's still worth five stars in my opinion.Building Network Management Tools with Tcl/Tk Overview8072G-1 Use Tcl/Tk to build the custom network management tools you need. Often, there's no substitute for a custom network management tool-but you can't afford to spend months building one. There's a quick, easy solution: Tcl/Tk scripts. Learn to leverage Tcl/Tk's power and efficiency-from experts who've built successful network management products for Cisco, Digital and 3Com. Discover why Tcl/Tk tools are perfect for troubleshooting, device monitoring, inventory, configuration, and many other network management applications. Then build five real-world applications to use right away, learning concepts and routines you'll reuse constantly:*Response time monitoring *Network discovery *IP path tracing/diagnostics *Web-based status monitoring *RMONv2 configurationLearn proven techniques for Web-enabling your network management applications-and for building tools that are extensible and easy to modify. Carefully annotated code and extensive screen captures show exactly what to expect. An accompanying Web site includes downloadable source code, new tips and insights, and much more.With Building Network Management Tools with Tcl/Tk, you can deploy the tools you really need-when you need them.

Want to learn more information about Building Network Management Tools with Tcl/Tk?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...