当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 22 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : 分享一本python的书Python scripting for computational science
帖子发表于 : 2006-06-19 20:15 
头像

注册: 2005-10-04 10:59
帖子: 1928
地址: 上海
送出感谢: 0 次
接收感谢: 1
也许很多人用不上它。但是对于搞computational science的我来说,这本书确实很启发人。借图书馆的看了半年,终于忍不住去amazon上面买了一本,花了我530块!


_________________
弄个dropbox空间来备份文件或者做私人代码服务器
配置:git://github.com/roylez/dotfiles.git
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-06-19 20:19 
头像

注册: 2005-10-04 10:59
帖子: 1928
地址: 上海
送出感谢: 0 次
接收感谢: 1
文件太大了,这里上传不了。Oops...放在下面的地址了。
http://web.hku.hk/~lzuo/python_scripting_for_computational_science_v2.pdf


_________________
弄个dropbox空间来备份文件或者做私人代码服务器
配置:git://github.com/roylez/dotfiles.git
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info


页首
 用户资料  
 
3 楼 
 文章标题 : 谢谢分享
帖子发表于 : 2006-06-22 1:20 

注册: 2006-06-14 13:05
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
谢谢了,有机会请教你。我是数学专业,不过水平很菜。现在正自己看数值分析,又打算学习vpython。所以你这本书真是很及时阿。


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-06-22 15:14 

注册: 2005-06-26 12:40
帖子: 65
送出感谢: 0 次
接收感谢: 0 次
这本书好在哪里啊,能否评论一下
看一本英文书,不容易,要好好选择一下


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2006-06-22 15:36 
头像

注册: 2005-10-04 10:59
帖子: 1928
地址: 上海
送出感谢: 0 次
接收感谢: 1
我把amazon上面的书评贴在下面了。第一个人的意思大体是这本书主要讲了的是怎么把python作为一种glue language来使用,并没有讲很多算法,对于他没什么大用;第二个人说这本书对他很有用。你可以看看他们怎么说的,然后自己做决定;我觉得他们都说得很中肯。我喜欢这本书也主要因为它对于怎么利用python把matlab, gnuplot, tex等等工具结合到一块做了个很好的演示。


第一个人说的

Python for Science Academics and Engineers, NOT programmers, June 3, 2005
Reviewer: Braddock Gaskill (Baltimore, MD) - See all my reviews
(REAL NAME)
I bought this book as an experienced programmer and Unix user expecting more of a "Numerical Recepies in Python" emphasis on the efficient implementation of algorithms which happen to be in Python. I should have paid more attention to the description.

This book is really more of a "Grad Student's Guide to Everyday Python Usage". I imagine it would be very valuable to a mathematics Grad student without too much programming or shell experience, looking for an alternative to Matlab. However, there is very little "Computational Science" in this book. Do NOT expect a cookbook of high performance algorithm implementations.

The book is a very verbose 700+ pages, all in an unexciting academic LaTeX format. The author works through idiom after idiom for accomplishing different tasks in fairly stand-alone sub-sections without much of a feeling of conceptual "flow" between them. It sort of feels like reading through the author's personal lab notes that he took everytime he learned a new language feature or trick.

If you are an experienced programmer, you will quickly get impatient with the verbose presentation that emphasizes idioms and examples instead of fundamental concepts and syntax reference tables. But, if you are an experienced programmer, you are not the target audience for this book.

Braddock Gaskill

Was this review helpful to you? YesNo (Report this)

第二个人说的

Convincing demonstration of Python's value in science, October 14, 2004
Reviewer: C. Dunn "independent thinker" (Austin, TX USA) - See all my reviews
(REAL NAME)
The 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.


_________________
弄个dropbox空间来备份文件或者做私人代码服务器
配置:git://github.com/roylez/dotfiles.git
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2006-06-22 20:30 

注册: 2005-06-26 12:40
帖子: 65
送出感谢: 0 次
接收感谢: 0 次
应该是对学术研究比较有用,多谢热心哦


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2006-06-22 23:02 

注册: 2006-01-02 13:11
帖子: 22
送出感谢: 0 次
接收感谢: 0 次
值得一看的好东西。要好好研究一下。谢谢楼主了。


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2006-07-22 22:39 
头像

注册: 2005-10-16 8:26
帖子: 1937
地址: 地球
送出感谢: 0 次
接收感谢: 1
3x!~~~


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2006-07-26 16:59 

注册: 2006-05-27 20:29
帖子: 10
送出感谢: 0 次
接收感谢: 0 次
good,赞一个
and author's homepage http://www.ifi.uio.no/in228/lecsplit/


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2007-01-13 9:45 
头像

注册: 2005-11-06 1:51
帖子: 1795
地址: 七彩云世界
送出感谢: 0 次
接收感谢: 0 次
nkzealot 写道:
文件太大了,这里上传不了。Oops...放在下面的地址了。
http://web.hku.hk/~lzuo/python_scripting_for_computational_science_v2.pdf


感谢 楼主。!


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2007-01-13 14:17 
头像

注册: 2006-10-18 12:57
帖子: 417
送出感谢: 0 次
接收感谢: 1
呵呵,虽然还没有学这个,不过看楼主用530来买,我想一定在某一方面很强,
谢谢楼主分享,收藏了,速度很快,哈哈


页首
 用户资料  
 
12 楼 
 文章标题 : 谢谢楼主分享
帖子发表于 : 2007-01-24 11:33 

注册: 2006-12-30 17:12
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
一直都在关注python,下了好好学习先~~ :D


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2007-04-01 11:48 

注册: 2007-03-17 1:18
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
好人啊,多谢楼主分享


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2007-04-22 14:49 

注册: 2007-04-08 17:24
帖子: 21
送出感谢: 0 次
接收感谢: 0 次
赞一下楼主


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2007-04-24 23:00 
头像

注册: 2006-06-18 21:49
帖子: 517
送出感谢: 0 次
接收感谢: 0 次
好东西,赞楼主一个!


_________________
Time waits for no man!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 22 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译