Mercurial > python-for-js-programmers
changeset 17:b4d176c2bf39
Added notes on how to make your own modules.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Thu, 05 Jun 2008 22:07:43 -0700 |
parents | a53f8b3f8666 |
children | a63485ecad03 |
files | PythonForJsProgrammers.txt |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/PythonForJsProgrammers.txt Thu Jun 05 20:18:51 2008 -0700 +++ b/PythonForJsProgrammers.txt Thu Jun 05 22:07:43 2008 -0700 @@ -142,8 +142,12 @@ >>> sha.sha("hello").hexdigest() 'aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d' +It's not hard to create your own modules; you can learn how to do it +in the `Modules`_ section of the official Python Tutorial. + .. _`Python Library Reference`: http://docs.python.org/lib/lib.html .. _`sha`: http://docs.python.org/lib/module-sha.html +.. _`Modules`: http://docs.python.org/tut/node8.html Expressions =========== @@ -545,8 +549,5 @@ TODO: Mention TinyPy. -TODO: Link to instructions on how to make your own modules, packages, -etc. - TODO: Mention generators, generator comprehensions/expressions, array comprehensions, other stuff lifted from Python by JS.