This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:python:jyp_steps [2016/01/19 16:51] jypeter |
other:python:jyp_steps [2016/01/19 17:03] jypeter |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Following JYP's steps ====== | + | ====== Following JYP's recommended steps ====== |
As can be expected, there is **a lot** of online python documentation available, and it's easy to get lost. You can always use google to find an answer to your problem, and you will probably end up looking at lots of answers on [[http://stackoverflow.com/questions/tagged/python|Stack Overflow]] or a similar site. But it's always better to know where you can find some good documentation... and to spend some time to read the documentation | As can be expected, there is **a lot** of online python documentation available, and it's easy to get lost. You can always use google to find an answer to your problem, and you will probably end up looking at lots of answers on [[http://stackoverflow.com/questions/tagged/python|Stack Overflow]] or a similar site. But it's always better to know where you can find some good documentation... and to spend some time to read the documentation | ||
This page tries to list some //python for the scientist// related resources, in a suggested reading order. You should not print everything, but it's a good idea to download all the //pdf// files in the same place, so that you can easily open and search the document | This page tries to list some //python for the scientist// related resources, in a suggested reading order. You should not print everything, but it's a good idea to download all the //pdf// files in the same place, so that you can easily open and search the document | ||
+ | |||
+ | ===== The official python documentation ===== | ||
+ | |||
+ | You do not need to read all the python documentation at this step, but it is really well made and you should at least have a look at it. The **Tutorial** is really well made, and you should have a look at the table of content of the **Python Standard Library**. There is a lot in the default library that can make your life easier | ||
+ | |||
+ | ==== Python 2.7 ==== | ||
+ | |||
+ | [[https://docs.python.org/2.7/|html]] - [[https://docs.python.org/2.7/download.html|pdf]] | ||
+ | |||
+ | ==== Python 3 ==== | ||
+ | |||
+ | [[https://docs.python.org/3/|html]] - [[https://docs.python.org/3/download.html|pdf]] | ||
===== Scipy Lecture Notes ===== | ===== Scipy Lecture Notes ===== | ||
Line 32: | Line 44: | ||
If your script is still not fast enough, there is a lot you can do to improve it, without resorting to parallelization (that may introduce extra bugs rather that extra performance). See the sections below | If your script is still not fast enough, there is a lot you can do to improve it, without resorting to parallelization (that may introduce extra bugs rather that extra performance). See the sections below | ||
+ | |||
+ | Hint: before optimizing your script, you should spent some time //profiling// it, in order to only spend time improving the slow parts of your script | ||
==== Tutorials by Ian Osvald ==== | ==== Tutorials by Ian Osvald ==== |