# HG changeset patch # User Atul Varma # Date 1212728863 25200 # Node ID b4d176c2bf39eae1691d58f204e9e2e113552354 # Parent a53f8b3f8666bc3b92ee0f00c185614adabcc87d Added notes on how to make your own modules. diff -r a53f8b3f8666 -r b4d176c2bf39 PythonForJsProgrammers.txt --- 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.